/* DWAi Store funnel. Hand-coded, mobile-first. Mirrors aistorebuilder layout tokens with DWAi branding. */
:root {
  --bg: #F4F3EE;
  --bg-alt-1: #F6F5F4;
  --bg-alt-2: #F1F0EE;
  --bg-alt-3: #FAF8F3;
  --ink: #000;
  --ink-2: #4C4C4C;
  --line: #E4E2DA;
  --card: #fff;
  --gold-1: #FFDA8A;
  --gold-2: #FFB921;
  --gold-ink: #8A5A00;
  --brand: #1F8A3B;       /* DWAi green (from logo) */
  --brand-ink: #1E1B3A;   /* DWAi navy (from logo) */
  --err: #B42318;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", Arial, sans-serif;
  --container: 1310px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 20px; }
.xsmall { font-size: 13px; line-height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Placeholders: visible on purpose so Shlomi can find and replace them */
.ph {
  background: rgba(255, 185, 33, .14);
  border-bottom: 1.5px dashed #C98A00;
  border-radius: 3px;
  padding: 0 3px;
  font-style: normal;
  color: inherit;
  white-space: normal;
}
.dark .ph { background: rgba(255, 218, 138, .16); border-bottom-color: var(--gold-1); }

/* Top bar + header */
.topbar {
  background: var(--brand-ink);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  padding: 8px 16px;
}
.site-header { padding: 14px 0; }
.site-header .container { display: flex; align-items: center; justify-content: center; }
.site-header .logo img { height: 36px; width: auto; }
.header-cta { display: none; }
@media (min-width: 768px) {
  .site-header .container { justify-content: space-between; }
  .site-header .logo img { height: 42px; }
  .header-cta {
    display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none;
    padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--ink); background: transparent;
  }
  .header-cta:hover { background: var(--ink); color: #fff; }
}

/* Type */
.eyebrow {
  display: inline-block;
  font-size: 13px; line-height: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.chip {
  display: inline-block;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 16px;
}
.h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 26px; line-height: 1.2;
  max-width: 720px; margin: 0 auto;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px; line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.h3 { font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
.lead { font-size: 17px; line-height: 26px; color: var(--ink-2); max-width: 680px; margin: 14px auto 0; }
@media (min-width: 768px) {
  .h1 { font-size: 44px; }
  .h2 { font-size: 40px; }
  .lead { font-size: 18px; line-height: 28px; }
}

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.bg-alt-1 { background: var(--bg-alt-1); }
.bg-alt-2 { background: var(--bg-alt-2); }
.bg-alt-3 { background: var(--bg-alt-3); }
.bg-white { background: #fff; }
.dark { background: #000; color: #fff; }
.dark .muted, .dark .eyebrow { color: #BDBDBD; }

/* CTA */
.cta-block { text-align: center; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 22px;
  padding: 16px 32px; border-radius: 12px; border: 0;
  text-decoration: none; cursor: pointer;
  min-height: 56px;
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
.btn-gold {
  background: linear-gradient(#FFDA8A, #FFB921);
  color: #000;
  box-shadow: 0 6px 18px rgba(255, 185, 33, .35), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-gold:hover { filter: brightness(1.03); box-shadow: 0 8px 24px rgba(255, 185, 33, .45), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-outline { background: #fff; color: #000; border: 2px solid #000; }
.btn-outline:hover { background: #000; color: #fff; }
.btn-block { width: 100%; }
.cta-block .btn { width: 100%; max-width: 480px; }
@media (min-width: 768px) { .cta-block .btn { width: auto; min-width: 360px; } }
.urgency {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; line-height: 20px; color: var(--ink-2);
  margin: 12px auto 0; max-width: 520px;
}
.urgency .ico { flex: 0 0 auto; }
.dark .urgency { color: #CFCFCF; }

/* Hero */
.hero { padding: 24px 0 48px; text-align: center; }
@media (min-width: 768px) { .hero { padding: 40px 0 72px; } }
.hero .sub { font-size: 17px; line-height: 26px; color: var(--ink-2); max-width: 680px; margin: 16px auto 0; }
.cost-line { font-size: 13px; line-height: 19px; color: var(--ink-2); max-width: 620px; margin: 12px auto 0; }
.important-box {
  background: #fff;
  border-radius: 17px;
  padding: 14px;
  max-width: 888px;
  margin: 28px auto 0;
  box-shadow: var(--shadow);
  text-align: left;
}
.important-box .notice { font-size: 15px; line-height: 22px; padding: 4px 4px 14px; }
.important-box .notice strong { text-transform: uppercase; letter-spacing: .02em; }
.video-ph {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #ECEAE3 0 14px, #E5E3DB 14px 28px);
  border: 1.5px dashed #BDB9AD;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  color: #5E5A4E; text-align: center; padding: 16px;
}
.video-ph .play {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,0,0,.75); display: flex; align-items: center; justify-content: center;
}
.video-ph .play::after {
  content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px;
}
.video-ph .label { font-weight: 700; letter-spacing: .06em; font-size: 14px; }
.video-ph .desc { font-size: 13px; line-height: 18px; max-width: 420px; }
.video-ph.gold-frame { border: 4px solid var(--gold-2); }
.trust { margin-top: 28px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.trust p { margin: 4px 0; }
.built-with {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}

/* Value table */
.value-card {
  background: #fff; border-radius: 17px; box-shadow: var(--shadow);
  max-width: 760px; margin: 0 auto; overflow: hidden;
}
.value-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid #EFEDE6; align-items: start;
}
.value-row .item { font-size: 15px; line-height: 22px; }
.value-row .item strong { display: block; font-size: 16px; }
.value-row .price { font-weight: 600; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.value-row .num {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); font-size: 12px; font-weight: 700; align-items: center; justify-content: center;
  margin-right: 8px; vertical-align: 2px;
}
.value-total { background: var(--bg-alt-3); }
.value-total .item, .value-total .price { font-size: 17px; font-weight: 700; }
.value-total .sub { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.value-free { background: #000; color: #fff; border-bottom: 0; align-items: center; }
.value-free .item { font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.value-free .price {
  font-size: 28px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(#FFDA8A, #FFB921); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.table-note { max-width: 760px; margin: 14px auto 0; text-align: center; }
@media (min-width: 768px) {
  .value-row { padding: 18px 28px; }
  .value-free .price { font-size: 34px; }
}

/* Story / text column */
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 27px; }
.prose p { margin-bottom: 16px; }
.disclosure-inline {
  border-left: 4px solid var(--gold-2); background: #fff; padding: 12px 16px; border-radius: 8px;
  font-size: 15px; line-height: 22px;
}

/* Cards grid */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px;
}
.card p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 22px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; stroke: var(--brand-ink); }
.card .tag { display: block; margin-top: 10px; font-size: 12px; line-height: 16px; }
.module-num {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 8px; display: block;
}

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; }
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#FFDA8A, #FFB921);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.step p { color: var(--ink-2); margin: 0; }

/* Examples carousel (dark) */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
@media (min-width: 768px) { .carousel { grid-auto-columns: calc((100% - 28px) / 3); } }
.carousel > * { scroll-snap-align: start; }
.example {
  background: #141414; border: 1px solid #2A2A2A; border-radius: var(--radius); padding: 14px;
}
.example .shot {
  aspect-ratio: 4 / 3; border-radius: 10px; border: 1.5px dashed #555;
  background: repeating-linear-gradient(135deg, #1C1C1C 0 14px, #222 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  color: #CFCFCF; font-size: 13px; line-height: 18px;
}
.example .cap { margin-top: 12px; font-size: 14px; line-height: 20px; color: #E6E6E6; }
.carousel-nav { display: none; justify-content: center; gap: 10px; margin-top: 16px; }
@media (min-width: 768px) { .carousel-nav { display: flex; } }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #444; background: #111; color: #fff;
  font-size: 18px; cursor: pointer;
}
.results-block { margin-top: 28px; }
.result-disclaimer { font-style: italic; font-size: 13px; line-height: 18px; color: #BDBDBD; margin-top: 6px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 0 18px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative;
  font-weight: 600; font-size: 17px; line-height: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; border-radius: 6px; }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: #111; color: #D6D6D6; padding: 40px 0 96px; font-size: 13px; line-height: 20px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.site-footer .brand-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer .brand-line img { height: 30px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.site-footer .tagline { color: #fff; font-weight: 600; }
.site-footer h4 { color: #fff; font-size: 13px; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer p { margin: 0 0 10px; max-width: 980px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0; padding: 0; list-style: none; }
.footer-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .copy { color: #9A9A9A; margin-top: 12px; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 243, 238, .96); backdrop-filter: saturate(1.2) blur(6px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; min-height: 56px; font-size: 17px; padding: 14px 20px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ===== Sign-up page ===== */
.page-signup { background: #fff; }
.signup-wrap { max-width: 480px; margin: 0 auto; padding: 20px 16px 40px; }
.signup-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.signup-logo img { height: 40px; width: auto; }
.signup-h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; text-align: center; letter-spacing: -0.01em;
}
@media (min-width: 768px) { .signup-h1 { font-size: 32px; } .signup-wrap { padding-top: 40px; } }
.signup-sub { text-align: center; color: var(--ink-2); margin: 10px 0 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px; line-height: 20px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; line-height: 20px; margin-bottom: 6px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"] {
  width: 100%; min-height: 50px; font: inherit; font-size: 16px; line-height: 22px;
  padding: 12px 14px; border: 1.5px solid #CFCBC0; border-radius: 10px; background: #fff; color: #000;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(255, 185, 33, .45); }
.form-field.invalid input { border-color: var(--err); }
.help { display: block; font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 6px; }
.error { display: none; font-size: 13px; line-height: 18px; color: var(--err); margin-top: 6px; font-weight: 500; }
.invalid .error { display: block; }
.suggest { display: none; font-size: 13px; margin-top: 6px; }
.suggest.show { display: block; }
.suggest button { font: inherit; background: none; border: 0; color: var(--brand); text-decoration: underline; padding: 0; cursor: pointer; font-weight: 600; }
.iti { width: 100%; display: block; }
.iti__tel-input { width: 100%; }
.consent {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: #333;
  background: var(--bg-alt-3); border: 1px solid #ECE8DC; border-radius: 10px; padding: 12px;
}
.consent-wrap { margin: 6px 0 16px; }
.consent input[type="checkbox"] {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #000; cursor: pointer;
}
.consent label { cursor: pointer; }
.consent a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.consent-wrap.invalid .consent { border-color: var(--err); }
.submit-note { text-align: center; font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 10px; }
.privacy-micro { text-align: center; font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 4px; }
.btn .spinner {
  width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%;
  animation: spin .7s linear infinite; display: none;
}
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.signup-footer { border-top: 1px solid #EEE; }
.page-signup .site-footer { padding-bottom: 40px; }

/* ===== Thank-you page ===== */
.ty-hero { padding: 24px 0 40px; text-align: center; }
@media (min-width: 768px) { .ty-hero { padding: 40px 0 64px; } }
.hl {
  background: linear-gradient(transparent 58%, rgba(255, 185, 33, .75) 58%);
  padding: 0 2px;
}
.hi-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.save-number {
  display: inline-block; text-align: center;
  background: #fff; border-radius: 12px; padding: 10px 16px; margin-top: 16px; box-shadow: var(--shadow);
  font-size: 15px; line-height: 22px;
}
.save-number a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.ty-video { max-width: 760px; margin: 28px auto 0; }
.todo { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.todo .item { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 40px 1fr; gap: 14px; text-align: left; }
.todo .n { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(#FFDA8A, #FFB921); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.todo .item .btn { width: 100%; margin-top: 12px; }
@media (min-width: 640px) { .todo .item .btn { width: auto; min-width: 300px; } }
.todo .under { font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 8px; }
.todo p { margin: 0; color: var(--ink-2); }

/* Stevie QA 2026-10-04: keep hero CTA closer to the fold on desktop; thank-you actions first */
@media (min-width: 768px) { .important-box { max-width: 720px; } }
.ty-next { padding-top: 24px; }
@media (min-width: 768px) { .ty-next { padding-top: 32px; } }
.todo .item .btn { padding-left: 16px; padding-right: 16px; }
/* Stevie QA: tighter sign-up stack so the submit button clears the fold on common phones */
@media (max-width: 767px) {
  .signup-wrap { padding-top: 14px; }
  .signup-logo { margin-bottom: 10px; }
  .signup-logo img { height: 34px; }
  .signup-sub { margin: 8px 0 10px; }
  .checks { margin-bottom: 14px; }
  .form-field { margin-bottom: 12px; }
  .consent-wrap { margin: 4px 0 12px; }
}
