:root {
  --ink: #142033;
  --muted: #667085;
  --quiet: #8a94a6;
  --line: #dde5ef;
  --panel: #ffffff;
  --soft: #f4f8ff;
  --blue: #155eef;
  --blue-dark: #123c9c;
  --mint: #19a974;
  --mint-dark: #16845f;
  --mint-soft: #e8f8f0;
  --amber: #f59e0b;
  --amber-soft: #fff4db;
  --danger: #c63838;
  --shadow: 0 28px 80px rgba(20, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(clamp(20px, 5vw, 76px), calc((100vw - 1180px) / 2));
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid rgba(210, 222, 239, 0.74);
  backdrop-filter: blur(18px);
}

.brand,
.hero-actions,
.hero-proof,
.header-actions,
nav,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

nav {
  gap: 28px;
  color: #556070;
  font-weight: 800;
  font-size: 14px;
}

nav a {
  transition: color 0.2s ease;
}

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

.header-actions {
  gap: 10px;
}

.header-action,
.login-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.login-action {
  color: var(--blue);
  background: #ffffff;
  border-color: rgba(28, 87, 181, 0.18);
}

.login-action:hover {
  border-color: rgba(28, 87, 181, 0.38);
  background: #f8fbff;
}

.header-action {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 16px 32px rgba(21, 94, 239, 0.2);
}

.primary-action {
  color: #ffffff;
  background: linear-gradient(180deg, #22ba7d 0%, var(--mint) 100%);
  border-color: #159462;
  box-shadow: 0 18px 34px rgba(25, 169, 116, 0.24);
}

.secondary-action {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(21, 94, 239, 0.18);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  min-height: clamp(580px, 68vh, 710px);
  padding: 48px max(clamp(20px, 5vw, 76px), calc((100vw - 1180px) / 2)) 12px;
  background:
    linear-gradient(180deg, #f5f8ff 0%, #e9f0ff 74%, #f6f9fe 74%, #f6f9fe 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -145px;
  width: 122vw;
  height: 250px;
  border-radius: 0 0 50% 50%;
  background: #f6f9fe;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 999px;
}

h1 {
  max-width: 760px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy p,
.signup-copy p {
  margin-top: 20px;
  color: #5f6b7c;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  justify-content: flex-start;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.product-stage {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-proof {
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-proof span {
  min-width: 150px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 229, 239, 0.9);
  border-radius: 8px;
  text-align: left;
}

.hero-proof strong,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  font-size: 17px;
}

.hero-proof small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.product-preview {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: var(--panel);
  border: 8px solid #121927;
  border-radius: 8px;
  box-shadow:
    0 30px 70px rgba(20, 32, 51, 0.2),
    0 8px 0 #d8dde5;
}

.product-rail,
.product-shot {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.product-rail {
  object-position: 50% 0;
}

.product-shot {
  object-position: 50% 0;
}

.flow article,
.seo-list article,
.signup-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow,
.seo-section,
.cookie-policy,
.faq-section,
.signup-section {
  padding: 48px max(clamp(20px, 5vw, 76px), calc((100vw - 1180px) / 2));
}

.flow {
  position: relative;
  background:
    linear-gradient(180deg, #f6f9fe 0%, #eef4fb 100%);
  border-top: 1px solid rgba(210, 222, 239, 0.76);
}

.flow::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.28);
  transform: translateX(-50%);
}

.section-title {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-title h2,
.signup-copy h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.16;
}

.section-title p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.flow article {
  min-height: 250px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.06);
}

.flow article span {
  color: var(--amber);
  font-weight: 900;
}

.flow h3 {
  margin-top: 18px;
  font-size: 23px;
  line-height: 1.2;
}

.flow p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  background: #ffffff;
}

.seo-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.16;
}

.seo-copy p {
  margin-top: 18px;
  color: #5f6b7c;
  font-size: 18px;
  line-height: 1.75;
}

.seo-list {
  display: grid;
  gap: 14px;
}

.seo-list article {
  padding: 22px;
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.06);
}

.seo-list h3 {
  font-size: 20px;
  line-height: 1.25;
}

.seo-list p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-section {
  background:
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-top: 1px solid rgba(210, 222, 239, 0.76);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 32, 51, 0.06);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
  list-style-position: inside;
}

details p {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-policy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #ffffff;
  border-top: 1px solid rgba(210, 222, 239, 0.76);
}

.cookie-policy h2 {
  max-width: 700px;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.16;
}

.cookie-policy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.cookie-policy-grid {
  display: grid;
  gap: 12px;
}

.cookie-policy-grid article {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 32, 51, 0.06);
}

.cookie-policy-grid h3 {
  font-size: 18px;
}

