@import url("/shared/site-fonts.css");

:root {
  color-scheme: light;
  --bg: #f7fbfd;
  --surface: #ffffff;
  --surface-soft: #eef7fb;
  --surface-blue: #dff2fb;
  --text: #071116;
  --muted: #354955;
  --muted-2: #6a7c85;
  --line: rgba(7, 17, 22, 0.12);
  --accent: #229ed9;
  --accent-2: #27a7e7;
  --mint: #23c985;
  --amber: #d99a16;
  --dark: #05090d;
  --dark-2: #101820;
  --shadow: 0 24px 70px rgba(18, 48, 64, 0.15);
  --shadow-soft: 0 12px 32px rgba(18, 48, 64, 0.1);
  --shadow-blue: 0 18px 46px rgba(34, 158, 217, 0.22);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(34, 158, 217, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 22, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 48%, #eef7fb 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.page {
  overflow: hidden;
}

body.partners-page .mobile-cta-dock {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  padding: 154px 0 86px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0 55%, rgba(34, 158, 217, 0.08) 55% 66%, rgba(255, 255, 255, 0) 66% 100%),
    linear-gradient(180deg, rgba(247, 251, 253, 0.98), rgba(255, 255, 255, 0.9));
}

.hero-grid,
.calculator-layout,
.process-layout,
.recommend-layout,
.faq-layout,
.final-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.hero-copy,
.hero-panel,
.section-copy,
.calculator,
.fit-card,
.process-steps,
.message-card,
.rules-grid article,
.faq-list,
.cta-signal {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  font-weight: 880;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: 21px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.partner-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.partner-button:hover,
.partner-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.partner-button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.partner-button-secondary {
  border-color: rgba(34, 158, 217, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.partner-button-secondary.light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(34, 158, 217, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #061018 0%, #0c1b25 58%, #0c2936 100%);
  background-size: 44px 44px, 44px 44px, auto;
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(7, 17, 22, 0.24);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ledger-head span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 760;
}

.ledger-head strong {
  display: inline-grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--mint), var(--accent-2));
  color: #021017;
  font-size: 24px;
  font-weight: 920;
}

.ledger-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.ledger-row span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.ledger-row strong {
  font-size: 18px;
}

.flow-preview {
  display: grid;
  gap: 10px;
}

.flow-preview span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 34px;
  border-radius: var(--radius);
  background: rgba(34, 158, 217, 0.13);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 720;
}

.flow-preview span::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--mint);
}

.terms-strip {
  padding: 30px 0;
  background: var(--surface-blue);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.terms-grid article {
  min-height: 130px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
}

.terms-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
}

.terms-grid span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.calculator-section,
.fit-section,
.recommend-section,
.faq-section {
  padding: 104px 0;
}

.section-copy p {
  max-width: 640px;
}

.section-copy.center {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-copy.center p {
  margin-left: auto;
  margin-right: auto;
}

.calculator {
  display: grid;
  gap: 14px;
}

.plan-controls {
  display: grid;
  gap: 12px;
}

.plan-control {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.plan-control strong,
.plan-control small,
.plan-control em {
  display: block;
}

.plan-control strong {
  margin-bottom: 5px;
  font-size: 21px;
}

.plan-control small,
.plan-control em {
  color: var(--muted-2);
  font-size: 14px;
  font-style: normal;
}

.plan-control em {
  grid-column: 1 / -1;
  color: var(--accent);
  font-weight: 780;
}

.stepper {
  display: grid;
  grid-template-columns: 38px 58px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(34, 158, 217, 0.2);
  border-radius: var(--radius);
  background: #ffffff;
}

.stepper button,
.stepper input {
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
}

.stepper button {
  cursor: pointer;
  font-size: 20px;
  font-weight: 820;
}

.stepper button:hover,
.stepper button:focus-visible {
  background: rgba(34, 158, 217, 0.1);
  outline: none;
}

.stepper input {
  width: 58px;
  border-left: 1px solid rgba(34, 158, 217, 0.14);
  border-right: 1px solid rgba(34, 158, 217, 0.14);
  text-align: center;
  font-weight: 850;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.result-panel {
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 158, 217, 0.12), rgba(35, 201, 133, 0.09)),
    #ffffff;
  box-shadow: var(--shadow);
}

.result-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  text-transform: uppercase;
}

.result-panel > strong {
  display: block;
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1;
}

.result-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.preset-row button {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(34, 158, 217, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.preset-row button:hover,
.preset-row button:focus-visible {
  border-color: rgba(34, 158, 217, 0.4);
  outline: none;
}

.fit-section {
  background: #ffffff;
}

.fit-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fit-card,
.rules-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f4fbfe);
  box-shadow: var(--shadow-soft);
}

.fit-card p,
.rules-grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.process-section {
  padding: 108px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 64%, #0b2935 100%);
  background-size: 64px 64px, 64px 64px, auto;
  color: #ffffff;
}

.dark-copy h2,
.dark-copy p {
  color: #ffffff;
}

.dark-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.process-steps {
  display: grid;
  gap: 12px;
}

.process-steps article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.process-steps span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 880;
}

.process-steps h3,
.process-steps p {
  color: #ffffff;
}

.process-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.recommend-layout {
  align-items: stretch;
}

.message-card {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(34, 158, 217, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(34, 158, 217, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 22, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.message-card figcaption {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.message-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 720;
  line-height: 1.48;
}

.rules-section {
  padding: 104px 0;
  background: linear-gradient(180deg, #eef7fb 0%, #ffffff 100%);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
  font-size: 18px;
  font-weight: 820;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 16px;
}

.final-cta {
  padding: 108px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #061018, #092231);
  background-size: 58px 58px, 58px 58px, auto;
  color: #ffffff;
}

.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.final-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-signal {
  justify-self: end;
  width: min(100%, 360px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.cta-signal span,
.cta-signal em {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.cta-signal strong {
  display: block;
  margin: 14px 0;
  font-size: 54px;
  line-height: 1;
}

.cta-signal em {
  color: var(--mint);
  font-size: 24px;
  font-weight: 880;
}

@media (max-width: 980px) {
  .hero-grid,
  .calculator-layout,
  .process-layout,
  .recommend-layout,
  .faq-layout,
  .final-cta-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 136px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .terms-grid,
  .fit-grid,
  .rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-signal {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-section {
    padding: 124px 0 66px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 19px;
  }

  p,
  .hero-lead {
    font-size: 16px;
  }

  .hero-panel,
  .result-panel,
  .message-card,
  .cta-signal {
    padding: 20px;
  }

  .hero-actions,
  .partner-button {
    width: 100%;
  }

  .terms-grid,
  .fit-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .calculator-section,
  .fit-section,
  .recommend-section,
  .faq-section,
  .rules-section,
  .process-section,
  .final-cta {
    padding: 72px 0;
  }

  .plan-control {
    grid-template-columns: 1fr;
  }

  .stepper {
    width: 134px;
  }

  .result-panel > strong {
    font-size: 34px;
  }

  .message-card blockquote {
    font-size: 18px;
  }

  .cta-signal strong {
    font-size: 42px;
  }
}
