/* Folioplain website styles. Brand: Ink Navy #15202B, Lake Teal #1A5F5B, Amber Gold #E0A106, Ivory #F7F4EE */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #15202B; --teal: #1A5F5B; --teal-dark: #134744; --amber: #E0A106; --ivory: #F7F4EE;
  --paper: #FFFFFF; --line: #DDD6C8; --muted: #4A5560;
  --radius: 14px; --wrap: 1120px;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--navy); font: 400 1.125rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .card-title, .price, .footer-h { font-family: var(--head); line-height: 1.2; color: var(--navy); }
h1 { font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 1.6em 0 .6em; }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: #ECE6DA; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding-top: 40px; padding-bottom: 40px; }
.section-tight { margin-top: 32px; }
.lead { font-size: 1.25rem; color: var(--navy); }
.small { font-size: .95rem; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .85rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: .6em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-block; }
.brand img { width: 156px; height: auto; }
.main-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; font: 600 1rem/1.2 var(--head); color: var(--navy); text-decoration: none; }
.main-nav a:hover { background: var(--ivory); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff; border: 2px solid var(--teal); padding: 12px 22px; border-radius: 999px; font: 600 1.05rem/1.2 var(--head); text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #C98F00; border-color: #C98F00; color: var(--navy); }
.btn-small { padding: 9px 16px; font-size: .98rem; min-height: 44px; }
.btn-buy { width: 100%; font-size: 1.15rem; }

/* Hero */
.hero { background: var(--navy); color: #fff; border-left: 0; }
.hero-inner { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero-text { max-width: 620px; border-left: 6px solid var(--amber); padding-left: 24px; }
.hero-img { border-radius: var(--radius); }
.hero h1 { color: #fff; }
.hero .lead { color: #F1EDE4; }
.hero .eyebrow { color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 24px rgba(21, 32, 43, .12); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1; }
.card-title { font-weight: 800; font-size: 1.2rem; }
.card-text { color: var(--muted); font-size: 1rem; flex: 1; }
.price { font-weight: 800; font-size: 1.35rem; color: var(--teal); margin: 0; }
.price-free { color: var(--navy); }
.card .price { font-size: 1.15rem; }

/* Bands and features */
.band { padding: 44px 0; }
.band-teal { background: var(--teal); color: #fff; }
.band-teal h2, .band-teal .eyebrow { color: #fff; }
.band-teal .eyebrow { color: #FFE3A3; }
.band-teal h2 { margin-top: 0; }
.split { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); }
.features { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features li { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: 18px; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .5em; }

/* Product page */
.crumbs { font-size: .95rem; margin-bottom: 18px; }
.product-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.product-cover { border-radius: var(--radius); border: 1px solid var(--line); }
.product-summary h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.buy-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.buy-box .price { font-size: 2rem; margin-bottom: 12px; }
.facts { padding-left: 1.1em; margin: 12px 0 0; color: var(--muted); }
.checkout-note:empty { display: none; }
.checkout-note { background: #FFF4D6; border-left: 4px solid var(--amber); padding: 8px 12px; margin: 12px 0 0; }
.dl-list { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0 0 12px; }
.dl-list .btn { width: 100%; text-align: center; }
.product-body { max-width: 780px; margin-top: 8px; }
.prose h2 { font-size: 1.3rem; }
.prose li { margin-bottom: .35em; }
.table-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--head); background: #EFEAE0; }
td:first-child { word-break: break-word; min-width: 180px; }
tr:last-child td { border-bottom: 0; }
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.shot { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot figcaption { padding: 10px 14px; font-size: .95rem; color: var(--muted); }
.tag { display: inline-block; background: #FFF4D6; color: var(--navy); border-radius: 999px; padding: 0 10px; font-size: .85rem; font-weight: 600; }
.faq dt { font-family: var(--head); font-weight: 600; margin-top: 1em; }
.faq dd { margin: .3em 0 0; }

/* Contact and legal */
.contact-box { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: var(--radius); padding: 18px 22px; }
.legal h2 { font-size: 1.25rem; }
.draft-banner { background: #FFF4D6; border: 2px dashed var(--amber); padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; }

/* Footer */
.site-footer { background: var(--navy); color: #E8E4DB; margin-top: 48px; padding: 40px 0 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-h { color: #fff; font-size: 1rem; margin: 0 0 .6em; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 6px; }
.tagline { font-family: var(--head); font-weight: 600; color: var(--amber); margin: 10px 0; }
.copyright { border-top: 1px solid #2E3A46; margin-top: 28px; padding-top: 16px; color: #C9C3B8; }

@media (max-width: 820px) {
  .product-top, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { padding-left: 16px; }
  .brand img { width: 136px; }
  .header-inner { justify-content: center; }
  .main-nav a { padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
