/* SurfSeller site — layout: navy header and footer framing white and pale-grey bands; one blue accent for actions only */
:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --navy-line: #334155;
  --ink: #0F172A;
  --body: #334155;
  --muted: #475569;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --soft: #F4F6FA;
  --panel: #F8FAFC;
  --bar: #F1F5F9;
  --white: #FFFFFF;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-tint: #EFF4FF;
  --on-navy: #FFFFFF;
  --on-navy-2: #CBD5E1;
  --on-navy-3: #94A3B8;
  --ph-bg: #FEF3C7;
  --ph-fg: #78350F;
  --ok: #166534;
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--accent-dark); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 12px 16px; z-index: 50; }
.skip:focus { left: 16px; top: 16px; }

/* Layout */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 88px; }
.band.tight { padding-block: 56px; }
.band.flush-top { padding-top: 0; }
.band.soft { background: var(--soft); }
.band.navy { background: var(--navy); color: var(--on-navy); }
.band.navy h2, .band.navy h3, .band.navy h4 { color: var(--on-navy); }
.stack { display: grid; gap: 88px; }
.stack > .section-head { margin-bottom: -32px; }
.section-head { max-width: 760px; display: grid; gap: 14px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.navy .eyebrow { color: var(--on-navy-3); }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 64ch; }
.navy .lead { color: var(--on-navy-2); }
.muted { color: var(--muted); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split.rev { flex-direction: row-reverse; }
.split.top { align-items: flex-start; }
.copy { display: grid; gap: 16px; align-content: start; }
.copy p { color: var(--body); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; font-family: var(--text); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { border-color: #475569; color: var(--on-navy); }
.btn-outline-light:hover { border-color: var(--on-navy); color: var(--on-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 700; color: var(--accent); text-decoration: none; }
.textlink:hover { text-decoration: underline; color: var(--accent-dark); }
mark.ph { background: var(--ph-bg); color: var(--ph-fg); padding: 0 4px; border-radius: 4px; }

/* Header */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--on-navy); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--on-navy); }
.main-nav { display: flex; gap: 22px; font-size: 15px; }
.main-nav a { color: var(--on-navy-2); text-decoration: none; padding-block: 6px; white-space: nowrap; }
.main-nav a:hover { color: var(--on-navy); }
.main-nav a[aria-current="page"] { color: var(--on-navy); box-shadow: inset 0 -2px 0 var(--accent); }
.header-cta .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.mnav { display: none; }
.mnav summary { list-style: none; cursor: pointer; color: var(--on-navy); font-weight: 700; border: 1px solid #475569; border-radius: 8px; padding: 10px 16px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--navy-line); padding: 8px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px)); display: grid; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3); }
.mnav-panel a { color: var(--on-navy-2); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--navy-line); font-weight: 700; }
.mnav-panel a[aria-current="page"] { color: var(--on-navy); }
.mnav-panel .btn { margin-top: 20px; color: var(--white); border-bottom: 0; }
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .mnav { display: block; }
}

/* Page heroes */
.hero { padding-block: 80px 72px; }
.page-hero { background: var(--soft); padding-block: 56px 72px; }
.hero-copy { display: grid; gap: 20px; align-content: start; }
.hero-copy .btn-row { margin-top: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.proof { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--body); }
.proof li { display: flex; align-items: center; gap: 8px; }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.checks.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 32px; }
.tick { flex: none; margin-top: 4px; color: var(--accent); }
.navy .checks li { color: var(--on-navy-2); }
.navy .tick { color: var(--on-navy); }

/* Screens */
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14); }
.browser-bar { display: flex; gap: 7px; padding: 12px 14px; background: var(--bar); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.shot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; min-height: 320px; background: var(--panel); color: var(--muted); font-size: 15px; line-height: 1.5; border: 1px solid var(--line); border-radius: 14px; }
.browser .shot { border: 0; border-radius: 0; min-height: 380px; }

