/*
Theme Name: Captony Coastal Confidence
Theme URI: https://www.captony.ai/
Author: AIMdyn
Description: Custom one-page theme for the Captony marine-planning concept.
Version: 2.2.2
Text Domain: captony
*/

@font-face { font-family:'Manrope'; font-style:normal; font-weight:200 800; font-display:swap; src:url('assets/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:200 800; font-display:swap; src:url('assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root { --font-manrope:'Manrope'; --cream:#fbfaf7; --navy:#073f7c; --navy2:#185f97; --sky:#2d7fb7; --seafoam:#e9f4fa; --coral:#f6a340; --coral-dark:#e9851b; --muted:#526a7c; --white:#fff; --aimdyn-blue:#287bb6; --aimdyn-light:#70a9cf; --aimdyn-orange:#f6a340; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--cream); color:var(--navy); font-family:var(--font-manrope),Arial,sans-serif; -webkit-font-smoothing:antialiased; }
body main,body main button,body main input,body main h1,body main h2,body main h3,body main p,body main a,body main span,body main strong,body main small,body main label { font-family:var(--font-manrope),Arial,sans-serif; }
button,input { font:inherit; }
.form-trap { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.form-feedback { min-height:1.4em; margin:0; font-size:14px; font-weight:700; color:var(--navy); }
.form-feedback.is-error { color:#a52626; }
.access-form button:disabled { cursor:wait; opacity:.68; transform:none; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-decoration:none; }
.shell { width:min(1320px,calc(100% - 96px)); margin-inline:auto; }
.eyebrow { margin:0 0 20px; color:var(--coral-dark); text-transform:uppercase; letter-spacing:.16em; font-size:14px; font-weight:800; }
.button { min-height:56px; border:0; border-radius:9px; padding:0 28px; display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:750; cursor:pointer; transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.button--primary { color:#fff; background:var(--coral); box-shadow:0 10px 22px rgba(246,163,64,.22); }
.button--primary:hover { background:var(--coral-dark); transform:translateY(-2px); box-shadow:0 14px 28px rgba(246,163,64,.28); }
.button:focus-visible,.text-link:focus-visible,.route-card:focus-visible,.site-header a:focus-visible,.menu-toggle:focus-visible,.modal-close:focus-visible { outline:3px solid rgba(10,42,67,.35); outline-offset:4px; }

.hero { min-height:100vh; position:relative; overflow:hidden; background:linear-gradient(112deg,#fff 0%,#fffdfa 58%,#f7fbfd 100%); }
.hero::before { content:""; position:absolute; width:520px; height:520px; right:-265px; top:-265px; border:54px solid rgba(246,163,64,.16); border-radius:50%; }
.hero::after { content:""; position:absolute; width:420px; height:420px; right:-210px; bottom:-170px; border:48px solid rgba(40,123,182,.15); border-radius:50%; }
.topo-lines { position:absolute; inset:0; opacity:.58; pointer-events:none; background-image:radial-gradient(circle,rgba(40,123,182,.34) 0 2px,transparent 2.4px),radial-gradient(circle,rgba(246,163,64,.26) 0 2px,transparent 2.4px); background-size:18px 18px,22px 22px; background-position:calc(100% - 45px) 125px,38px calc(100% - 150px); mask-image:linear-gradient(110deg,rgba(0,0,0,.82) 0 12%,transparent 25% 72%,rgba(0,0,0,.8) 92%); }
.site-header { height:104px; position:relative; z-index:10; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:34px; border-bottom:1px solid rgba(40,123,182,.11); }
.brand { display:inline-flex; width:max-content; align-items:center; }
.brand-word { position:relative; font-size:42px; line-height:1; font-weight:800; letter-spacing:-.06em; }
.brand-wave { position:absolute; left:67px; bottom:-12px; width:53px; height:14px; border-top:5px solid var(--sky); border-radius:50%; transform:rotate(-6deg); }
.brand-wave::after { content:""; position:absolute; left:17px; top:-3px; width:36px; height:11px; border-top:4px solid var(--coral); border-radius:50%; opacity:.85; }
.site-header nav { display:flex; align-items:center; gap:54px; font-weight:700; }
.site-header nav a { position:relative; padding:12px 0; }
.site-header nav a::after { content:""; position:absolute; left:0; right:100%; bottom:4px; height:2px; background:var(--coral); transition:right .2s ease; }
.site-header nav a:hover::after,.site-header nav a:focus-visible::after { right:0; }
.header-cta { justify-self:end; }
.menu-toggle { display:none; }
.hero-grid { min-height:640px; position:relative; z-index:2; display:grid; grid-template-columns:minmax(390px,.82fr) minmax(600px,1.18fr); align-items:center; gap:48px; padding:24px 0 18px; }
.hero-copy { padding:28px 0 62px; }
.hero h1 { margin:0; max-width:630px; font-size:clamp(62px,5.2vw,82px); line-height:.99; letter-spacing:-.062em; font-weight:800; }
.hero-lede { max-width:560px; margin:28px 0 0; color:var(--navy2); font-size:19px; line-height:1.62; }
.hero-actions { margin-top:34px; display:flex; align-items:center; gap:32px; }
.text-link { font-weight:800; color:#0864b0; padding:12px 2px; }
.text-link span { display:inline-block; margin-left:7px; transition:transform .2s ease; }
.text-link:hover span { transform:translateX(4px); }

.route-demo { min-height:580px; position:relative; overflow:hidden; border:2px solid rgba(40,123,182,.5); border-radius:22px; background:#eaf5fa; box-shadow:0 22px 46px rgba(7,63,124,.14); }
.route-map { position:absolute; inset:0; width:100%; height:100%; }
.chart-water { fill:#eaf5fa; }
.chart-grid { opacity:.22; }
.depth-contours { fill:none; stroke:#5598c5; stroke-width:2; opacity:.38; stroke-dasharray:5 4; }
.land { fill:#f3c983; stroke:#d68a27; stroke-width:4; filter:drop-shadow(0 4px 4px rgba(7,63,124,.12)); }
.coast { fill:#f7d59b; stroke:#d68a27; stroke-width:5; }
.shoreline-detail,.island-detail { fill:none; stroke:#e2a34b; stroke-width:2; opacity:.72; }
.chart-marks { fill:none; stroke:#5e8797; stroke-width:1.5; opacity:.55; }
.north-arrow { fill:var(--navy); text-anchor:middle; font-size:11px; font-weight:800; }
.north-arrow path { stroke:var(--navy); stroke-width:2; }
.chart-caption { fill:#315a6b; font-size:10px; font-weight:800; letter-spacing:2px; opacity:.65; }
.route { fill:none; stroke-width:8; stroke-linecap:round; stroke-linejoin:round; opacity:.4; transition:opacity .3s ease,stroke-width .3s ease; stroke-dasharray:10 7; }
.route.is-active { opacity:1; stroke-width:10; stroke-dasharray:1120; stroke-dashoffset:1120; animation:route-draw .75s ease-out forwards; }
.route--coral { stroke:var(--coral); }
.route--blue { stroke:#168dd3; }
.route-pin { fill:#fff; stroke:var(--navy); stroke-width:5; }
.boat { fill:#fff; stroke:var(--navy); stroke-width:3; filter:drop-shadow(0 5px 5px rgba(10,42,67,.2)); transition:transform .55s ease; }
@keyframes route-draw { to { stroke-dashoffset:0; } }
.map-label { position:absolute; z-index:3; display:flex; align-items:center; gap:8px; color:var(--navy); text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; }
.map-label span { width:9px; height:9px; background:#fff; border:2px solid var(--navy); border-radius:50%; }
.map-label--start { left:4%; bottom:13%; }
.map-label--end { right:10%; top:18%; }
.route-stack { position:absolute; z-index:4; right:3%; top:39%; width:min(335px,45%); display:grid; gap:12px; }
.route-card { width:100%; padding:16px 17px; border:2px solid transparent; border-left-width:6px; border-radius:16px; text-align:left; color:var(--navy); background:rgba(255,255,255,.94); box-shadow:0 8px 20px rgba(10,42,67,.14); cursor:pointer; transition:transform .2s ease,opacity .2s ease,border-color .2s ease; }
.route-card:not(.is-selected) { opacity:.82; }
.route-card:hover { transform:translateY(-2px); opacity:1; }
.route-card--coral { border-left-color:var(--coral); }
.route-card--blue { border-left-color:#168dd3; }
.route-card--coral.is-selected { border-color:var(--coral); }
.route-card--blue.is-selected { border-color:#168dd3; }
.route-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.route-card__top strong { display:block; font-size:17px; }
.route-card__top small { display:block; color:var(--muted); margin-top:2px; font-size:11px; }
.choice-label { color:var(--muted); border-radius:20px; background:#eef5f7; padding:4px 7px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.is-selected .choice-label { color:var(--navy); background:var(--seafoam); }
.route-metrics { display:grid; grid-template-columns:repeat(3,1fr); margin-top:12px; }
.route-metrics>span { padding:0 8px; border-right:1px solid #d9e4e8; }
.route-metrics>span:first-child { padding-left:0; }
.route-metrics>span:last-child { border:0; }
.route-metrics strong,.route-metrics small { display:block; }
.route-metrics strong { font-size:14px; }
.route-metrics small { color:var(--muted); margin-top:2px; font-size:9px; }
.map-note { position:absolute; z-index:3; left:24px; bottom:16px; width:48%; margin:0; color:#456777; font-size:10px; line-height:1.4; }
.confidence-strip { position:relative; z-index:5; min-height:88px; margin:8px auto 34px; border:0; border-radius:14px; display:grid; grid-template-columns:repeat(3,1fr); align-items:center; color:#fff; background:var(--aimdyn-blue); box-shadow:0 12px 30px rgba(7,63,124,.18); }
.confidence-strip>span { min-height:50px; display:flex; align-items:center; justify-content:center; gap:14px; border-right:1px solid rgba(255,255,255,.25); }
.confidence-strip>span:last-child { border:0; }
.confidence-strip i { width:auto; height:auto; display:inline; color:#ffc26e; background:none; font-size:25px; font-style:normal; }

.intelligence-section { padding:132px 0 140px; position:relative; overflow:hidden; background:#fff; scroll-margin-top:20px; }
.intelligence-section::before { content:""; position:absolute; width:210px; height:210px; left:-82px; top:80px; border:30px solid rgba(246,163,64,.16); border-radius:50%; }
.intelligence-section::after { content:""; position:absolute; width:240px; height:240px; right:-75px; bottom:110px; background:radial-gradient(circle,rgba(40,123,182,.42) 0 2.2px,transparent 2.5px); background-size:17px 17px; border-radius:50%; opacity:.56; }
.intelligence-section>.shell { position:relative; z-index:1; }
.section-heading { display:grid; grid-template-columns:1.2fr .8fr; gap:88px; align-items:end; }
.section-heading h2,.features-intro h2,.safety-copy h2 { margin:0; font-size:clamp(42px,4vw,64px); line-height:1.08; letter-spacing:-.052em; }
.section-heading>p,.features-intro>p,.safety-copy>p { margin:0; color:var(--muted); font-size:18px; line-height:1.7; }
.steps-grid { margin-top:70px; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step-card { min-height:290px; position:relative; overflow:hidden; border:0; border-top:6px solid var(--aimdyn-blue); border-radius:14px; padding:32px; background:#fff; box-shadow:0 12px 32px rgba(7,63,124,.10); }
.step-card:nth-child(2) { border-top-color:var(--aimdyn-orange); }
.step-card::after { content:""; position:absolute; width:150px; height:150px; right:-88px; bottom:-88px; border:22px solid rgba(40,123,182,.11); border-radius:50%; }
.step-card:nth-child(2)::after { border-color:rgba(246,163,64,.15); }
.step-card>span { color:var(--coral-dark); font-weight:800; letter-spacing:.12em; }
.step-card h3 { margin:70px 0 12px; font-size:25px; letter-spacing:-.03em; }
.step-card p,.feature-card p { margin:0; color:var(--muted); line-height:1.65; }
.features-block { margin-top:142px; padding-top:130px; border-top:2px solid rgba(40,123,182,.22); display:grid; grid-template-columns:.78fr 1.22fr; gap:90px; scroll-margin-top:40px; }
.features-intro { position:sticky; top:42px; align-self:start; }
.features-intro>p { margin-top:24px; }
.features-intro .eyebrow { margin-top:0; }
.feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.feature-card { min-height:250px; padding:28px; border:1px solid rgba(40,123,182,.16); border-left:5px solid var(--aimdyn-blue); border-radius:12px; background:#fff; display:flex; flex-direction:column; justify-content:space-between; box-shadow:0 8px 24px rgba(7,63,124,.07); }
.feature-card:nth-child(2),.feature-card:nth-child(3) { border-left-color:var(--aimdyn-orange); }
.feature-icon { width:auto; height:auto; display:block; color:var(--aimdyn-orange); background:none; font-size:30px; font-weight:800; }
.feature-card h3 { margin:0 0 10px; font-size:21px; }

.safety-section { padding:90px 0 34px; position:relative; overflow:hidden; color:#fff; background:#073f7c; scroll-margin-top:20px; }
.safety-section::before { content:""; position:absolute; width:430px; height:430px; right:-190px; top:-170px; border:48px solid rgba(246,163,64,.25); border-radius:50%; }
.safety-card { min-height:640px; position:relative; z-index:1; display:grid; grid-template-columns:1.08fr .92fr; gap:100px; align-items:center; padding:72px; border:1px solid rgba(255,255,255,.18); border-radius:22px; background:linear-gradient(135deg,#0a4d89 0%,#176da7 100%); }
.safety-copy .eyebrow { color:#ffc26e; }
.safety-copy>p { margin-top:28px; color:#c6d7df; }
.button--light { margin-top:34px; color:var(--navy); background:#fff; }
.button--light:hover { transform:translateY(-2px); background:var(--cream); }
.safety-principles { display:grid; }
.safety-principles article { display:grid; grid-template-columns:46px 1fr; gap:20px; padding:26px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.safety-principles article:last-child { border:0; }
.safety-principles>article>span { color:#78c8ed; font-weight:800; }
.safety-principles h3 { margin:0 0 8px; font-size:20px; }
.safety-principles p { margin:0; color:#aec4cf; line-height:1.6; }
.site-footer { min-height:120px; display:grid; grid-template-columns:1fr auto auto; gap:36px; align-items:center; color:#a8bdc8; font-size:13px; }
.brand--footer { color:#fff; transform:scale(.78); transform-origin:left center; }
.site-footer p { margin:0; }

.modal-backdrop { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:24px; background:rgba(4,24,37,.64); backdrop-filter:blur(8px); animation:fade-in .2s ease; }
.access-modal { position:relative; width:min(540px,100%); max-height:min(760px,calc(100vh - 48px)); overflow:auto; border-top:7px solid var(--aimdyn-orange); border-radius:16px; padding:48px; color:var(--navy); background:#fff; box-shadow:0 24px 80px rgba(0,0,0,.3); animation:modal-in .25s ease-out; }
.access-modal h2 { margin:0; font-size:42px; line-height:1.05; letter-spacing:-.045em; }
.access-modal>p:not(.eyebrow),.success-message>p:not(.eyebrow) { color:var(--muted); line-height:1.6; }
.modal-close { position:absolute; top:16px; right:18px; width:38px; height:38px; border:0; border-radius:50%; background:rgba(10,42,67,.08); color:var(--navy); cursor:pointer; font-size:25px; }
.access-form { margin-top:28px; display:grid; gap:18px; }
.access-form label { display:grid; gap:8px; font-weight:700; }
.access-form input { width:100%; min-height:52px; border:1px solid #c5d6dd; border-radius:10px; padding:0 15px; background:#fff; color:var(--navy); }
.access-form input:focus { outline:3px solid rgba(85,184,232,.3); border-color:var(--sky); }
.access-form small { color:var(--muted); font-size:11px; line-height:1.5; }
.success-message { text-align:center; }
.success-icon { width:64px; height:64px; display:grid; place-items:center; margin:0 auto 22px; border-radius:50%; color:#fff; background:var(--sky); font-size:31px; }
.success-message .button { margin-top:18px; }
@keyframes fade-in { from { opacity:0; } }
@keyframes modal-in { from { opacity:0; transform:translateY(16px) scale(.98); } }

@media (max-width:1080px) {
  .shell { width:min(calc(100% - 56px),960px); }
  .site-header { grid-template-columns:1fr auto; }
  .site-header nav { position:absolute; display:none; top:84px; right:0; min-width:230px; padding:20px; border-radius:16px; background:#fff; box-shadow:0 15px 35px rgba(10,42,67,.16); }
  .site-header nav.is-open { display:grid; gap:6px; }
  .header-cta { display:none; }
  .menu-toggle { width:46px; height:46px; display:grid; align-content:center; gap:7px; border:0; border-radius:50%; background:#fff; padding:12px; }
  .menu-toggle span { height:2px; background:var(--navy); border-radius:2px; }
  .hero-grid { grid-template-columns:1fr; padding-top:20px; }
  .hero-copy { padding-bottom:8px; }
  .hero h1 { max-width:760px; }
  .confidence-strip { margin-top:34px; }
  .features-block,.safety-card { gap:50px; }
  .safety-card { padding:52px; }
}

@media (max-width:760px) {
  .shell { width:calc(100% - 36px); }
  .site-header { height:82px; }
  .brand-word { font-size:34px; }
  .brand-wave { left:55px; bottom:-11px; transform:scale(.82) rotate(-6deg); transform-origin:left; }
  .hero-grid { display:block; padding-top:36px; }
  .hero-copy { padding-top:0; }
  .hero h1 { font-size:clamp(46px,14vw,64px); }
  .hero-lede { font-size:17px; line-height:1.55; }
  .hero-actions { align-items:stretch; flex-direction:column; gap:12px; }
  .text-link { text-align:center; }
  .route-demo { min-height:720px; margin-top:44px; }
  .route-map { inset:0 -7%; width:114%; height:100%; }
  .map-label { font-size:9px; letter-spacing:.09em; }
  .map-label--end { right:5%; top:5%; }
  .map-label--start { left:5%; bottom:6%; }
  .route-stack { left:12px; right:auto; top:auto; bottom:84px; width:min(270px,72%); gap:8px; }
  .route-card { padding:10px 11px; border-left-width:4px; border-radius:12px; }
  .route-card__top strong { font-size:13px; }
  .route-card__top small { margin-top:1px; font-size:8px; }
  .choice-label { padding:3px 5px; font-size:7px; }
  .route-metrics { margin-top:7px; }
  .route-metrics>span { padding:0 6px; }
  .route-metrics strong { font-size:11px; }
  .route-metrics small { font-size:7px; }
  .map-note { left:14px; bottom:12px; width:calc(100% - 28px); font-size:8px; }
  .confidence-strip { grid-template-columns:1fr; padding:10px 18px; }
  .confidence-strip>span { justify-content:flex-start; border-right:0; border-bottom:1px solid rgba(255,255,255,.24); }
  .confidence-strip>span:last-child { border:0; }
  .intelligence-section { padding:94px 0; }
  .section-heading,.features-block,.safety-card { grid-template-columns:1fr; }
  .section-heading { gap:28px; }
  .steps-grid { grid-template-columns:1fr; margin-top:50px; }
  .step-card { min-height:230px; }
  .step-card h3 { margin-top:42px; }
  .features-block { margin-top:90px; padding-top:88px; gap:48px; }
  .features-intro { position:static; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-card { min-height:210px; }
  .safety-section { padding-top:18px; }
  .safety-card { padding:44px 24px; gap:36px; border-radius:24px; }
  .site-footer { grid-template-columns:1fr; gap:16px; padding:38px 0 12px; }
  .access-modal { padding:42px 24px 28px; }
  .access-modal h2 { font-size:35px; }
}

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

.brand-word{white-space:nowrap}