.text-button {
  margin-top: 14px;
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 4vw, 36px);
  bottom: clamp(16px, 4vw, 36px);
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 32px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.cookie-banner p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .primary-action,
.cookie-actions .secondary-action {
  min-height: 44px;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 0.74fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: 720px;
  background:
    radial-gradient(circle at 18% 72%, rgba(25, 169, 116, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%);
}

.signup-copy {
  max-width: 790px;
}

.signup-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.signup-benefits span,
.signup-proof {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 229, 239, 0.95);
  border-radius: 8px;
}

.signup-benefits span {
  min-height: 126px;
  padding: 18px;
}

.signup-benefits strong,
.signup-benefits small {
  display: block;
}

.signup-benefits strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.28;
}

.signup-benefits small {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.signup-proof {
  margin-top: 14px;
  padding: 20px;
  box-shadow: 0 18px 46px rgba(20, 32, 51, 0.06);
}

.signup-proof strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.signup-proof p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.signup-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(20, 32, 51, 0.12);
}

.signup-card-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 4px;
  color: #a2abb9;
  font-weight: 900;
}

.signup-card-head span {
  padding-bottom: 12px;
  border-bottom: 3px solid #e5ebf3;
}

.signup-card-head span:first-child {
  color: var(--blue-dark);
  border-color: var(--mint);
}

.signup-card-title {
  margin-bottom: 6px;
}

.signup-card-title h3 {
  font-size: 25px;
  line-height: 1.2;
}

.signup-card-title p {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

label {
  display: grid;
  gap: 8px;
  color: #313949;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
  font-weight: 700;
}

input:focus {
  outline: 3px solid rgba(21, 94, 239, 0.18);
  border-color: var(--blue);
}

button.primary-action {
  min-height: 58px;
  font: inherit;
}

button.primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.password-rules {
  display: grid;
  gap: 8px;
  margin: 2px 0 4px;
  color: #647084;
  font-weight: 900;
}

.password-rules span {
  position: relative;
  min-height: 24px;
  padding-left: 34px;
  transition: color 0.18s ease;
}

.password-rules span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  background: #ffffff;
  border: 2px solid rgba(100, 112, 132, 0.28);
  transform: translateY(-50%);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.password-rules span[data-met="true"] {
  color: #16865e;
}

.password-rules span[data-met="true"]::before {
  content: "✓";
  background: var(--mint);
  border-color: var(--mint);
}

.legal-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.legal-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--blue);
}

.legal-consent a {
  color: var(--blue-dark);
  font-weight: 900;
}

.signup-note {
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.form-status[data-type="success"] {
  color: var(--mint);
}

.form-status[data-type="error"] {
  color: var(--danger);
}

footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer strong {
  color: var(--ink);
  margin-right: auto;
}

footer a {
  font-weight: 800;
}

.legal-document {
  min-height: 70vh;
  padding: 46px max(clamp(20px, 5vw, 76px), calc((100vw - 920px) / 2)) 70px;
  background:
    linear-gradient(180deg, #f7faff 0%, #ffffff 320px);
}

.legal-document article {
  padding: clamp(24px, 5vw, 54px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 32, 51, 0.1);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 900;
}

.legal-kicker {
  color: var(--muted);
  font-weight: 900;
}

.legal-document h1 {
  margin-top: 10px;
  font-size: clamp(36px, 5vw, 58px);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
}

.legal-document p,
.legal-document li {
  color: #5f6b7c;
  line-height: 1.75;
}

.legal-document p {
  margin-top: 14px;
}

.legal-document ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-document a {
  color: var(--blue-dark);
  font-weight: 900;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: 0;
    padding-top: 46px;
  }

  .signup-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seo-section {
    grid-template-columns: 1fr;
  }

  .cookie-policy {
    grid-template-columns: 1fr;
  }

  .signup-copy {
    max-width: none;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .product-preview {
    grid-template-columns: 64px 1fr;
    aspect-ratio: 1.42;
  }
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 14px;
  }

  .header-action {
    display: none;
  }

  .login-action {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(31px, 8vw, 38px);
  }

  .hero-copy p,
  .signup-copy p {
    font-size: 18px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hero-proof span {
    min-width: 0;
    width: auto;
    padding: 10px 9px;
  }

  .hero-proof strong {
    font-size: 15px;
  }

  .hero-proof small {
    font-size: 11px;
    line-height: 1.25;
  }

  .product-preview {
    grid-template-columns: 48px 1fr;
    aspect-ratio: 1.58;
  }

  .signup-benefits {
    grid-template-columns: 1fr;
  }

  .signup-card {
    padding: 20px;
  }

  .signup-card-head {
    gap: 12px;
    font-size: 14px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }
}
