/* Poppy Ads — clean white SaaS frame, groovy AdVan-van accents
   Palette from the AdVan retro logo: steel blue van, orange/yellow bubble
   lettering, cream racing stripe, deep navy outlines. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --ink: #232130;
  --ink-soft: #6B6878;
  --orange: #E8823A;
  --orange-deep: #D96C2C;
  --orange-soft: #FDEFE2;
  --yellow: #F5B93F;
  --yellow-soft: #FDF4DC;
  --blue: #5C8FBF;
  --blue-deep: #3E6C99;
  --blue-soft: #EAF2F9;
  --navy: #2E2A4A;
  --cream: #F8EFE0;
  --line: #E9E7F0;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(35, 33, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(35, 33, 48, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; }

img { max-width: 100%; display: block; }

a { color: var(--orange-deep); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Groovy tri-stripe — the van's racing stripe as a brand motif */
.groove {
  height: 9px; border: 0;
  background: linear-gradient(
    to bottom,
    var(--yellow) 0 33.3%,
    var(--orange) 33.3% 66.6%,
    var(--blue) 66.6% 100%
  );
}

/* ── Nav ─────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Shrikhand", cursive; font-size: 1.3rem; font-weight: 400;
  color: var(--orange-deep); text-decoration: none; letter-spacing: .01em;
}
.brand svg { width: 32px; height: 32px; }
.brand-logo { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.94rem; }
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ─────────────────────── */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 0.97rem;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(217, 108, 44, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 108, 44, 0.4); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Poppy-field hero (landing) ───── */
.hero-pop {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}

/* popping daisies — same mark as the logo, AdVan palette */
.pf-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pf { position: absolute; transform: scale(0); opacity: 0;
  animation: flowerPop var(--dur, 9s) ease-in-out var(--d, 0s) infinite; }
@keyframes flowerPop {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  10%  { transform: scale(1.18) rotate(6deg); opacity: .38; }
  16%  { transform: scale(1) rotate(0deg); opacity: .34; }
  62%  { transform: scale(1.04) rotate(4deg); opacity: .34; }
  78%  { transform: scale(0) rotate(18deg); opacity: 0; }
  100% { transform: scale(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pf { animation: none; transform: scale(1); opacity: .3; }
  .hero-peek { animation: none !important; }
}

/* peek-a-boo product shot — single card gliding in from the right.
   (Stacked-cards variant documented in docs/HERO-STACK.md if we want it back.) */
.hero-peek {
  position: absolute; z-index: 1;
  right: -6%; top: 50%;
  width: min(55vw, 1040px);
  transform: translate(0, -50%) rotate(-8deg);
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 40px 90px rgba(35, 33, 48, 0.26);
  animation: peekIn 2.4s cubic-bezier(.22, 1, .36, 1) .35s both;
  will-change: transform, opacity;
}
@keyframes peekIn {
  from { transform: translate(12%, -50%) rotate(-8deg); opacity: 0; }
  to   { transform: translate(0, -50%) rotate(-8deg); opacity: 1; }
}

.hp-wrap { position: relative; z-index: 2; width: 100%; }
.hp-copy { max-width: 560px; padding: 90px 0; }
.hp-copy h1 { font-size: clamp(2.4rem, 4vw, 3.8rem); margin: 0 0 18px; }
.hp-copy h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--yellow) 0%, var(--orange) 45%, var(--blue) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-copy .lede { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 30px; }
.hp-copy .badge { margin-bottom: 22px; }
.hp-copy .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hp-copy .badge, .hp-copy h1, .hp-copy .lede { text-shadow: 0 0 18px rgba(255,255,255,.9); }

@media (max-width: 1000px) {
  .hero-pop { min-height: 0; display: flex; flex-direction: column; }
  .hp-wrap { order: 1; }
  .hero-peek {
    order: 2; position: relative; right: auto; top: auto; display: block;
    width: 94%; margin: 4px auto 48px;
    transform: rotate(-3deg); animation: none;
  }
  .hp-copy { padding: 48px 0 28px; max-width: none; }
}

/* ── Multi-pane app hero (landing) ── */
.hero-app { border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 260px 1fr minmax(380px, 34vw);
  min-height: calc(100vh - 70px); width: 100%;
}

.hero-side {
  border-right: 1px solid var(--line); background: #fff;
  padding: 26px 16px 22px; display: flex; flex-direction: column; gap: 4px;
}
.hs-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.05rem; padding: 0 12px 18px; }
.hs-label { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); padding: 0 12px 8px; }
.hs-nav { display: flex; flex-direction: column; gap: 4px; }
.hs-nav button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 11px 12px; border: 0; background: transparent; border-radius: 12px;
  font-family: inherit; font-size: .93rem; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: left; transition: background .12s ease;
}
.hs-nav button:hover { background: var(--bg-soft); }
.hs-nav button.active { background: var(--orange-soft); color: var(--orange-deep); }
.hs-nav button .ic { width: 22px; text-align: center; }
.hs-card {
  margin-top: auto; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.hs-card strong { font-size: .95rem; }
.hs-card span { font-size: .82rem; color: var(--ink-soft); }
.hs-card .btn { text-align: center; padding: 10px 16px; font-size: .88rem; margin-top: 4px; }

.hero-main { position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-main .sunburst {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 1400px; height: 1400px; opacity: .5; pointer-events: none;
  animation: heroSpin 160s linear infinite;
}
.hero-main .sunburst path { fill: var(--yellow-soft); }
@keyframes heroSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hm-inner { position: relative; z-index: 1; padding: clamp(40px, 5vw, 84px) clamp(28px, 4.5vw, 72px); max-width: 760px; }
.hm-inner h1 { font-size: clamp(2.4rem, 3.9vw, 3.7rem); margin: 0 0 18px; }
.hm-inner h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--yellow) 0%, var(--orange) 45%, var(--blue) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-inner .lede { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 560px; }
.hm-inner .badge { margin-bottom: 22px; }
.hm-inner .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hm-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hm-stats div { display: flex; flex-direction: column; }
.hm-stats strong { font-size: 1.35rem; font-weight: 800; color: var(--blue-deep); }
.hm-stats span { font-size: .82rem; color: var(--ink-soft); }

.hero-preview {
  border-left: 1px solid var(--line); background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.hero-preview::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; z-index: 2;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%);
}
.hero-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
}
.hp-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(35, 33, 48, 0.85); color: #fff; backdrop-filter: blur(4px);
  border-radius: 999px; padding: 8px 16px; font-size: .82rem; font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 240px 1fr; }
  .hero-preview { display: none; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-side { flex-direction: column; border-right: 0; border-bottom: 1px solid var(--line); }
  .hs-nav { flex-direction: row; overflow-x: auto; }
  .hs-nav button { white-space: nowrap; }
  .hs-card { display: none; }
}

