@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --forest: #1e4a33;
  --moss: #4e6e5d;
  --sage: #a7af98;
  --reed: #d3cfb6;
  --cream: #ffefd3;
  --ink: #0c1710;
  --deep: #10271b;
  --paper: #f5f1e5;
  --line: rgba(30, 74, 51, .16);
  --radius: 1.5rem;
  --shell: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--forest); background: var(--paper); font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(3.35rem, 8vw, 7rem); font-weight: 600; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; }
h3 { font-size: 1.7rem; }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.narrow { max-width: 47rem; }
.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.eyebrow { margin-bottom: 1rem; color: var(--moss); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.section-intro { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-intro p:not(.eyebrow), .story-copy > p:not(.eyebrow), .support-layout > div p:not(.eyebrow), .page-hero p { max-width: 37rem; color: rgba(30, 74, 51, .78); font-size: 1.1rem; }

.site-header { position: fixed; top: 0; z-index: 10; width: 100%; padding: 1.15rem 0; color: var(--cream); transition: background .25s, box-shadow .25s, padding .25s, color .25s; }
.site-header.scrolled { padding: .7rem 0; color: var(--forest); background: rgba(245, 241, 229, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: Fraunces, Georgia, serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -.03em; }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: .85rem; }
.nav-links { display: flex; align-items: center; gap: 1.65rem; font-size: .88rem; font-weight: 600; }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--reed); }
.site-header.scrolled .nav-links a:hover, .site-header.scrolled .nav-links a[aria-current='page'] { color: var(--moss); }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem; }
.menu-button span { display: block; width: 1.4rem; height: 2px; margin: .25rem; background: currentColor; }

