/* Alpha Clothing PH export pages. Same colors and fonts as the main site (alpha-thread.com).
   Mobile first: one column, 16px gutters, 44px tap targets, 16px form text so iPhones do not zoom. */
:root {
  --ivory: #f5f1ea;
  --ivory-warm: #ebe4d6;
  --charcoal: #1a1612;
  --charcoal-soft: #2d2822;
  --gold: #d4a017;
  --gold-bright: #e6b52a;
  --clay: #9b3d1f;
  --muted: #6b6358;
  --line: rgba(26, 22, 18, 0.14);
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter Tight', -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--ivory); color: var(--charcoal);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: #fff; padding: 10px 14px; z-index: 300; }
.skip:focus { left: 8px; }
[data-needs]:not(.on) { display: none !important; }
[data-needs].on { display: inline-flex; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(245, 241, 234, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { text-decoration: none; line-height: 1.15; }
.brand b { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.2rem; display: block; }
.brand small { font-size: 0.72rem; color: var(--muted); display: block; }
.topnav { display: none; gap: 22px; font-size: 0.95rem; }
.topnav a { text-decoration: none; padding: 10px 0; }
.topnav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--charcoal); background: var(--gold); color: var(--charcoal); font: 600 1rem 'Inter Tight', sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--ivory-warm); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }

/* Sections */
section { padding: 52px 0; }
section[id], #request { scroll-margin-top: 72px; }
section.band { background: var(--ivory-warm); }
section.dark { background: var(--charcoal); color: var(--ivory); }
section.dark a { color: var(--gold-bright); }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dark .eyebrow { color: rgba(245, 241, 234, 0.6); }
.hero { padding: 44px 0 40px; }
.hero .lead { font-size: 1.2rem; margin-top: 18px; max-width: 34em; }
.small { font-size: 0.9rem; color: var(--muted); }
.dark .small { color: rgba(245, 241, 234, 0.7); }
.chips { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 10px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: #fff8; border-radius: var(--radius); padding: 10px 14px; font-size: 0.95rem; }
.notice { border-left: 4px solid var(--gold); background: #fff8; padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0; }

/* Two columns, cards, lists */
.cols { display: grid; gap: 22px; }
.card { background: #fff9; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-bottom: 10px; }
.ticks, .crosses { list-style: none; }
.ticks li, .crosses li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 4px; color: #2f6b3a; font-weight: 700; }
.crosses li::before { content: "\00D7"; position: absolute; left: 5px; color: var(--clay); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }

/* Tables become stacked cards on phones */
.table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.table th, .table td { text-align: left; padding: 12px 10px; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 679px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { background: #fff9; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; }
  .table td { border: 0; padding: 3px 0; }
  .table td:first-child { font-weight: 600; }
  .table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 0.85rem; }
}
.price { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 600; white-space: nowrap; }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin: 18px 0; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; background: #fff9; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: var(--ivory); font: 600 0.95rem 'Inter Tight', sans-serif; display: grid; place-items: center; }
.steps b { display: block; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; min-height: 48px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--clay); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 16px; }

/* Form */
.form { background: #fff; color: var(--charcoal); border-radius: 14px; padding: 22px 18px; margin-top: 18px; }
fieldset { border: 0; margin: 0 0 20px; min-width: 0; }
legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--ivory); font-size: 0.97rem; }
.opt input:checked + span { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font: 400 16px 'Inter Tight', sans-serif; background: #fff; color: var(--charcoal); }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--charcoal); outline: none; box-shadow: 0 0 0 3px var(--gold); }
.opt-note { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.err { color: #a02a12; font-weight: 600; margin: 8px 0; min-height: 1.2em; }
.honey { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.consent { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }
.step2[hidden], .step1[hidden] { display: none; }

/* Sticky phone button */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 241, 234, 0.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky.show { transform: none; }
.sticky .btn { width: 100%; }

/* Footer */
footer { background: var(--charcoal); color: rgba(245, 241, 234, 0.85); padding: 38px 0 90px; font-size: 0.92rem; }
footer a { color: var(--gold-bright); }
footer p { margin-bottom: 8px; }
.pixel-notice[hidden] { display: none; }

/* Legal pages */
.legal h2 { margin-top: 34px; font-size: 1.5rem; }
.legal h3 { margin-top: 20px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal table { margin: 12px 0 18px; }

@media (min-width: 680px) {
  .topnav { display: flex; }
  .cols.two { grid-template-columns: 1fr 1fr; }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .wrap { padding: 0 28px; }
  .form { padding: 32px; }
  .sticky { display: none; }
  footer { padding-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .sticky { transition: none; } }
