/* ============================================================
   AudioKey: shared styles
   A poster/zine-inspired system: cream + ink + lime + signal red,
   hard edges, thick borders, offset shadows, bento grids.
   ============================================================ */

:root {
  --bg: #f6f4ec;
  --paper: #eeebe0;
  --surface: #ffffff;
  --ink: #141414;
  --ink-soft: #47453d;
  --ink-dim: #83806f;
  --line: #141414;

  --lime: #d7ff3e;
  --lime-dark: #a8cc1f;
  --signal: #ff4d2e;
  --signal-dark: #d93c1f;
  --violet: #6a4cff;
  --violet-tint: #ece6ff;

  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-lg: 11px 11px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: "Archivo Black", "Work Sans", sans-serif; font-weight: 400; letter-spacing: -0.01em; margin: 0; text-transform: uppercase; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 54px 0; } }
.mono { font-family: "IBM Plex Mono", monospace; }

.text-lime { color: var(--lime-dark); }
.text-signal { color: var(--signal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--line);
  padding: 6px 13px; margin-bottom: 20px;
}
.eyebrow.signal { color: #fff; background: var(--signal); }
.eyebrow.dark { color: var(--lime); background: var(--ink); }

.section-head { max-width: 680px; margin: 0 auto 50px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 16px; line-height: 1.05; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.65; margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.02em;
  border: 2.5px solid var(--line); cursor: pointer; white-space: nowrap; font-family: "Work Sans", sans-serif;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--ink); }
.btn-lime { background: var(--lime); }
.btn-signal { background: var(--signal); color: #fff; }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-sm { padding: 10px 18px; font-size: 0.8rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-block { width: 100%; }

/* ===== Header ===== */
header.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 3px solid var(--line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 1.2rem; color: var(--ink); text-transform: uppercase; }
.brand-mark { width: 38px; height: 38px; background: var(--ink); border: 2.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 20px; height: 20px; }
nav.main-nav { display: flex; align-items: center; gap: 22px; }
nav.main-nav > a, .nav-drop > button { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-soft); position: relative; padding: 6px 0; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 5px; }
nav.main-nav > a:hover, nav.main-nav > a.active, .nav-drop > button:hover, .nav-drop.open > button { color: var(--ink); }
nav.main-nav > a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--signal); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-drop-menu { display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); background: var(--surface); border: 2.5px solid var(--line); box-shadow: var(--shadow); min-width: 240px; padding: 8px; z-index: 70; }
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-family: "Work Sans", sans-serif; }
.nav-drop-menu a:hover { background: var(--lime); }
.nav-drop-menu a .dm-title { font-weight: 700; font-size: 0.88rem; text-transform: none; }
.nav-drop-menu a .dm-desc { font-size: 0.74rem; color: var(--ink-dim); text-transform: none; font-weight: 500; }
.nav-drop-menu a:hover .dm-desc { color: var(--ink-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }
@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2.5px solid var(--line); background: var(--surface); cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; }
  nav.main-nav.mobile-open { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 3px solid var(--line); padding: 10px 24px 22px; }
  nav.main-nav.mobile-open > a { padding: 10px 0; width: 100%; }
  .nav-drop { width: 100%; }
  .nav-drop > button { width: 100%; justify-content: space-between; padding: 10px 0; }
  .nav-drop-menu { position: static; transform: none; display: none; border: none; box-shadow: none; width: 100%; padding: 0 0 6px 14px; border-left: 3px solid var(--lime); }
  .nav-drop.open .nav-drop-menu { display: block; }
}

