/* CuttingPremiums — site styles */
:root {
    --ink: #0B1F44;
    --ink-2: #33425F;
    --muted: #61708A;
    --paper: #F5F7FB;
    --white: #FFFFFF;
    --line: #DDE3EE;
    --line-2: #C3CCDC;
    --mint: #22C38E;
    --mint-dark: #0B8A5F;
    --teal: #2451E6;
    --teal-bg: #E6EDFF;
    --red: #D9472B;
    --head: 'Archivo', 'Avenir Next', system-ui, sans-serif;
    --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    --read: 'Source Serif 4', Charter, Georgia, serif;
    --wrap: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 99; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: 'Sora', var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.04em; }
.brand svg { width: 34px; height: 34px; }
.brand .wm span { color: var(--mint-dark); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.94rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav .nav-cta { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 8px; }
.nav .nav-cta:hover { background: #000; color: var(--paper); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font: 600 0.9rem var(--body); color: var(--ink); cursor: pointer; }

/* ---------- buttons & zip ---------- */
.zip-form { max-width: 470px; }
.zip-row { display: flex; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 5px; }
.zip-input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 12px; font: 700 1.3rem var(--body); letter-spacing: 0.24em; color: var(--ink); }
.zip-input::placeholder { font-weight: 500; font-size: 1rem; letter-spacing: 0.01em; color: #94A0B5; }
.zip-row:focus-within { box-shadow: 0 0 0 4px rgba(34,195,142,.35); }
.zip-row.error { border-color: var(--red); }
.zip-row.valid { border-color: var(--teal); }
.zip-btn, .btn { font: 700 1rem var(--body); border: 0; border-radius: 9px; cursor: pointer; padding: 13px 20px; background: var(--mint); color: var(--ink); white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: filter .15s, transform .08s; }
.zip-btn:hover, .btn:hover { filter: brightness(1.05); }
.zip-btn:active, .btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.zip-error { color: var(--red); font-size: 0.86rem; font-weight: 600; min-height: 1.35em; margin-top: 6px; }
.zip-note { font-size: 0.84rem; color: var(--muted); }
@keyframes shake { 0%,100%{transform:translateX(0)} 10%,30%,50%,70%,90%{transform:translateX(-5px)} 20%,40%,60%,80%{transform:translateX(5px)} }

/* ---------- home: hero ---------- */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.kicker { font-family: var(--head); font-weight: 600; font-size: 0.95rem; color: var(--teal); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.hero h1 { font-family: var(--head); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--mint-dark); }
.hero .lede { font-size: 1.14rem; color: var(--ink-2); max-width: 520px; margin-bottom: 26px; }
.hero .zip-label { font-weight: 700; margin-bottom: 8px; display: block; }
.facts { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.facts div { font-size: 0.9rem; color: var(--ink-2); }
.facts b { display: block; font-family: var(--head); font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; }

/* quote board illustration */
.board { background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -38px rgba(26,24,48,.45); }
.board-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.board-h b { font-family: var(--head); font-size: 1.08rem; letter-spacing: -0.01em; }
.board-h span { font-size: 0.78rem; color: var(--muted); }
.board-sub { font-size: 0.85rem; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); margin-bottom: 8px; }
.qrow { display: grid; grid-template-columns: 92px 1fr 72px; align-items: center; gap: 12px; padding: 9px 0; font-size: 0.92rem; }
.qrow .bar { height: 12px; border-radius: 6px; background: #E6ECF6; position: relative; overflow: hidden; }
.qrow .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: #BFD0FF; }
.qrow .p { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.qrow.best .bar i { background: var(--mint); }
.qrow.best .p, .qrow.best span:first-child { color: var(--mint-dark); }
.qrow.best span:first-child { font-weight: 700; }
.board-f { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; font-size: 0.86rem; }
.board-f b { color: var(--mint-dark); }
.board-note { font-size: 0.74rem; color: var(--muted); margin-top: 10px; }

/* ---------- home: sections ---------- */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--white); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.45rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 10px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { list-style: none; padding: 22px 26px 6px 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line-2); }
.steps .n { font-family: var(--head); font-weight: 800; font-size: 2.6rem; color: var(--mint); line-height: 1; letter-spacing: -0.04em; }
.steps h3 { font-family: var(--head); font-size: 1.22rem; margin: 10px 0 6px; letter-spacing: -0.015em; }
.steps p { color: var(--ink-2); }

.cover { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cover article { border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; background: var(--paper); }
.cover h3 { font-family: var(--head); font-size: 1.12rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.cover h3 svg { width: 24px; height: 24px; flex-shrink: 0; }
.cover p { font-size: 0.96rem; color: var(--ink-2); }
.cover .not { background: transparent; border-style: dashed; }
.cover .not h3 { color: var(--red); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.why-list { list-style: none; }
.why-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-list li:first-child { border-top: 1px solid var(--line); }
.why-list h3 { font-family: var(--head); font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.why-list p { color: var(--ink-2); font-size: 0.98rem; }
.quote-callout { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 34px 30px; }
.quote-callout p.big { font-family: var(--head); font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px; }
.quote-callout p.big em { font-style: normal; color: var(--mint); }
.quote-callout p { color: #C9D3E6; }
.quote-callout a { color: var(--mint); }

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.guide-card .tag { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.guide-card h3 { font-family: var(--head); font-size: 1.15rem; line-height: 1.25; margin: 8px 0 8px; letter-spacing: -0.015em; }
.guide-card p { font-size: 0.92rem; color: var(--ink-2); }
.guide-card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.all-link { margin-top: 22px; font-weight: 700; }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 680px; }

.final { padding: 72px 0; background: var(--ink); color: var(--paper); }
.final .wrap { display: grid; grid-template-columns: 1fr 470px; gap: 40px; align-items: center; }
.final h2 { font-family: var(--head); font-size: clamp(1.9rem, 3.8vw, 2.6rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 10px; }
.final p { color: #C9D3E6; }
.final .zip-row { border-color: var(--mint); }
.final .zip-note { color: #A6B3CC; margin-top: 4px; }
.final .zip-error { color: #FF9B8F; }

/* ---------- footer ---------- */
.site-footer { background: #071530; color: #A6B3CC; padding: 54px 0 34px; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.site-footer .brand { color: var(--paper); margin-bottom: 10px; }
.site-footer h4 { color: var(--paper); font-family: var(--head); font-size: 0.98rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #D3DCEC; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.legal { border-top: 1px solid #1B3366; padding-top: 22px; font-size: 0.78rem; line-height: 1.7; }
.legal p + p { margin-top: 8px; }

/* ---------- inner pages (articles, legal) ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.page-head { padding: 18px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.page-head h1 { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 820px; margin-bottom: 12px; }
.page-head .dek { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }
.page-head .meta { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }

.layout { display: grid; grid-template-columns: minmax(0, 700px) 300px; gap: 60px; align-items: start; padding-bottom: 70px; }
.prose { font-family: var(--read); font-size: 1.13rem; line-height: 1.72; color: #132A57; }
.prose p { margin-bottom: 1.05em; }
.prose h2 { font-family: var(--head); font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; margin: 1.8em 0 0.6em; color: var(--ink); }
.prose h3 { font-family: var(--head); font-size: 1.2rem; margin: 1.4em 0 0.4em; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose li { margin-bottom: 0.45em; padding-left: 4px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--body); font-size: 0.95rem; margin: 0.6em 0 1.4em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--white); font-weight: 700; border-bottom: 2px solid var(--ink); }
.prose .note { font-family: var(--body); font-size: 0.98rem; background: var(--teal-bg); border-left: 3px solid var(--teal); padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 1.2em 0 1.4em; }
.prose .inline-cta { font-family: var(--body); background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; margin: 1.8em 0; }
.prose .inline-cta h3 { margin: 0 0 4px; }
.prose .inline-cta p { font-size: 0.98rem; color: var(--ink-2); margin-bottom: 12px; }
.prose .disclaim { font-family: var(--body); font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2em; }

.side { position: sticky; top: 90px; }
.side-box { background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 20px; margin-bottom: 18px; }
.side-box h3 { font-family: var(--head); font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.side-box p { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 12px; }
.side-box .zip-row { flex-direction: column; gap: 6px; }
.side-box .zip-btn { justify-content: center; }
.side-box ul { list-style: none; }
.side-box li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.93rem; }
.side-box li a { color: var(--ink); text-decoration: none; font-weight: 600; }
.side-box li a:hover { text-decoration: underline; }

.legal-doc { max-width: 780px; padding-bottom: 70px; }
.legal-doc .prose { font-family: var(--body); font-size: 1rem; }
.legal-doc .prose h2 { font-size: 1.3rem; }
.legal-doc .toc { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; font-size: 0.95rem; }
.legal-doc .toc ol { margin-left: 1.2em; columns: 2; column-gap: 30px; }
.legal-doc .toc li { margin-bottom: 4px; }
.ph { background: #DDF7EC; padding: 0 4px; border-radius: 3px; font-weight: 600; }

.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 70px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .hero .wrap, .why, .final .wrap { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-top: 40px; }
    .layout { grid-template-columns: minmax(0, 1fr); }
    .side { position: static; }
    .guides { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 22px 16px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }
    .menu-btn { display: block; }
    .steps, .cover, .guides, .guide-list { grid-template-columns: 1fr; }
    .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
    section.block { padding: 54px 0; }
    .legal-doc .toc ol { columns: 1; }
    .prose { font-size: 1.06rem; }
}
@media (max-width: 480px) {
    .zip-row { flex-direction: column; gap: 6px; }
    .zip-btn { justify-content: center; padding: 14px; }
    .facts { gap: 18px; }
    .qrow { grid-template-columns: 78px 1fr 64px; }
}

/* ---------- CuttingPremiums: illustrations & motion ---------- */
.hero-art { position: relative; }
.hero-art .art { width: 100%; height: auto; border-radius: 22px; }
.hero-art .board { position: relative; margin: -70px 0 0 14%; width: 86%; }
.guide-card .thumb { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 16/9; object-fit: cover; margin: -22px -22px 16px; border-radius: 14px 14px 0 0; background: #EEF3FB; }
.guide-hero { margin: 6px 0 30px; max-width: 820px; }
.guide-hero img { width: 100%; height: auto; border-radius: 18px; background: #EEF3FB; }
.page-art { width: 100%; height: auto; border-radius: 18px; margin: 0 0 24px; background: #EEF3FB; }
.explainer { margin: 40px auto 0; max-width: 960px; }
.explainer video { width: 100%; height: auto; display: block; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 30px 60px -40px rgba(11,31,68,.45); }
.explainer figcaption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 10px; }
@media (max-width: 980px) { .hero-art .board { margin: -60px 0 0 5%; width: 95%; } }