/* ── Hero (classic, products page) ── */
.hero { position: relative; overflow: hidden; padding: 88px 0 48px; text-align: center; }
.sunburst {
  position: absolute; left: 50%; top: -360px; transform: translateX(-50%);
  width: 1250px; height: 1250px; z-index: 0; opacity: .55; pointer-events: none;
  animation: spin 140s linear infinite;
}
.sunburst path { fill: var(--yellow-soft); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.hero > .wrap { position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-soft); color: var(--orange-deep);
  border: 1px solid #F3DFAE; border-radius: 999px;
  padding: 7px 16px; font-weight: 700; font-size: .84rem; letter-spacing: .02em;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); max-width: 880px; margin: 0 auto 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--yellow) 0%, var(--orange) 45%, var(--blue) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 660px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 58px; }
.hero-shot {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1040px; margin: 0 auto; background: var(--card);
}
.hero-shot::before {
  content: ""; display: block; height: 8px;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%);
}
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--ink-soft); }

/* ── Sections ────────────────────── */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 52px; }
.section-head .badge { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.07rem; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.van-art { width: min(440px, 80%); height: auto; margin: 0 auto 10px; border-radius: 14px; }

/* ── Product tour rows ───────────── */
.tour-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.tour-row:last-of-type { margin-bottom: 0; }
.tour-row.flip .tour-copy { order: 2; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px;
}
.tour-copy h3 { font-size: 1.65rem; margin-bottom: 14px; }
.tour-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.tour-copy ul { list-style: none; }
.tour-copy li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.tour-copy li::before { content: "✿"; position: absolute; left: 0; color: var(--orange); }
.tour-shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--card);
}
.tour-shot::before {
  content: ""; display: block; height: 6px;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%);
}

/* ── App-window features (viewport-split demo) ── */
/* Full-bleed: the demo spans the whole viewport with just a small gutter,
   while regular content stays inside .wrap. */
.app-bleed { width: 100%; padding: 0 28px; }
.app-window {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg);
  max-width: 1720px; margin: 0 auto;
}
.app-chrome {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.app-chrome .dot { width: 12px; height: 12px; border-radius: 50%; }
.app-chrome .dot:nth-child(1) { background: var(--orange); }
.app-chrome .dot:nth-child(2) { background: var(--yellow); }
.app-chrome .dot:nth-child(3) { background: var(--blue); }
.app-chrome .app-url {
  margin-left: 14px; flex: 1; max-width: 380px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-size: .78rem; color: var(--ink-soft); padding: 4px 12px;
}
.app-body { display: grid; grid-template-columns: 260px 1fr 300px; min-height: 72vh; }

.app-side { border-right: 1px solid var(--line); padding: 18px 12px; background: #fff; }
.app-side .side-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 0 12px 10px; }
.app-nav { display: flex; flex-direction: column; gap: 4px; }
.app-nav button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 11px 12px; border: 0; background: transparent; border-radius: 12px;
  font-family: inherit; font-size: .93rem; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: left; transition: background .12s ease;
}
.app-nav button:hover { background: var(--bg-soft); }
.app-nav button.active { background: var(--orange-soft); color: var(--orange-deep); }
.app-nav button .ic { font-size: 1.05rem; width: 24px; text-align: center; }

.app-main { background: var(--bg-soft); padding: 26px; display: flex; flex-direction: column; }
.app-main .main-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.app-main .main-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 18px; }
.app-main .main-shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); margin-top: auto; margin-bottom: auto;
}

