:root {
  --blue: #0056d2;
  --blue-dark: #0047b0;
  --green: #047857;
  --green-dark: #065f46;
  --ink: #111827;
  --night: #0d1424;
  --muted: #4b5563;
  --bg: #f9fafb;
  --line: #e5e7eb;
  --serif: 'Newsreader', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: var(--blue);
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-go {
  background: var(--green);
  color: #fff;
}

.btn-go:hover {
  background: var(--green-dark);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.btn-wide {
  width: 100%;
}

.arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #7fb0ff;
  outline-offset: 3px;
}

.hero {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 681px;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.1) 0%, rgba(13, 20, 36, 0) 30%, rgba(13, 20, 36, 0.6) 62%, var(--night) 100%);
}

.topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(13, 20, 36, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-slot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px dashed #9ca3af;
  border-radius: 50%;
  color: #6b7280;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-slot::before {
  content: 'LOGO';
  content: 'LOGO' / '';
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav {
  display: none;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

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

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-switch button {
  min-width: 44px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

.lang-switch button:focus-visible {
  outline: 3px solid rgba(0, 86, 210, 0.35);
  outline-offset: 1px;
}

.hero-inner {
  display: grid;
  gap: 32px;
  padding: 400px 16px 48px;
}

.hero h1 {
  font-size: clamp(2.375rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 em {
  font-size: 1.04em;
}

.hero-sub p {
  max-width: 36em;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.seal {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 96px;
  height: 96px;
  color: #fff;
}

.seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (prefers-reduced-motion: no-preference) {
  .seal-ring {
    animation: spin 18s linear infinite;
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.seal-core {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: #fff;
  color: var(--blue);
}

.seal-core svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-cue {
  display: none;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px 20px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  scroll-margin-top: 16px;
}

.lead-form h2 {
  margin-bottom: 4px;
  text-wrap: balance;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead-form h2 em {
  color: var(--blue);
}

.field {
  display: grid;
  gap: 6px;
}

.field-row {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
}

input:not([type='checkbox']) {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

input:not([type='checkbox']):focus {
  border-color: var(--blue);
  background: #fff;
}

input[aria-invalid='true'] {
  border-color: #dc2626;
}

.lead-form input:focus-visible {
  outline: 3px solid rgba(0, 86, 210, 0.25);
  outline-offset: 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--blue);
}

.field-error {
  color: #b91c1c;
  font-size: 0.8125rem;
}

.field-error:empty,
.form-status:empty {
  display: none;
}

.form-status {
  font-weight: 600;
  color: var(--green);
}

.section {
  padding: 80px 0;
}

.section-white {
  background: #fff;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head h2 em {
  color: var(--blue);
}

.section-head p {
  color: var(--muted);
  max-width: 28em;
}

.grid-3 {
  display: grid;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.card h3,
.plan h3 {
  margin: 24px 0 8px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p,
.plan p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.plan .plan-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f0fd;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
}

.plan h3 {
  margin-top: 20px;
}

.plan p:not(.plan-tag) {
  margin-bottom: 32px;
}

.plan .btn {
  margin-top: auto;
}

.plan-featured {
  background: #ecfdf5;
  border: 2px solid var(--green);
  box-shadow: 0 20px 40px -24px rgba(4, 120, 87, 0.55);
}

.plan-featured .plan-tag {
  background: var(--green);
  color: #fff;
}

.stars {
  color: #b45309;
  letter-spacing: 0.15em;
}

.quote blockquote {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.35;
}

.who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-weight: 600;
}

.card .who {
  color: var(--ink);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px dashed #9ca3af;
}

.footer {
  padding: 48px 0;
  background: var(--night);
  color: #c3cad6;
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.brand-muted {
  color: #fff;
  font-size: 1.125rem;
}

.brand-muted .logo-slot {
  border-color: #6b7280;
  color: #9ca3af;
}

.footer a {
  color: #e5e7eb;
}

.footer-list {
  display: grid;
  gap: 6px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.socials a::before {
  content: attr(data-short);
  content: attr(data-short) / '';
}

@media (min-width: 640px) {
  .brand-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
    font-size: 0.9375rem;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding: 0 48px;
  }

  .topbar {
    top: 24px;
    left: 48px;
    right: 48px;
    min-height: 76px;
    padding: 0 10px 0 14px;
  }

  .brand {
    font-size: 1.75rem;
  }

  .nav {
    gap: 48px;
    padding-right: 16px;
    font-size: 1rem;
  }

  .hero {
    min-height: min(100vh, 920px);
    display: flex;
    align-items: flex-end;
  }

  .hero-photo {
    height: 100%;
  }

  .hero::before {
    height: 100%;
    background:
      linear-gradient(180deg, rgba(13, 20, 36, 0.05) 0%, rgba(13, 20, 36, 0) 35%, rgba(13, 20, 36, 0.55) 70%, rgba(13, 20, 36, 0.92) 100%),
      linear-gradient(90deg, rgba(13, 20, 36, 0.35) 0%, rgba(13, 20, 36, 0) 55%);
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: 1fr 420px;
    align-items: end;
    gap: 64px;
    padding: 160px 48px 56px;
  }

  .hero-sub {
    padding-left: 112px;
  }

  .hero-actions {
    margin-top: 32px;
  }

  .seal {
    width: 128px;
    height: 128px;
  }

  .seal-core {
    width: 68px;
    height: 68px;
  }

  .scroll-cue {
    position: absolute;
    left: 20px;
    bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .scroll-cue span {
    writing-mode: vertical-rl;
  }

  .scroll-cue svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .section {
    padding: 120px 0;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
  }

  .section-head p {
    text-align: right;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr auto;
    align-items: start;
  }
}
