/* Advizay Script Pack pages. Palette: ink #111111, warm white #FAF9F6, one orange accent #F97316. */
:root {
  --ink: #111111;
  --paper: #FAF9F6;
  --paper-2: #F1EEE7;
  --accent: #F97316;
  --accent-dark: #E5640A;
  --muted: #55524d;
  --line: #D9D4C9;
  --radius: 10px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Top bar: wordmark only. No menu on purpose. */
.topbar { padding: 22px 0; }
.wordmark {
  font-weight: 800; letter-spacing: .14em; font-size: .95rem; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.wordmark::before { content: ""; width: 32px; height: 21px; background: url("/logo-mark.webp") center / contain no-repeat; display: inline-block; }

.label {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.label.on-ink { color: #C9C4B8; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; color: #2b2925; }
.accent-rule { display: inline-block; background: linear-gradient(transparent 62%, rgba(249,115,22,.45) 62%); }

/* Hero */
.hero { padding: 24px 0 64px; }
.hero-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 34ch; }
.meta-line { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Form card */
.card {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(17,17,17,.55);
}
.card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.card .sub { color: #C9C4B8; font-size: 1rem; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 8px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 54px; padding: 14px 22px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: var(--ink); font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.ghost { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.auto { width: auto; }
.fine { font-size: .875rem; color: #C9C4B8; margin: 14px 0 0; line-height: 1.45; }
.fine a { color: #fff; }
.form-msg { min-height: 1.4em; font-size: .95rem; margin: 12px 0 0; color: #FFD2B0; }
.form-msg:empty { display: none; }

/* Sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { section.block { padding: 88px 0; } }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: #2b2925; margin-top: 14px; }

/* What's inside */
.pack-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 700px) { .pack-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.pack-grid li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pack-grid .n { font-family: var(--mono); font-size: .9rem; color: var(--muted); padding-top: 3px; }
.pack-grid strong { display: block; font-size: 1.1rem; }
.pack-grid span.d { color: var(--muted); font-size: 1rem; }
.pack-note { margin-top: 22px; font-weight: 600; }

/* Why */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.why-grid > div { border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; }
.why-grid h3 { margin-bottom: 8px; }
.why-grid p { margin: 0; color: #2b2925; }

/* How */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: "0" counter(s); display: block; font-family: var(--mono); font-size: 1.6rem; font-weight: 700;
  border-bottom: 3px solid var(--accent); padding-bottom: 10px; margin-bottom: 14px; width: 58px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: #2b2925; }

/* Catch / guarantee */
.two-col { display: grid; gap: 28px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two-col h3 { margin-bottom: 8px; }
.two-col p { margin: 0; color: #2b2925; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); padding: 72px 0; }
.final h2 { margin-bottom: 14px; }
.final .lead { color: #C9C4B8; }
.final .card { background: var(--paper); color: var(--ink); box-shadow: none; }
.final .card .sub, .final .card .fine { color: var(--muted); }
.final .card .fine a { color: var(--ink); }
.final .card .field input, .final .card .field textarea { background: #fff; border-color: var(--line); }
.final .card .form-msg { color: #9A3412; }
.final-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Footer */
.footer { padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.footer a { color: var(--muted); }

/* Thank-you page */
.ty { padding: 28px 0 72px; }
.ty h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); margin-bottom: 18px; }
.inbox-box {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px 22px; margin: 26px 0;
  background: var(--paper-2);
}
.inbox-box .label { margin-bottom: 6px; }
.inbox-box .subject { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; word-break: break-word; }
.ty-section { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }
.ty-section h2 { font-size: 1.6rem; margin-bottom: 10px; }
.ty-section .card { margin-top: 18px; }
.inline-ok { font-weight: 700; margin-top: 12px; }
.link-row { margin-top: 18px; font-size: 1rem; }

/* Privacy */
.doc { padding: 12px 0 64px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 14px; }
.doc h2 { font-size: 1.3rem; margin: 30px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { font-size: 1.05rem; }
.doc .note { background: var(--paper-2); border-left: 4px solid var(--accent); padding: 12px 16px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
