/* PriceFerry waitlist page. Plain CSS, no external fonts. */
:root {
  --ink: #0f2a33;
  --ink-soft: #3d5a63;
  --sea: #0e6e74;
  --sea-deep: #0a4f57;
  --sea-light: #d9efee;
  --foam: #f2faf9;
  --sand: #fbf7ef;
  --sun: #f4cf5d;
  --line: #d6e4e3;
  --white: #ffffff;
  --radius: 18px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sea-deep); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 6.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.hl { color: var(--sea); }

/* Top bar */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.top .link { font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { padding: 28px 0 0; text-align: center; background:
  radial-gradient(60% 50% at 85% 10%, rgba(244, 207, 93, .28), transparent 70%),
  radial-gradient(50% 45% at 10% 30%, rgba(14, 110, 116, .12), transparent 70%); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--sea-deep); background: var(--sea-light); border-radius: 999px; padding: 6px 12px; margin-bottom: 22px; }
.hero h1 { max-width: 880px; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 720px; margin: 0 auto 26px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; border-radius: 999px; background: var(--sea); color: var(--white); font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 8px 22px rgba(14, 110, 116, .28); transition: background .15s, transform .15s; }
.btn:hover { background: var(--sea-deep); transform: translateY(-1px); }
.note { font-size: .92rem; color: var(--ink-soft); margin: 0; }

.waves { margin-top: 44px; line-height: 0; }
.waves svg { width: 100%; height: 70px; }

/* Sections */
section { padding: 64px 0; }
.sea { background: var(--foam); }
.center { text-align: center; }

/* Pain list */
.pains { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.pains li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 50px; position: relative; text-align: left; }
.pains li::before { content: ""; position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sea); background: radial-gradient(circle, var(--sea) 0 3px, transparent 4px); }

/* Features */
.features { display: grid; gap: 16px; margin-top: 28px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sea-light); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 26px; height: 26px; stroke: var(--sea-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin: 0; color: var(--ink-soft); }
.next { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius); border: 1px dashed var(--sea); background: var(--foam); }

/* Estimator */
.estimator p { color: var(--ink-soft); }

/* Founder offer */
.offer { background: var(--sea-deep); color: var(--white); position: relative; }
.offer .wave-in { position: absolute; top: -1px; left: 0; width: 100%; height: 48px; }
.offer h2 { color: var(--white); }
.offer .hl { color: var(--sun); }
.perks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.perks li { padding: 14px 16px 14px 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); position: relative; }
.perks li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4f57' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer .small { color: #cfe7e6; margin: 0; }

/* Form */
.join { scroll-margin-top: 16px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; box-shadow: 0 16px 40px rgba(15, 42, 51, .08); margin-top: 22px; }
#tally-box { min-height: 560px; }
#tally-box iframe { width: 100%; border: 0; min-height: 560px; }
.form-placeholder { min-height: 420px; display: grid; place-items: center; text-align: center; border: 2px dashed var(--line); border-radius: 14px; color: var(--ink-soft); font-size: .95rem; padding: 20px; }
.form-placeholder code { background: var(--foam); padding: 2px 6px; border-radius: 6px; }
.form-fine { font-size: .9rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--sea); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* Footer */
footer { padding: 40px 0 110px; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
footer p { margin: 0 0 8px; }
footer .brand { font-size: 1rem; margin-bottom: 12px; }
footer .brand svg { width: 26px; height: 26px; }

/* Sticky mobile CTA */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; justify-content: center; transition: opacity .2s, transform .2s; }
.sticky .btn { width: 100%; max-width: 420px; }
.sticky.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero { padding-top: 52px; }
  section { padding: 88px 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features .feature:last-child { grid-column: 1 / -1; }
  .form-card { padding: 30px; }
  .sticky { display: none; }
  footer { padding-bottom: 48px; }
}
@media (min-width: 980px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .features .feature:nth-child(4) { grid-column: auto; }
  .features .feature:last-child { grid-column: span 2; }
}

/* Privacy page */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.draft { background: #fff4cc; border: 1px solid #e8c95a; border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