.app-aside { border-left: 1px solid var(--line); padding: 24px 22px; background: #fff; }
.app-aside h4 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.app-aside ul { list-style: none; margin-bottom: 22px; }
.app-aside li { padding-left: 26px; position: relative; margin-bottom: 12px; font-size: .93rem; }
.app-aside li::before { content: "✿"; position: absolute; left: 0; color: var(--orange); }
.stat-chip {
  background: var(--blue-soft); color: var(--blue-deep);
  border: 1px solid #D5E4F2; border-radius: 12px; padding: 14px 16px;
}
.stat-chip .num { font-weight: 800; font-size: 1.3rem; display: block; }
.stat-chip .lbl { font-size: .82rem; }

/* ── Compare table ───────────────── */
.compare-wrap { overflow-x: auto; }
table.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
  min-width: 640px;
}
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare thead th:first-child { width: 34%; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td.yes { color: var(--orange-deep); font-weight: 800; }
.compare td.meh { color: var(--ink-soft); }
.compare-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }

/* ── FAQ ─────────────────────────── */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }
.faq details p { margin-top: 12px; color: var(--ink-soft); }

/* ── CTA band ────────────────────── */
.cta-band {
  background: var(--navy); text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: rgba(255,255,255,.75); }
.cta-band .daisy { position: absolute; font-size: 90px; opacity: .12; color: var(--yellow); }

/* ── Footer ──────────────────────── */
footer { padding: 56px 0 40px; background: #FBFBFD; border-top: 1px solid var(--line); color: var(--ink); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand { color: var(--orange-deep); }
.foot p { color: var(--ink-soft); font-size: .9rem; max-width: 320px; margin-top: 12px; }
.foot h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; color: var(--blue-deep); }
.foot ul { list-style: none; }
.foot li { margin-bottom: 9px; }
.foot a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.foot a:hover { color: var(--orange-deep); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Products page gallery ───────── */
.shot-block { margin-bottom: 84px; }
.shot-block h3 { font-size: 1.6rem; margin-bottom: 10px; }
.shot-block > p { color: var(--ink-soft); max-width: 720px; margin-bottom: 24px; }
.shot-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--card);
}
.shot-frame::before {
  content: ""; display: block; height: 6px;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%);
}

/* ── Responsive ──────────────────── */
@media (max-width: 1100px) {
  .app-body { grid-template-columns: 220px 1fr; }
  .app-aside { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .tour-row { grid-template-columns: 1fr; gap: 28px; }
  .tour-row.flip .tour-copy { order: 0; }
  section { padding: 56px 0; }
}
@media (max-width: 760px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-nav { flex-direction: row; overflow-x: auto; }
  .app-nav button { white-space: nowrap; }
}

/* ── Mobile nav + small-screen polish ── */
@media (max-width: 700px) {
  .nav-inner { height: 58px; gap: 8px; }
  .brand { font-size: .95rem; gap: 6px; }
  .brand-logo { width: 34px; height: 34px; border-radius: 9px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: .82rem; white-space: nowrap; box-shadow: 0 4px 10px rgba(217, 108, 44, .3); }
  .hp-copy h1 { font-size: 2.1rem; }
  .hm-stats { gap: 22px; }
  .app-main { padding: 16px; }
  .app-main .main-title { font-size: 1rem; }
  .app-bleed { padding: 0 14px; }
  .section-head { padding: 0 4px; }
  .cta-band .daisy { display: none; }
  .legal { padding: 44px 20px 72px; }
  .legal h1 { font-size: 1.8rem; }
}

/* ── Demo-request modal ── */
#dmodal { position: fixed; inset: 0; z-index: 90; display: none; }
#dmodal.on { display: block; }
.dm-back { position: absolute; inset: 0; background: rgba(35, 33, 48, .55); backdrop-filter: blur(3px); }
.dm-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 30px 80px rgba(35, 33, 48, .35);
}
.dm-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; border-radius: 20px 20px 0 0;
  background: linear-gradient(to right, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--blue) 66.6% 100%); }
.dm-x { position: absolute; right: 14px; top: 16px; border: 0; background: transparent; font-size: 1rem; cursor: pointer; color: var(--ink-soft); }
.dm-card h3 { font-size: 1.4rem; margin: 4px 0 6px; }
.dm-flower { color: var(--orange); }
.dm-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 18px; }
.dm-form label { display: block; font-weight: 700; font-size: .82rem; margin-bottom: 12px; }
.dm-form input, .dm-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400;
}
.dm-form input:focus, .dm-form textarea:focus { outline: none; border-color: var(--orange); }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm-send { width: 100%; margin-top: 4px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.dm-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.dm-status { text-align: center; font-size: .85rem; color: #C0392B; margin-top: 8px; min-height: 1em; }
.dm-done { text-align: center; padding: 24px 0 12px; }
.dm-done h3 { margin-bottom: 8px; }
.dm-done p { color: var(--ink-soft); }
@media (max-width: 520px) { .dm-row { grid-template-columns: 1fr; gap: 0; } }
