/* Floundr marketing site. Source stylesheet: build.py copies it to site/css/style-<BUILD>.css. */
:root {
  --navy: #082534;
  --navy-2: #0d3347;
  --ink: #102a37;
  --muted: #4a6270;
  --teal: #3fc8d8;          /* brand teal (app FADColor): accents on dark, never text on light */
  --teal-deep: #0a6c78;     /* buttons/links on light: 5.9:1 with white */
  --teal-ink: #075560;
  --foam: #eef8fa;
  --sand: #f6f3ec;
  --line: #d5e6ea;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(8, 37, 52, .45);
  --head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--white); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 800 1.45rem/1 var(--head); letter-spacing: -.02em; min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; border-radius: 10px; }
.nav-list a:hover { background: var(--foam); color: var(--navy); }
.nav-list a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); background: var(--foam); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--teal-deep); color: var(--teal-deep); background: #fff; }
.btn-outline:hover { color: var(--teal-ink); }

/* hero */
.hero { position: relative; background: var(--navy); color: #e8f4f7; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("https://yjtubohmfibgwynfrynu.supabase.co/storage/v1/object/public/bulkpages/72ebc37f-de8e-4ed9-bea3-e5f1a78acb28/uploaded-sites/3a3d89da-f763-4c49-b931-110590e755a7/images/contours.svg") center / 900px auto repeat; opacity: .5; pointer-events: none; }
.hero .container { position: relative; }
.hero h1, .hero h2 { color: #fff; }
.hero a:not(.btn) { color: var(--teal); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero .lead { font-size: 1.22rem; color: #cfe6ec; max-width: 36em; }
.eyebrow { display: inline-block; font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.hero .eyebrow, .band-dark .eyebrow { color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.price-chip { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: rgba(63, 200, 216, .12); border: 1px solid rgba(63, 200, 216, .45); color: #e8f4f7; padding: 10px 16px; border-radius: 14px; font-size: .97rem; }
.price-chip strong { color: #fff; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 520px; }
.split-media { align-items: flex-start; }
.hero-phones .phone:nth-child(1) { z-index: 2; }
.hero-phones .phone:nth-child(2) { position: absolute; right: 0; top: 70px; width: 205px; transform: rotate(6deg); opacity: .96; }
.hero-sub .hero-grid { padding-top: 56px; padding-bottom: 60px; }
.hero-simple { padding-top: 56px; padding-bottom: 56px; }
.hero-simple .lead { max-width: 42em; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8fb5bf; }
.crumbs a { color: var(--teal) !important; display: inline-flex; align-items: center; min-height: 40px; }
.crumbs [aria-current] { color: #cfe6ec; display: inline-flex; align-items: center; min-height: 40px; }

/* phone frame */
.phone { width: 270px; flex: none; border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #e7f1f4, #b9cdd4); box-shadow: var(--shadow); }
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; background: #dfeef2; }
.phone.sm { width: 220px; }

/* sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-tint { background: var(--foam); }
.section-sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.band-dark { background: var(--navy); color: #d6e9ee; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a:not(.btn) { color: var(--teal); }
.band-dark p { color: #cfe6ec; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--ink); }
.card :is(h2, h3) { font-size: 1.25rem; }
.card :is(h2, h3) a { color: var(--navy); text-decoration: none; }
.card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card :is(h2, h3) a:hover { color: var(--teal-ink); }
.card p { color: var(--muted); margin-bottom: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--foam); color: var(--teal-deep); margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card:hover { border-color: #9fd6df; box-shadow: var(--shadow); }
.status { display: inline-block; font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; margin-bottom: 12px; }
.status-live { background: #dff5e8; color: #135c33; }
.status-soon { background: #fff1d6; color: #77510a; }
.hero .status-soon { background: #ffe7b8; color: #5c3d04; }
.hero .status-live { background: #c9f0d9; color: #0d4a27; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split-media { display: flex; justify-content: center; gap: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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 / 13px no-repeat; }
.band-dark .ticks li::before { background-color: #1d8d9a; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); }
.plan.featured { border: 2px solid var(--teal-deep); }
.plan .amt { font: 800 2.4rem/1 var(--head); color: var(--navy); margin: 8px 0 6px; }
.plan .amt small { font: 600 1rem var(--body); color: var(--muted); }
.plan p { color: var(--muted); }
.fine { font-size: .92rem; color: var(--muted); }
.band-dark .fine { color: #b9d6de; }

/* soon illustration */
.soon-art { width: 100%; max-width: 460px; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.soon-art svg { width: 100%; height: 100%; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--teal-deep); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* forms */
.form-panel { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form-panel h2, .form-panel h3 { color: var(--navy); }
.form-panel p { color: var(--muted); }
.form-panel a:not(.btn) { color: var(--teal-deep); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); min-height: 48px; padding: 10px 14px; border: 1.5px solid #b8cfd6; border-radius: 12px; background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-deep); outline: 3px solid rgba(63, 200, 216, .35); outline-offset: 0; }
.form-note { font-size: .92rem; margin: 14px 0 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* prose (legal) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--muted); font-size: .95rem; }
.notice { border-left: 4px solid var(--teal-deep); background: var(--foam); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 1.4em; }
table.data { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
table.data th, table.data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--navy); }
.table-wrap { overflow-x: auto; }

/* footer */
.site-footer { background: #061c28; color: #b9d3db; padding-top: 64px; font-size: .97rem; }
.site-footer h2 { color: #fff; font: 700 1rem var(--body); letter-spacing: .02em; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: #d9ecf1; text-decoration: none; }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 1.35rem var(--head); margin-bottom: 12px; }
.footer-brand img { width: 40px; height: 40px; }
.site-footer p { color: #b9d3db; }
.nav-warning { margin-top: 40px; padding: 18px 0; border-top: 1px solid #16394a; color: #e8f4f7; }
.nav-warning strong { color: #ffd27a; }
.nav-warning a { color: var(--teal); display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 14px; padding-bottom: 28px; border-top: 1px solid #16394a; color: #a8c6cf; font-size: .9rem; }
.footer-bottom a { color: #d9ecf1; display: inline-flex; align-items: center; min-height: 40px; }

/* reveal: fails open (only hidden once app.js adds .js) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* responsive */
@media (max-width: 1020px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 10px; padding: 18px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; }
  .nav-list a { min-height: 50px; font-size: 1.1rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal); padding-left: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .grid-3, .pricing { grid-template-columns: 1fr 1fr; }
  .hero-phones { min-height: 0; }
  .hero-phones .phone:nth-child(2) { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .pricing, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 44px; padding-bottom: 56px; }
  .form-panel { padding: 22px 18px; }
  .phone { width: 240px; }
  .split-media .phone.sm:nth-child(2) { display: none; }
  .hero .lead { font-size: 1.1rem; }
}

/* r1 fixes from check.mjs */
[hidden] { display: none !important; }
.card :is(h2, h3) a { display: inline-flex; align-items: center; min-height: 44px; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a { min-width: 44px; }
@media (max-width: 900px) {
  .hero-phones { gap: 14px; align-items: flex-start; }
  .hero-phones .phone:nth-child(2) { display: block; position: static; transform: none; width: 42%; margin-top: 40px; }
  .hero-phones .phone:nth-child(1) { width: 52%; max-width: 270px; }
  .hero-phones .phone:only-child { width: 270px; max-width: 80%; }
}
@media (max-width: 620px) {
  .split-media .phone.sm:nth-child(2) { display: block; }
  .split-media .phone.sm { width: calc(50% - 9px); max-width: 220px; }
  .split-media .phone.sm:only-child { width: 240px; }
  .phone { padding: 6px; border-radius: 30px; }
  .phone img { border-radius: 25px; }
  table.data thead { display: none; }
  table.data tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  table.data td { display: block; border: 0; padding: 3px 0; }
  table.data td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy); }
}