/* ===== Page banner ===== */
.page-banner { background: var(--ink); color: var(--bg); padding: 64px 0 50px; border-bottom: 3px solid var(--line); }
.page-banner .wrap { text-align: left; }
.breadcrumb { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; color: #a8a598; margin-bottom: 18px; font-weight: 600; text-transform: uppercase; }
.breadcrumb a { color: var(--lime); font-weight: 700; }
.page-banner h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 16px; color: #fff; max-width: 780px; }
.page-banner p.lead { color: #c9c6b8; max-width: 640px; margin: 0; font-size: 1.05rem; line-height: 1.65; }

/* ===== Home hero ===== */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; background: var(--bg); border-bottom: 3px solid var(--line); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: end; }
@media (max-width: 940px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-copy { padding-bottom: 60px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 0.98; margin-bottom: 22px; }
.hero p.lead { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.65; max-width: 500px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; flex-direction: column; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; font-weight: 600; }
.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 15px; height: 15px; color: var(--signal); flex-shrink: 0; }
.hero-visual { position: relative; padding: 0 0 0 20px; }
@media (max-width: 940px) { .hero-visual { padding: 0; margin-top: 40px; } }
.hero-stack { display: flex; flex-direction: column; gap: 0; border-left: 3px solid var(--line); border-top: 3px solid var(--line); border-right: 3px solid var(--line); }
.hero-stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 22px; border-bottom: 3px solid var(--line); background: var(--surface); }
.hero-stat-row:nth-child(odd) { background: var(--paper); }
.hero-stat-row .hs-label { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hero-stat-row .hs-num { font-family: "Archivo Black", sans-serif; font-size: 1.5rem; }
.hero-stack .hero-stat-row.pop { background: var(--lime); }

/* ===== Sticker platform strip ===== */
.sticker-strip { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 10px 0; }
.sticker { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 2.5px solid var(--line); padding: 10px 16px; font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 0.82rem; box-shadow: var(--shadow-sm); }
.sticker:nth-child(3n+1) { transform: rotate(-2deg); }
.sticker:nth-child(3n+2) { transform: rotate(1.5deg); }
.sticker:nth-child(3n+3) { transform: rotate(-1deg); }
.sticker .sw { width: 22px; height: 22px; border: 2px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; color: #fff; }

/* ===== Bento grid ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 16px; }
.bento-item { border: 2.5px solid var(--line); background: var(--surface); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: transform .15s, box-shadow .15s; }
.bento-item:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-sm); }
.bento-item h3 { font-size: 1.05rem; }
.bento-item p { color: var(--ink-soft); font-size: 0.87rem; margin: 0; line-height: 1.55; text-transform: none; font-family: "Work Sans", sans-serif; }
.bento-item .icon { width: 40px; height: 40px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; background: var(--paper); }
.bento-item .icon svg { width: 20px; height: 20px; }
.bento-item.lime { background: var(--lime); }
.bento-item.signal { background: var(--signal); color: #fff; }
.bento-item.signal p { color: #ffe0d8; }
.bento-item.signal .icon { background: rgba(255,255,255,0.2); border-color: #fff; }
.bento-item.ink { background: var(--ink); color: var(--bg); }
.bento-item.ink p { color: #c9c6b8; }
.bento-item.ink .icon { background: #262626; border-color: var(--lime); }
.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-3 { grid-column: span 3; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.row-2 { grid-row: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item.span-2, .bento-item.span-3, .bento-item.span-4 { grid-column: span 2; }
  .bento-item.row-2 { grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item.span-2, .bento-item.span-3, .bento-item.span-4 { grid-column: span 1; }
}

/* ===== Diagonal divider ===== */
.diagonal-top { position: relative; }
.diagonal-top::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 46px; background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 0; }

/* ===== Timeline (process steps) ===== */
.timeline { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.timeline-row { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 26px 0; border-bottom: 2.5px solid var(--line); }
.timeline-row:last-child { border-bottom: none; }
.timeline-num { font-family: "Archivo Black", sans-serif; font-size: 2.4rem; color: var(--ink-dim); line-height: 1; }
.timeline-row.hi .timeline-num { color: var(--signal); }
.timeline-body h3 { font-size: 1.05rem; margin-bottom: 8px; text-transform: none; }
.timeline-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; line-height: 1.65; }
@media (max-width: 560px) { .timeline-row { grid-template-columns: 56px 1fr; gap: 16px; } .timeline-num { font-size: 1.7rem; } }

/* ===== Rate panel (pricing, non-table) ===== */
.rate-panel { display: grid; grid-template-columns: 1fr 1.3fr; border: 3px solid var(--line); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .rate-panel { grid-template-columns: 1fr; } }
.rate-panel-left { background: var(--ink); color: #fff; padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.rate-panel-left .rp-label { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 10px; }
.rate-panel-left .rp-num { font-family: "Archivo Black", sans-serif; font-size: 3.6rem; line-height: 1; margin-bottom: 10px; }
.rate-panel-left .rp-note { color: #c9c6b8; font-size: 0.92rem; line-height: 1.6; }
.rate-panel-right { background: var(--surface); padding: 36px; }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--paper); }
.rate-row:last-child { border-bottom: none; }
.rate-row .rr-label { font-weight: 700; font-size: 0.94rem; }
.rate-row .rr-sub { display: block; font-weight: 500; font-size: 0.8rem; color: var(--ink-dim); margin-top: 3px; text-transform: none; font-family: "Work Sans", sans-serif; }
.rate-row .rr-val { font-family: "Archivo Black", sans-serif; font-size: 1.3rem; flex-shrink: 0; }
.rate-row .rr-val.free { color: var(--lime-dark); }
.rate-row .rr-val.signal { color: var(--signal); }

/* ===== Add-on cards (not uniform pricing cards; asymmetric row) ===== */
.addon-list { display: flex; flex-direction: column; gap: 0; border: 2.5px solid var(--line); }
.addon-row { display: grid; grid-template-columns: 1.4fr 2fr 0.8fr; gap: 20px; align-items: center; padding: 24px 26px; border-bottom: 2.5px solid var(--line); }
.addon-row:last-child { border-bottom: none; }
.addon-row:nth-child(even) { background: var(--paper); }
@media (max-width: 760px) { .addon-row { grid-template-columns: 1fr; gap: 8px; } }
.addon-name { font-family: "Archivo Black", sans-serif; font-size: 1.05rem; }
.addon-desc { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; text-transform: none; }
.addon-price { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 0.92rem; text-align: right; }
@media (max-width: 760px) { .addon-price { text-align: left; } }

/* ===== Cards (general) ===== */
.card { background: var(--surface); border: 2.5px solid var(--line); padding: 26px; }
.card.lime { background: var(--lime); }
.card.paper { background: var(--paper); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border: 2.5px solid var(--line); }
details.faq-item { border-bottom: 2.5px solid var(--line); padding: 20px 22px; background: var(--surface); }
details.faq-item:last-child { border-bottom: none; }
details.faq-item summary { cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: "Work Sans", sans-serif; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .chev { transition: transform .2s; color: var(--ink-dim); flex-shrink: 0; }
details.faq-item[open] { background: var(--paper); }
details.faq-item[open] summary .chev { transform: rotate(180deg); }
details.faq-item p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; margin: 14px 0 0; }

/* ===== Pull quote ===== */
.pull-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.pull-quote blockquote { font-family: "Archivo Black", sans-serif; font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.25; margin: 0 0 20px; text-transform: none; }
.pull-quote cite { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; font-style: normal; color: var(--ink-dim); text-transform: uppercase; }

/* ===== CTA band ===== */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 66px 24px; border: 3px solid var(--line); margin: 0 24px; }
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 14px; color: #fff; }
.cta-band p { color: #c9c6b8; max-width: 480px; margin: 0 auto 28px; text-transform: none; font-family: "Work Sans", sans-serif; }

/* ===== Forms ===== */
.form-card { max-width: 720px; margin: 0 auto; background: var(--surface); border: 2.5px solid var(--line); padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }
.form-note { display: flex; gap: 10px; background: var(--violet-tint); border: 2.5px solid var(--violet); padding: 14px 16px; font-size: 0.85rem; color: #3b2894; margin-bottom: 28px; line-height: 1.55; }
.form-note svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: var(--violet); }
.form-note strong { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.field input, .field select, .field textarea { padding: 12px 13px; border: 2.5px solid var(--line); font-size: 0.92rem; font-family: "Work Sans", sans-serif; color: var(--ink); background: var(--bg); width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); box-shadow: 3px 3px 0 var(--lime); }
.field textarea { resize: vertical; min-height: 90px; }
.form-disclaimer { font-size: 0.78rem; color: var(--ink-dim); margin-top: 14px; text-align: center; line-height: 1.5; }

/* ===== Legal pages ===== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.15rem; margin: 40px 0 14px; text-transform: none; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.75; font-family: "Work Sans", sans-serif; }
.legal-content ul { margin: 10px 0 16px 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-meta { color: var(--ink-dim); font-size: 0.85rem; margin-bottom: 30px; font-family: "IBM Plex Mono", monospace; }
.legal-callout { display: flex; gap: 12px; background: var(--lime); border: 2.5px solid var(--line); padding: 16px 18px; margin-bottom: 36px; font-size: 0.87rem; color: var(--ink); line-height: 1.6; }
.legal-callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.legal-callout strong { color: var(--ink); }

/* ===== Footer ===== */
footer.site-footer { background: var(--ink); color: #c9c6b8; padding: 60px 0 28px; border-top: 3px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer .brand { color: #fff; }
footer .brand-mark { background: var(--lime); }
footer .brand-mark svg path { stroke: #141414; }
footer .foot-desc { color: #a8a598; font-size: 0.87rem; line-height: 1.6; max-width: 280px; margin: 14px 0 18px; text-transform: none; font-family: "Work Sans", sans-serif; }
footer h5 { color: var(--lime); font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 0.87rem; color: #c9c6b8; }
footer ul a:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border: 2px solid #4a4a45; display: flex; align-items: center; justify-content: center; color: #c9c6b8; }
.foot-social a:hover { border-color: var(--lime); color: var(--lime); }
.foot-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid #33322b; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: #83806f; font-family: "IBM Plex Mono", monospace; }
.footer-bottom a { color: #83806f; }
.footer-bottom a:hover { color: #c9c6b8; }
