@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f5f8fa;
  --surface: #fff;
  --ink: #102a3a;
  --muted: #49606b;
  --line: #cfdce2;
  --neon: #72ffd1;
  --focus: #1966d2;
  --header-height: 112px;
  --wrap: 1240px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.64;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button, select, input, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, dl { margin: 0; }
p + p { margin-top: .85em; }
h1, h2, h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(2.55rem, 5.25vw, 5.25rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -.043em; }
h3 { font-size: 1.5rem; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.numeric, .dimensions { font-family: ui-monospace, monospace; }
.wrap { width: min(var(--wrap), calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.eyebrow { font-size: .78rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; color: #284a59; margin-bottom: 1rem; }
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.65; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-size: .91rem; font-weight: 650; line-height: 1.4; text-align: center; }
.button:hover { background: #204250; border-color: #204250; }
.button.outline, .button.secondary, .button--secondary { background: transparent; color: var(--ink); border-color: #8fa8b3; }
.button.outline:hover, .button.secondary:hover, .button--secondary:hover { background: #e0eef0; border-color: #526f7a; }
.button.mint { background: var(--neon); color: var(--ink); border-color: var(--neon); }
.button.mint:hover { background: #afffe5; }
.actions, .cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.skip-link { position: fixed; z-index: 60; top: .75rem; left: 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.contact-band { background: var(--neon); }
.band-row { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .86rem; font-weight: 650; }
.band-links { display: flex; align-items: center; gap: clamp(.75rem, 2.1vw, 1.7rem); }
.band-links > a, .band-links summary { display: flex; min-height: 40px; align-items: center; text-decoration: none; white-space: nowrap; }
.band-links a:hover { text-decoration: underline; }
.compact-label { display: none; }
.nav-band { border-bottom: 1px solid var(--line); }
.nav-row { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1.2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; line-height: 1.12; }
.zip-mark { display: inline-block; width: 26px; height: 29px; border: 1.5px solid currentColor; border-radius: 4px 4px 6px 6px; position: relative; }
.zip-mark::before { content: ''; position: absolute; top: 6px; left: 3px; right: 3px; border-block: 1px solid currentColor; height: 4px; }
.zip-mark::after { content: ''; position: absolute; top: 5px; right: 4px; width: 4px; height: 7px; border-radius: 1px; background: currentColor; }
.wordmark strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; font-weight: 400; letter-spacing: -.035em; }
.wordmark small { display: block; margin-top: .26em; font-size: .73rem; font-weight: 650; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.55rem); }
.primary-nav > a, .primary-nav summary { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { text-decoration: underline; }
.disclosure { position: relative; }
.disclosure summary { list-style: none; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: ''; flex: 0 0 auto; width: .39em; height: .39em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -.2em 0 0 .48em; }
.disclosure[open] summary::after { transform: rotate(225deg); margin-top: .2em; }
.dropdown { position: absolute; right: 0; top: calc(100% + 3px); min-width: 13rem; background: #fff; padding: .4rem; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 20px #102a3a1c; }
.dropdown a, .dropdown span { display: flex; align-items: center; min-height: 44px; padding: .45rem .55rem; white-space: nowrap; font-size: .88rem; text-decoration: none; }
.dropdown a:hover { background: var(--bg); }
.mobile-nav, .mobile-actions { display: none; }

.hero { background: #eaf3f4; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: clamp(1.7rem, 4.2vw, 4.8rem); align-items: center; padding-block: clamp(3.3rem, 6.1vw, 6rem); }
.hero .lead { margin: 1.4rem 0 1.55rem; max-width: 47ch; }
.hero-note { margin-top: 1.25rem; font-size: .82rem; color: #345461; max-width: 55ch; }
.hero-media .figure { background: #f4f7f8; border: 1px solid #bfced0; box-shadow: 0 14px 48px #27475316; }
.figure { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.figure img { width: 100%; object-fit: contain; }
.figure figcaption { padding: .6rem .95rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.home-section { padding-block: clamp(2.9rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 1.5rem clamp(2rem, 9vw, 9rem); margin-bottom: 2rem; }
.section-heading > p, .feature-copy p, .buying-grid p, .review-list dd { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem clamp(2rem, 7vw, 7.5rem); align-items: center; }
.feature-copy { max-width: 54ch; }
.feature-copy > h2 + p { margin-top: 1.15rem; }
.feature-copy > .button { margin-top: 1.25rem; }
.measure-section, .buying-section { background: #fff; }
.review-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.3rem; }
.review-list > div { padding: 1rem 0; }
.review-list > div + div { border-top: 1px solid var(--line); }
.review-list dt { font-weight: 650; }
.review-list dd { margin: .2rem 0 0; }
.buying-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.buying-grid > a { display: block; padding: 1.15rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.buying-grid > a:hover { border-color: #75929b; background: #f0f7f7; }
.buying-grid h3 { margin-bottom: .45rem; }
.faq-section .feature-grid { align-items: start; }
.faq-list details, .prose details { border-top: 1px solid var(--line); }
.faq-list details:last-child, .prose details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .prose summary { min-height: 48px; padding: .75rem .2rem; font-weight: 650; }
.faq-list details p, .prose details p { padding: 0 .2rem .9rem; color: var(--muted); }
.closing-section { background: var(--ink); color: #fff; padding-block: clamp(2.8rem, 6vw, 5rem); }
.closing-section p { margin-top: .9rem; color: #d7e9ed; max-width: 52ch; }
.closing-section .actions { align-items: flex-start; flex-direction: column; }
.closing-section .contact-link { padding-block: .55rem; }

.crumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--muted); }
.page-hero { padding: 1.05rem 0 clamp(2.35rem, 6vw, 5rem); border-bottom: 1px solid var(--line); background: #eaf3f4; }
.page-hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.5rem); max-width: 19ch; margin: clamp(1.6rem, 4vw, 3.2rem) 0 .9rem; }
.page-hero .lead { max-width: 65ch; }
.prose { padding-block: clamp(2rem, 4.2vw, 4.1rem); }
.prose > * + *, .content-section > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
.prose section + section, .prose .content-section + .content-section { margin-top: clamp(2.2rem, 4vw, 3.6rem); }
.prose p, .prose ul, .prose ol { max-width: 75ch; }
.prose li + li { margin-top: .33rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose .figure:not(.gallery-grid .figure) { max-width: 620px; }
.prose .gallery-grid { max-width: 100%; }
.table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border-bottom: 1px solid var(--line); text-align: left; padding: .66rem .8rem; vertical-align: top; }
.prose th { background: #e9f2f3; }
.prose tr:last-child td { border-bottom: 0; }
.error-links { margin-top: 1.15rem; }

.site-footer { padding-block: 2.4rem 2rem; background: #e8f0f2; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-row p { font-size: .88rem; color: var(--muted); margin: .7rem 0 0; }
.footer-row nav, .footer-contacts { display: flex; flex-direction: column; align-items: flex-start; }
.footer-row h2 { font: 650 .88rem/1.4 Inter, Arial, sans-serif; margin: 0 0 .35rem; }
.footer-row a { font-size: .86rem; overflow-wrap: anywhere; }
.footer-row nav a, .footer-contacts a { display: flex; align-items: center; min-height: 44px; }
.footer-end { display: flex; flex-wrap: wrap; gap: .5rem 1.05rem; padding-top: .95rem; margin-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; }

@media (max-width: 1199px) {
  .primary-nav { display: none; }
  .mobile-nav { display: block; }
  .nav-row > .button { margin-inline-start: auto; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 44px; padding-inline: .4rem; font-weight: 650; }
  .band-tag { display: none; }
  .band-links { width: 100%; justify-content: space-between; }
}

@media (max-width: 767px) {
  :root { --header-height: 107px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 2rem); }
  .band-row { min-height: 44px; }
  .band-links > a, .band-links summary { min-height: 44px; }
  .full-label { display: none; }
  .compact-label { display: inline; }
  .nav-row { min-height: 62px; }
  .nav-row > .button { display: none; }
  .wordmark strong { font-size: 1.13rem; }
  .hero-grid, .section-heading, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 2.45rem 1.65rem; gap: 1.35rem; }
  .hero h1 { max-width: 14ch; }
  .hero .lead { margin-block: 1rem 1.25rem; }
  .hero-note { margin-top: .95rem; }
  .section-heading { gap: .9rem; margin-bottom: 1.3rem; }
  .measure-section .figure { order: 1; }
  .buying-grid, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-actions { display: grid; position: fixed; z-index: 19; left: 0; right: 0; bottom: 0; padding: .45rem 1rem calc(.45rem + env(safe-area-inset-bottom)); background: #f5f8faf5; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; gap: .55rem; }
  html:has(input:focus, textarea:focus, select:focus) .mobile-actions { display: none; }
}

@media (max-width: 365px) {
  .hero .actions .button { width: 100%; }
  .footer-row { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
}

@media print {
  .site-header, .site-footer, .mobile-actions, .skip-link { display: none; }
  body { padding: 0; }
}