.hero { position: relative; overflow: clip; min-height: min(52rem, 100vh); padding: clamp(7.5rem, 9vw, 9rem) 0 2rem; color: var(--cream); background: linear-gradient(135deg, #102a1d 0%, var(--forest) 50%, #143726 100%); }
.hero::after { position: absolute; inset: 0; content: ''; opacity: .12; background-image: radial-gradient(var(--cream) .7px, transparent .7px); background-size: 10px 10px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.hero-glow { position: absolute; width: 42rem; height: 42rem; right: -12rem; top: -13rem; border-radius: 50%; background: rgba(211, 207, 182, .13); filter: blur(15px); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 2rem; align-items: center; }
.hero-copy { padding-bottom: 3rem; }
.hero .eyebrow { color: var(--reed); }
.hero h1 { max-width: 8.9em; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--reed); font-style: italic; }
.lede { max-width: 36rem; color: rgba(255, 239, 211, .85); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 2rem; }
.app-store-badge { display: inline-block; width: 13.5rem; line-height: 0; transition: transform .2s, filter .2s; }
.app-store-badge:hover { filter: brightness(1.08); transform: translateY(-2px); }
.app-store-badge img { width: 100%; height: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; border: 1px solid transparent; border-radius: 100px; padding: .8rem 1.25rem; font-size: .86rem; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest); background: var(--cream); box-shadow: 0 12px 30px rgba(0,0,0,.17); }
.button-primary:hover { background: #fff7e7; box-shadow: 0 15px 34px rgba(0,0,0,.25); }
.button-quiet { border-color: rgba(255, 239, 211, .35); color: var(--cream); }
.button-quiet:hover { background: rgba(255, 239, 211, .1); }
.button-light { align-self: center; color: var(--forest); background: var(--cream); white-space: nowrap; }
.quiet-note { margin-top: 1.35rem; color: rgba(255, 239, 211, .65); font-size: .82rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 17rem); }
.hero-phone { position: relative; z-index: 1; overflow: hidden; width: 100%; aspect-ratio: 950 / 2000; padding: .58rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 3.4rem; background: linear-gradient(145deg, #66716d 0%, #202a28 21%, #0b1110 50%, #35403c 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 1.5rem 2.6rem 4.5rem rgba(0,0,0,.42); transform: rotate(4deg); }
.hero-phone::after { position: absolute; z-index: 2; top: 11%; right: -.22rem; width: .24rem; height: 12%; border-radius: 0 .25rem .25rem 0; content: ''; background: #19201e; box-shadow: 0 14.4rem 0 #19201e; }
.hero-phone img { width: 100%; height: 100%; border-radius: 2.8rem; object-fit: cover; }
.hero-orbit { position: absolute; z-index: 0; border: 1px solid rgba(255, 239, 211, .27); border-radius: 50%; }
.orbit-one { width: 115%; height: 80%; top: 9%; left: -8%; transform: rotate(-26deg); }
.orbit-two { width: 88%; height: 116%; top: -7%; left: 12%; transform: rotate(40deg); }

.proof-strip { color: var(--cream); background: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid p { margin: 0; padding: 1.55rem 2rem; border-left: 1px solid rgba(255,239,211,.15); }
.proof-grid p:first-child { border-left: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { margin-bottom: .15rem; font-family: Fraunces, Georgia, serif; font-size: 1.08rem; font-weight: 500; }
.proof-grid span { color: rgba(255,239,211,.65); font-size: .86rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card { min-height: 21rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; background: #fbf8ef; transition: transform .25s, border-color .25s; }
.feature-card:hover { border-color: var(--sage); transform: translateY(-5px); }
.feature-number { color: var(--moss); font-family: Fraunces, Georgia, serif; font-size: 1.1rem; }
.feature-card h3 { margin: 4rem 0 1rem; }
.feature-card p { margin-bottom: 0; color: rgba(30,74,51,.76); }

.story-section { overflow: hidden; color: var(--cream); background: var(--forest); }
.story-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.story-copy .eyebrow { color: var(--sage); }
.story-copy > p:not(.eyebrow) { color: rgba(255,239,211,.76); }
.story-image { justify-self: end; max-width: 29rem; }
.story-image img { border-radius: 1.5rem; box-shadow: 1.5rem 1.5rem 0 rgba(167,175,152,.25); }
.text-link { display: inline-flex; gap: .5rem; margin-top: .8rem; padding-bottom: .25rem; border-bottom: 1px solid var(--sage); font-weight: 700; }

.gallery-section { overflow: hidden; background: #e6e3d5; }
.phone-gallery { display: grid; grid-template-columns: repeat(4, minmax(10rem, 1fr)); gap: 1.25rem; align-items: start; }
.phone-card { overflow: hidden; margin: 0; border-radius: 1.25rem; background: var(--ink); box-shadow: 0 1rem 2rem rgba(30,74,51,.12); }
.phone-card:nth-child(2), .phone-card:nth-child(4) { transform: translateY(2.5rem); }
.phone-card img { width: 100%; }

.privacy-callout { color: var(--cream); background: var(--moss); }
.privacy-layout { display: grid; grid-template-columns: 6rem 1fr auto; gap: 2rem; align-items: center; }
.privacy-layout img { width: 6rem; height: 6rem; object-fit: contain; border-radius: 1.5rem; background: var(--cream); }
.privacy-layout .eyebrow { color: var(--reed); }
.privacy-layout h2 { margin-bottom: .65rem; font-size: clamp(2.25rem, 4vw, 3.8rem); }
.privacy-layout p:not(.eyebrow) { max-width: 40rem; margin-bottom: 0; color: rgba(255,239,211,.79); }

.support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.support-card { border-radius: var(--radius); padding: 2rem; color: var(--cream); background: var(--forest); }
.support-label { margin-bottom: .45rem; color: var(--sage); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.support-card a { display: inline-block; margin-bottom: 1.3rem; border-bottom: 1px solid var(--sage); font-family: Fraunces, Georgia, serif; font-size: clamp(1.35rem, 3vw, 2rem); }
.support-card p:last-child { margin-bottom: 0; color: rgba(255,239,211,.72); font-size: .93rem; }

.site-footer { color: rgba(255,239,211,.7); background: var(--ink); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 7rem; font-size: .82rem; }
.site-footer .brand { color: var(--cream); }
.site-footer .brand img { width: 2.25rem; height: 2.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.site-footer nav a:hover { color: var(--cream); }
.site-footer p { margin: 0; }

.subpage { background: #fbf8ef; }
.page-hero { padding: 11rem 0 5rem; color: var(--cream); background: linear-gradient(115deg, var(--forest), #143d29); }
.page-hero .eyebrow { color: var(--sage); }
.page-hero h1 { margin-bottom: 1.3rem; font-size: clamp(3.1rem, 7vw, 5.8rem); }
.page-hero p { color: rgba(255,239,211,.78); }
.faq-page { min-height: 50vh; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.25rem 2rem 1.25rem 0; font-size: 1.03rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { float: right; content: '+'; color: var(--moss); font-size: 1.35rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-answer { max-width: 44rem; padding: 0 1.5rem 1rem 0; color: rgba(30,74,51,.78); }
.faq-answer p { margin-bottom: .8rem; }
.faq-loading { color: var(--moss); }

.privacy-main { padding: 9rem 0 5rem; }
.privacy-hero { padding: 4rem 0 3rem; color: var(--cream); background: var(--forest); }
.policy-container { width: min(calc(100% - 3rem), 50rem); margin-inline: auto; }
.policy-intro { max-width: 38rem; color: rgba(255,239,211,.8); font-size: 1.1rem; }
.policy-effective { color: var(--sage); font-size: .85rem; }
.policy-content { padding-top: 4rem; }
.policy-content section { margin-bottom: 2.75rem; }
.policy-content h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.policy-content h3 { margin: 1.7rem 0 .55rem; font-size: 1.45rem; }
.policy-content p, .policy-content li { color: rgba(30,74,51,.78); }
.policy-content a { border-bottom: 1px solid var(--moss); color: var(--moss); }
.policy-content ul { padding-left: 1.3rem; }
.policy-summary { border-left: 4px solid var(--moss); padding: 1.5rem 1.8rem; border-radius: 0 var(--radius) var(--radius) 0; background: #e7e8dd; }

.compatibility-page { background: #fbf8ef; }
.compatibility-hero { padding: 10.5rem 0 4.5rem; color: var(--cream); background: linear-gradient(125deg, #0c2217, var(--forest) 62%, #315940); }
.compatibility-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, .82fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.compatibility-hero .eyebrow { color: var(--sage); }
.compatibility-hero h1 { margin-bottom: 1.2rem; font-size: clamp(3.2rem, 6.6vw, 6.15rem); }
.compatibility-hero h1 em { color: var(--reed); }
.compatibility-lede { max-width: 39rem; margin-bottom: 0; color: rgba(255,239,211,.79); font-size: 1.1rem; }
.compatibility-selector { padding: 1.25rem; border: 1px solid rgba(255,239,211,.2); border-radius: 1.25rem; background: rgba(8,28,18,.22); box-shadow: 0 1.3rem 3rem rgba(0,0,0,.14); }
.compatibility-selector label { display: block; margin: 0 0 .45rem .15rem; color: var(--reed); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.compatibility-selector select { width: 100%; border: 1px solid rgba(255,239,211,.23); border-radius: .75rem; padding: .85rem 2.5rem .85rem 1rem; color: var(--cream); background: #173826; font: inherit; font-size: .92rem; font-weight: 700; }
.selected-transducer { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1.1rem; align-items: center; margin-top: 1rem; }
.selected-transducer img { width: 7.2rem; height: 7.2rem; border-radius: .9rem; object-fit: cover; background: #e8e4d8; }
.selected-transducer p { margin: 0; color: rgba(255,239,211,.72); font-size: .88rem; line-height: 1.42; }
.selected-transducer .selected-transducer-name { margin-bottom: .35rem; color: var(--cream); font-family: Fraunces, Georgia, serif; font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.selected-transducer span { display: block; margin-top: .55rem; color: var(--sage); font-size: .73rem; font-weight: 700; letter-spacing: .04em; }
.compatibility-results { padding-top: clamp(4rem, 9vw, 7rem); }
.compatibility-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.compatibility-results-heading h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.7vw, 4.5rem); }
.compatibility-results-heading h2 span { color: var(--moss); }
.compatibility-results-heading > p { max-width: 25rem; margin: 0; color: rgba(30,74,51,.76); font-size: .95rem; }
.compatibility-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: #fffdf8; }
.compatibility-table { width: 100%; min-width: 46rem; border-collapse: collapse; text-align: left; }
.compatibility-table th { padding: .9rem 1.25rem; color: var(--moss); border-bottom: 1px solid var(--line); background: #f0ede1; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.compatibility-table td { padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); color: rgba(30,74,51,.78); font-size: .91rem; line-height: 1.42; vertical-align: middle; }
.compatibility-table tr:last-child td { border-bottom: 0; }
.compatibility-table td:first-child { display: flex; align-items: center; gap: .9rem; min-width: 16rem; color: var(--forest); }
.compatibility-table strong { font-family: Fraunces, Georgia, serif; font-size: 1.04rem; line-height: 1.1; }
.graph-photo { width: 3.55rem; height: 3.55rem; flex: 0 0 auto; border-radius: .55rem; object-fit: cover; background: #e7e8dd; }
.compatibility-note { margin: 1rem 0 0; color: var(--moss); font-size: .8rem; }
.fish-wizard-nudge { padding: 3.25rem 0; color: var(--cream); background: var(--moss); }
.fish-wizard-nudge .shell { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.fish-wizard-nudge p { max-width: 36rem; margin: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.fish-wizard-nudge .button { flex: 0 0 auto; }

.reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 800px) {
  .nav-links { position: fixed; inset: 5.25rem 1rem auto; display: none; align-items: stretch; gap: .2rem; padding: .75rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--forest); background: #fbf8ef; box-shadow: 0 1rem 3rem rgba(12,23,16,.16); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: .75rem; }
  .nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--moss); }
  .menu-button { display: block; }
  .hero { min-height: unset; padding-bottom: 4rem; }
  .hero-layout, .story-layout, .support-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { width: min(70vw, 21rem); margin-top: 1rem; }
  .proof-grid, .feature-grid { grid-template-columns: 1fr; }
  .proof-grid p { border-top: 1px solid rgba(255,239,211,.15); border-left: 0; }
  .proof-grid p:first-child { border-top: 0; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 2.5rem; }
  .story-image { justify-self: start; width: min(100%, 28rem); }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .phone-card:nth-child(2), .phone-card:nth-child(4) { transform: translateY(1.25rem); }
  .privacy-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .privacy-layout img { width: 5rem; height: 5rem; }
  .button-light { justify-self: start; }
  .footer-layout { flex-direction: column; justify-content: center; padding: 1.5rem 0; text-align: center; }
  .compatibility-hero { padding-top: 9.5rem; }
  .compatibility-hero-layout { grid-template-columns: 1fr; }
  .compatibility-results-heading, .fish-wizard-nudge .shell { align-items: start; flex-direction: column; }
  .compatibility-results-heading { gap: 1rem; }
}
@media (max-width: 460px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .page-hero { padding-top: 9rem; }
  .actions { display: grid; }
  .app-store-badge { width: min(13.5rem, 100%); }
  .button { width: 100%; }
  .phone-gallery { gap: .75rem; }
  .selected-transducer { grid-template-columns: 5.6rem 1fr; }
  .selected-transducer img { width: 5.6rem; height: 5.6rem; }
}
