:root {
    --ink: #003f4c;
    --text: #183c43;
    --muted: #526e73;
    --blue: #005f73;
    --aqua: #10a38f;
    --aqua-dark: #08786b;
    --paper: #f3f7f6;
    --line: rgba(0, 63, 76, .15);
    --mono: "IBM Plex Mono", monospace;
    --heading: "DM Sans", Arial, sans-serif;
    font-family: "IBM Plex Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--paper);
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: var(--blue); text-underline-offset: 4px; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--aqua-dark); outline-offset: 4px; }
::selection { background: #b5e7dc; color: var(--ink); }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 1100; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100% - 1240px) / 2)); background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font: 700 .88rem var(--heading); letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.logo span, .model-tag { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--aqua-dark); background: var(--paper); font: 500 .58rem var(--mono); letter-spacing: .05em; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; padding: 30px 0; font: 600 .72rem var(--heading); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.nav a:hover, .nav .active { color: var(--ink); }
.nav a:hover::after, .nav .active::after { content: ""; position: absolute; height: 2px; bottom: 21px; left: 0; right: 0; background: var(--aqua); }
main { background: radial-gradient(ellipse at 88% 0, #10a38f12, transparent 35rem); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 60px; padding-block: 68px 60px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#005f7308 1px, transparent 1px), linear-gradient(90deg, #005f7308 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(#000, transparent); }
.kicker, .small-label { color: var(--aqua-dark); font: 500 .69rem var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; }
.kicker::before { content: ""; height: 1px; width: 28px; background: currentColor; }
h1, h2, h3 { color: var(--ink); font-family: var(--heading); }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.2rem); letter-spacing: -.055em; line-height: 1.06; margin: 0 0 24px; font-weight: 600; }
h1 span { color: var(--aqua-dark); }
.lead { max-width: 660px; font-size: 1.08rem; line-height: 1.75; color: var(--muted); margin: 0; }
.hero-note { padding-left: 26px; border-left: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.hero-note p { font: 500 1.6rem var(--heading); color: var(--ink); margin: 12px 0 18px; letter-spacing: -.04em; }
.hero-note-line { display: block; width: 55px; height: 3px; background: var(--aqua); margin-bottom: 18px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-heading .kicker { margin-bottom: 8px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; margin: 0; }
.section-heading > p { color: var(--muted); font-size: .9rem; margin: 0 0 3px; }
.forecast-form { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.panel { min-width: 0; background: #fff; padding: 28px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px #003f4c06; }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; background: #e7f0ee; color: var(--aqua-dark); border: 1px solid #10a38f25; border-radius: 50%; font: 500 .72rem var(--mono); }
h3 { margin: 0; font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; }
label, legend { display: block; font-weight: 500; font-size: .85rem; margin-bottom: 8px; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #b7c9c9; background: #fff; color: var(--ink); border-radius: 6px; font-size: .91rem; }
input::placeholder { color: #617a7e; opacity: 1; }
input:focus { border-color: var(--aqua-dark); }
.search-row { display: flex; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font: 600 .86rem var(--heading); text-decoration: none; cursor: pointer; }
.primary { background: var(--aqua-dark); color: #fff; }
.primary:hover { background: #05695e; }
.button:disabled { cursor: wait; opacity: .65; }
.hint { color: var(--muted); font-size: .77rem; line-height: 1.6; margin: 7px 0 0; }
.search-status { min-height: 22px; margin-bottom: 12px; }
.search-status[data-error="true"] { color: #a03e2a; }
.search-results { list-style: none; padding: 0; margin: 0 0 14px; max-height: 255px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-result { display: block; width: 100%; text-align: left; padding: 12px 14px; border: 0; background: #fff; cursor: pointer; color: var(--ink); }
.search-result:hover, .search-result:focus-visible { background: #e7f0ee; }
.search-result:focus-visible { outline-offset: -3px; }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-weight: 500; font-size: .9rem; }
.search-result small { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.map { height: 375px; border: 1px solid var(--line); border-radius: 7px; background: #e7f0ee; cursor: crosshair; }
.map .leaflet-control-attribution { font-size: 10px; }
.map .leaflet-control-zoom { border: 1px solid var(--line); box-shadow: 0 3px 14px #003f4c12; }
.map .leaflet-control-zoom a { color: var(--ink); }
.map .leaflet-control-layers { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 3px 14px #003f4c12; color: var(--ink); font-family: "IBM Plex Sans", Arial, sans-serif; }
.map .leaflet-control-layers label { margin: 0; padding: 4px 0; font-size: .78rem; cursor: pointer; }
.map .leaflet-control-layers input { accent-color: var(--aqua-dark); margin-right: 5px; }
.map-caption { display: flex; gap: 15px; justify-content: space-between; align-items: start; margin-top: 12px; }
.map-caption p { margin: 0; font-size: .76rem; color: var(--muted); }
.map-caption .small-label { font-size: .6rem; white-space: nowrap; padding-top: 3px; }
.map-status { font: 400 .75rem/1.6 var(--mono); color: var(--aqua-dark); min-height: 20px; margin: 12px 0; }
.coordinates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.coordinates input { font-family: var(--mono); }
.attribution { font-size: .67rem; margin-top: 14px; }
.guaecast-notice { margin-top: 20px; padding: 20px; background: #edf7f3; border: 1px solid #98cabc; border-left: 3px solid var(--aqua-dark); border-radius: 6px; }
.guaecast-notice .small-label { margin: 0 0 10px; font-size: .6rem; }
.guaecast-notice > p:not(.small-label):not(.hint) { color: var(--muted); font-size: .85rem; margin: 12px 0; }
.guaecast-notice .button { margin: 4px 0 6px; max-width: 100%; text-align: center; }
.product-section { padding-top: 64px; }
.product-lead { max-width: 820px; color: var(--muted); font-size: 1rem; margin: 18px 0 26px; }
.product-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-details article { border-top: 2px solid var(--line); padding-top: 20px; }
.product-details p, .coastal-guidance p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin: 12px 0 0; }
.coastal-guidance { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 7px; background: #e7f0ee; }
.coastal-guidance a { display: inline-block; margin-top: 14px; font: 600 .85rem var(--heading); }
.panel-intro { margin: -6px 0 24px; font-size: .91rem; color: var(--muted); }
.subscription-panel > label:not(:first-child) { margin-top: 22px; }
.models { padding: 0; margin: 26px 0 0; border: 0; min-width: 0; }
.models legend { padding: 0; margin-bottom: 0; }
.models > .hint { margin: 5px 0 12px; }
.model-option { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; cursor: pointer; }
.model-option:has(input:checked) { background: #f0f9f6; border-color: var(--aqua-dark); }
.model-option input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; accent-color: var(--aqua-dark); }
.model-option strong, .model-option small { display: block; }
.model-option strong { font: 600 .86rem var(--heading); }
.model-option small { margin-top: 3px; font-size: .7rem; color: var(--muted); font-weight: 400; }
.model-tag { margin-left: auto; font-size: .52rem; white-space: nowrap; }
.unavailable { background: #f7f9f8; cursor: default; }
.unavailable strong, .unavailable .model-tag { color: var(--muted); }
.delivery-note { display: flex; gap: 10px; padding: 14px 0; margin-top: 8px; color: var(--muted); }
.delivery-note p { margin: 0; font-size: .79rem; }
.status-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--aqua); margin-top: 7px; }
.subscribe-button { width: 100%; justify-content: space-between; margin-top: 6px; }
.privacy { color: var(--muted); font-size: .72rem; line-height: 1.7; margin: 14px 0 0; }
.how-section { padding-block: 72px 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 34px; }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.steps h3 { margin-top: 16px; }
.steps p { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }
.when-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); padding: 22px 26px; margin-top: 40px; background: #e7f0ee; border-radius: 7px; }
.when-note p { margin: 0; color: var(--muted); font-size: .85rem; }
.when-note strong { color: var(--ink); display: block; font-weight: 500; }
.when-note a { font: 600 .8rem var(--heading); white-space: nowrap; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; font-size: .72rem; color: var(--muted); }
.footer p { margin: 0; }
.footer > div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--aqua-dark); text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1200; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 12px; }
.message-main { min-height: calc(100vh - 82px); padding-block: 80px; }
.message-card { max-width: 680px; margin-inline: auto; padding: 40px; }
.message-card h1 { font-size: 2.5rem; }
.message-card p:not(.kicker) { color: var(--muted); margin-bottom: 26px; }
@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; padding-block: 48px; }
    .hero-note { display: none; }
    .forecast-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
    .panel { padding: 22px; }
    .model-tag { display: none; }
    .unavailable .model-tag { display: block; }
    .section-heading > p { max-width: 230px; }
    .footer { flex-direction: column; align-items: start; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 125px; }
    .container { width: calc(100% - 32px); }
    .header { flex-wrap: wrap; gap: 0; padding: 12px 16px 0; }
    .logo img { width: 36px; height: 36px; }
    .nav { width: 100%; gap: 24px; }
    .nav a { padding: 16px 0; font-size: .64rem; }
    .nav a:hover::after, .nav .active::after { bottom: 8px; }
    .hero { padding-block: 36px; }
    h1 { font-size: clamp(2.2rem, 7.5vw, 3.5rem); }
    .lead { font-size: .97rem; }
    .kicker { font-size: .6rem; letter-spacing: .09em; }
    .section-heading { display: block; }
    .section-heading > p { max-width: none; margin-top: 10px; }
    .forecast-form { grid-template-columns: 1fr; }
    .panel { padding: 20px; }
    .map { height: 330px; }
    .search-row .button { padding-inline: 12px; }
    .search-row .button span { display: none; }
    .model-tag { display: block; }
    .how-section { padding-block: 44px 32px; }
    .product-section { padding-top: 40px; }
    .product-details { grid-template-columns: 1fr; gap: 20px; }
    .guaecast-notice, .coastal-guidance { padding: 18px; }
    .steps { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
    .steps h3 { margin-top: 10px; }
    .when-note { flex-direction: column; align-items: start; padding: 20px; gap: 16px; }
    .message-main { padding-block: 32px; }
    .message-card { padding: 26px; }
    .message-card h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Registration copy uses the full intro column after the side note's removal. */
.signup-page .hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
.signup-page .hero > div { max-width: 900px; }
.signup-page .hero .lead { max-width: 780px; }
.signup-page .kicker::before { flex-shrink: 0; }
.signup-page main { padding-bottom: 64px; }
.signup-page .product-details article { min-width: 0; }
.signup-page .when-note a { display: inline-flex; align-items: center; gap: 8px; }
.brand-footer {
    width: 100%;
    margin: 0;
    padding: 34px max(24px, calc((100% - 1240px) / 2));
    border-top: 1px solid #002f39;
    background: var(--ink);
    color: #ffffffb3;
    font-family: var(--mono);
    font-size: .7rem;
    line-height: 1.7;
}
.brand-footer a { color: #83d5c8; }
.brand-footer a:hover { color: #fff; }
@media (max-width: 1000px) {
    .signup-page .header { flex-wrap: wrap; gap: 0; padding-top: 12px; }
    .signup-page .nav { width: 100%; flex-wrap: wrap; gap: 0 24px; }
    .signup-page .nav a { padding-block: 14px; }
    .signup-page .nav a::after { bottom: 7px; }
}
@media (max-width: 760px) {
    .signup-page main { padding-bottom: 40px; }
    .signup-page .nav { column-gap: 20px; }
    .signup-page .nav a { padding-block: 10px; }
    .signup-page section[id] { scroll-margin-top: 40px; }
}