/* Cards, chips, tiles */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cards.wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); font-size: 16px; }
.card .textlink { margin-top: 6px; }
a.card { text-decoration: none; color: inherit; transition: border-color 0.15s; }
a.card:hover { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.more { border-color: transparent; background: transparent; color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tile { padding: 24px; border: 1px solid var(--navy-line); border-radius: var(--radius); }
.tile b { display: block; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.2; margin-bottom: 6px; color: var(--on-navy); }
.tile span { font-size: 15px; color: var(--on-navy-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; align-content: start; }
.steps .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
.feature-group { display: grid; gap: 20px; scroll-margin-top: 24px; }
.feature-group + .feature-group { border-top: 1px solid var(--line); padding-top: 72px; }

/* Quote */
.quote { max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.avatar { flex: 0 0 120px; height: 120px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: var(--muted); }
.quote figure { flex: 1 1 460px; min-width: 0; margin: 0; }
.quote blockquote { margin: 0 0 18px; font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.45; color: var(--ink); }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td strong { font-family: var(--display); font-size: 20px; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--body); max-width: 70ch; }

/* How-it-works flow */
@keyframes ssFlow { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes ssBack { 0% { left: calc(100% - 10px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.flow { display: flex; flex-wrap: wrap; align-items: center; }
.flow-col { flex: 1 1 200px; min-width: 0; display: grid; gap: 10px; padding-block: 8px; }
.flow-label { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.node { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 700; font-size: 15px; }
.node.alt { background: var(--panel); }
.flow-link { flex: 1 1 120px; min-width: 100px; padding: 16px 12px; display: grid; gap: 56px; }
.flow-link p { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.track { position: relative; height: 2px; background: var(--line-2); }
.dot, .dot-back { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; }
.dot { background: var(--accent); animation: ssFlow 3s linear infinite; }
.dot-back { background: var(--navy); animation: ssBack 3.6s linear infinite; }
.d2 { animation-delay: 1s; } .d3 { animation-delay: 2s; } .d4 { animation-delay: 0.5s; } .d5 { animation-delay: 1.5s; } .d6 { animation-delay: 2.5s; } .d7 { animation-delay: 0.4s; } .d8 { animation-delay: 2.2s; }
.hub { flex: 1 1 280px; min-width: 0; padding: 28px; background: var(--navy); color: var(--on-navy); border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18); }
.hub p.hub-name { font-family: var(--display); font-weight: 700; font-size: 24px; margin-bottom: 18px; }
.hub .checks li { color: var(--line); font-size: 15px; }
.hub .tick { color: var(--on-navy); }
@media (prefers-reduced-motion: reduce) { .dot, .dot-back { animation: none; opacity: 1; left: 45%; } }

/* News */
.posts { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.post-meta { display: grid; gap: 6px; align-content: start; font-size: 14px; font-weight: 700; color: var(--muted); }
.tag { display: inline-block; justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-dark); font-size: 13px; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--accent-dark); }
.post p { color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .post { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose p, .prose li { color: var(--body); }
.notice { padding: 20px 24px; border-radius: var(--radius); background: var(--ph-bg); color: var(--ph-fg); }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.req { color: var(--accent-dark); }
.form-status { font-weight: 700; color: var(--ok); }
.side-panel { display: grid; gap: 20px; align-content: start; }

/* CTA band and footer */
.cta-band .wrap { max-width: 820px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.site-footer { background: var(--navy); color: var(--on-navy-3); padding-block: 64px 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--text); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--on-navy-2); text-decoration: none; }
.footer-grid a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-brand p { line-height: 1.6; }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; font-size: 22px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-bottom a { color: var(--on-navy-2); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding-block: 64px; }
  .stack { gap: 64px; }
  .hero { padding-block: 48px 56px; }
  .lead { font-size: 18px; }
  .quote blockquote { font-size: 20px; }
  .btn-row .btn { flex: 1 1 100%; }
}
