:root {
  --ink: #111827;
  --muted: #536173;
  --line: #dce5ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --teal: #0f766e;
  --blue: #2563eb;
  --green: #16a34a;
  --orange: #f97316;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.company-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.company-link:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 229, 239, 0.78);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(170px, 18vw, 232px);
}

.brand img,
.site-footer img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: #334155;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links .nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
}

.nav-links .nav-login:hover {
  color: #ffffff;
  background: #243244;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, 74svh);
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 37%, rgba(255, 255, 255, 0.58) 62%, rgba(255, 255, 255, 0.18) 100%),
    url("assets/newlogin-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 820;
}

.lede {
  max-width: min(620px, 100%);
  margin: 26px 0 0;
  color: #334155;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 760;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.primary:hover {
  background: #243244;
}

.button.secondary {
  border-color: #cbd5e1;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.74);
}

.button.secondary:hover {
  border-color: #94a3b8;
}

.notice {
  padding: 18px clamp(20px, 5vw, 72px);
  background: #ecfeff;
  border-bottom: 1px solid #c8f4f8;
}

.notice p {
  max-width: 1040px;
  margin: 0 auto;
  color: #164e63;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 620;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 820;
}

h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-grid article:nth-child(2) {
  border-top-color: rgba(37, 99, 235, 0.48);
}

.feature-grid article:nth-child(3) {
  border-top-color: rgba(249, 115, 22, 0.48);
}

.feature-kicker {
  display: inline-flex;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-grid p,
.trust-copy p,
.owner-band p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: var(--soft);
}

.trust-copy {
  max-width: 560px;
}

.trust-copy p {
  margin-top: 22px;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.trust-list div {
  padding: 24px 0;
  border-top: 1px solid #cfdbe7;
}

.trust-list div:last-child {
  border-bottom: 1px solid #cfdbe7;
}

.trust-list dt {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 780;
}

.trust-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.owner-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(42px, 7vw, 78px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #111827;
}

.owner-band .eyebrow {
  color: #5eead4;
}

.owner-band p {
  color: #cbd5e1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid #273449;
  color: #cbd5e1;
  background: #111827;
}

.site-footer img {
  width: 170px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
}

.footer-legal-links a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 72px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.68) 100%),
      url("assets/newlogin-hero.png") center right / cover no-repeat;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(42px, 12vw, 64px);
  }

  .feature-grid,
  .trust-section,
  .owner-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    width: 188px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
  }

  .nav-links a {
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-grid article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    justify-items: start;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}
