/* Sayfarer marketing site — concise.design/sayfarer */
:root {
  --bg: #070B17; --bg-2: #0B1020; --panel: rgba(255,255,255,.045); --panel-2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --text: #E7EBF5; --muted: #A9B3C9; --faint: #7C879F;
  --teal: #2DD4BF; --teal-2: #99F6E4; --teal-dark: #0F766E; --amber: #F59E0B; --red: #EF4444;
  --radius: 22px; --radius-s: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } .hero-phone, .float { animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(900px 600px at 10% -10%, rgba(45,212,191,.16), transparent 60%),
              radial-gradient(700px 500px at 100% 10%, rgba(245,158,11,.08), transparent 55%); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #00332D; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.grad { background: linear-gradient(90deg, var(--teal), var(--teal-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.15rem; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #00332D; box-shadow: 0 10px 30px rgba(45,212,191,.25); }
.btn-primary:hover { background: #5EEAD4; box-shadow: 0 14px 36px rgba(45,212,191,.35); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-play { background: #000; color: #fff; border-color: #3a3f4d; padding: 10px 20px 10px 14px; gap: 12px; text-align: left; line-height: 1.1; }
.btn-play:hover { background: #111; }
.btn-play svg { width: 30px; height: 32px; flex-shrink: 0; }
.btn-play small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #cfd3dc; }
.btn-play span { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(7,11,23,.6); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7,11,23,.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn { color: #00332D; padding: 10px 18px; font-size: .9rem; }
.nav-toggle { display: none; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7,11,23,.97); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links .btn { width: 100%; }
}

/* hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { max-width: 560px; font-size: 1.2rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgba(45,212,191,.18); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before { content: ''; position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45,212,191,.28), rgba(45,212,191,.06) 60%, transparent 72%); filter: blur(8px); }
.hero-phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.chip-float { position: absolute; background: rgba(11,16,32,.9); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 8px; }
.chip-float .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.chip-float.a { left: -4px; top: 18%; animation: float 6s ease-in-out infinite .6s; }
.chip-float.b { right: -6px; bottom: 22%; animation: float 8s ease-in-out infinite 1.2s; }

/* phone frame */
.phone { position: relative; width: 300px; max-width: 78vw; aspect-ratio: 360 / 800; border-radius: 42px; background: #0A0E1A; padding: 10px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.04); margin: 0 auto; }
.phone::after { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #0A0E1A; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #0B1020; }
.phone.sm { width: 250px; }

/* stats */
.stats { padding: 30px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-weight: 500; font-size: .95rem; }

/* sections */
section { padding: 90px 0; }
section.tight { padding: 60px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; right: 18px; top: 10px; font-size: 4rem; font-weight: 800; color: rgba(45,212,191,.12); letter-spacing: -.05em; }
.step .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(45,212,191,.14); color: var(--teal); margin-bottom: 18px; }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.rev .feature-text { order: 2; }
.feature.rev .feature-visual { order: 1; }
.feature h2 { margin-bottom: 16px; }
.feature .lead { margin-bottom: 22px; }
.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual::before { content: ''; position: absolute; inset: 10% 5%; border-radius: 40px; background: radial-gradient(closest-side, rgba(45,212,191,.22), transparent 72%); filter: blur(12px); }
.feature-visual.amber::before { background: radial-gradient(closest-side, rgba(245,158,11,.22), transparent 72%); }
.feature-visual.red::before { background: radial-gradient(closest-side, rgba(239,68,68,.26), transparent 72%); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: rgba(45,212,191,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.checks li b { font-weight: 700; }
.checks li span { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(45,212,191,.35); background: var(--panel-2); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,191,.14); color: var(--teal); margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; }

/* carousel */
.carousel { position: relative; }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 4px 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; flex: 0 0 auto; width: 270px; text-align: center; }
.slide .phone { width: 250px; }
.slide figcaption { margin-top: 16px; font-weight: 700; }
.slide figcaption small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.car-nav { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: 4px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer; font: inherit; }
.car-btn:hover { background: var(--panel-2); }
.car-btn svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; margin: 0 10px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line-2); padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.dots button.on { width: 22px; border-radius: 4px; background: var(--teal); }

/* privacy */
.privacy-panel { background: linear-gradient(135deg, rgba(45,212,191,.12), rgba(255,255,255,.03) 50%, rgba(245,158,11,.08)); border: 1px solid var(--line-2); border-radius: 30px; padding: 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.privacy-panel h2 { margin-bottom: 16px; }
.privacy-panel .checks { margin: 22px 0 26px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(45,212,191,.35); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 36px 18px 0; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }
.faq details p + p { margin-top: -8px; }

/* cta */
.cta { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta .glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 820px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45,212,191,.22), transparent 70%); filter: blur(20px); pointer-events: none; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 16px; }
.cta .cta-row { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.footer-links a { color: var(--text); font-weight: 600; }
.legal-line { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }

/* legal / docs pages */
.legal { max-width: 800px; padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal .meta { color: var(--faint); margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal th { color: var(--text); }
.legal code { background: var(--panel-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.notice { background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.3); border-radius: var(--radius-s); padding: 14px 18px; margin: 0 0 22px; color: var(--text); }
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 56px 0 90px; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); font-weight: 600; font-size: .92rem; }
.toc a:hover { color: var(--teal); text-decoration: none; }
.docs .legal { padding: 0; }
.docs .legal h2 { scroll-margin-top: 90px; }
.kbd { display: inline-block; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 7px; font-size: .85em; font-weight: 700; color: var(--text); background: var(--panel); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s } .reveal.d2 { transition-delay: .2s } .reveal.d3 { transition-delay: .3s }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .cta-row, .ticks { justify-content: center; }
  .hero-visual { margin-top: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.rev .feature-text { order: 1; } .feature.rev .feature-visual { order: 2; }
  .feature + .feature { margin-top: 70px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid, .stats-grid { grid-template-columns: 1fr; }
  .chip-float { display: none; }
  .btn { width: 100%; }
  .btn-play { justify-content: center; }
  .slide { width: 230px; } .slide .phone { width: 210px; }
}
