/* The home page. Its layout follows the model the owner named (1 Dec 2026): a centred hero with a drawn example under it,
   a tinted band of four features in one box, steps in a box with their list beside them, plan cards, a tinted band with
   notes beside the price list, a closing card. Colours are the brand's own (brand.css); no outside font, picture or host. */
body.landing { --land-accent: var(--dnd-green); }
body.landing main { max-width: none; padding: 0; }
.land-in { max-width: 1080px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.land-center { text-align: center; }
/* The tinted bands are the pastel orange; inside them every edge is the orange edge and every white card has the blue stroke. */
.land-band { background: var(--dnd-peach); border-top: 1px solid var(--dnd-peach-line); border-bottom: 1px solid var(--dnd-peach-line); padding: 80px 0; }
.land-plain { padding: 88px 0; }
.land-ruled { border-top: 1px solid var(--dnd-peach-line); }
.landing h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.landing h2.land-narrow { max-width: 560px; } .landing .land-center h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.landing h3 { font-size: 16px; line-height: 1.35; margin: 0 0 8px; color: var(--dnd-ink); }
.land-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dnd-orange-deep); margin: 0 0 14px; }
.land-sub { font-size: 17px; color: var(--dnd-soft); margin: 0; max-width: 540px; }
.land-center .land-sub { margin-left: auto; margin-right: auto; }
/* ---- hero ---- */
/* Owner's second ruling, item 1: no glow behind the logo and the pill; the plain page. */
.land-hero { text-align: center; padding: 64px 0 80px; }
/* The hero's logo and pill, as the owner's own mock-up of 2 Dec 2026 13:15 shows them (it replaces the round-8 reading of the pill).
   The logo's left edge is on the left edge of the headline's words: measured by the page's script (the headline is centred and its
   width depends on the device's letters) and handed over as --land-logo-x; until then the logo is centred.
   The pill (white, 1-pixel logo-blue stroke) sits BELOW the logo and runs to the RIGHT from under the tip of the speech-bubble's
   tail, which points down at the pill's left end. The tip is a fixed point of the logo picture: 96.44% across, 98.58% down
   (site/logo.png, 800 by 212: lowest drawn row 208, at 770 to 773 across). Measured in his mock-up, as parts of the logo's drawn
   size: the pill's left end is 2.85% of the logo's width to the LEFT of the tip; its top is 18.9% of the logo's height below the
   tip. So the pill follows the logo at every size. Where the screen is too narrow for that, the pill is held inside the page's
   own side padding (it slides left only as far as it must). */
.land-hero { --land-logo-h: 112px; --land-logo-w: calc(var(--land-logo-h) * 800 / 212); --land-logo-left: var(--land-logo-x, calc((100% - var(--land-logo-w)) / 2)); --land-tip-across: 0.9644; --land-tip-below: calc(var(--land-logo-h) * 3 / 212); --land-pill-left-of-tip: 0.0285; --land-pill-under-tip: calc(var(--land-logo-h) * 0.189); }
.land-logo { display: flex; justify-content: flex-start; margin: 0 0 0 var(--land-logo-left); }
.dnd-logo.land-logo img { height: 112px; }
/* (The headline now starts exactly 15 pixels higher than before the mock-up, at every width: his picture shows it that much closer to the logo.) */
.land-badge-row { display: flex; margin: 0 0 35px; position: relative; top: calc(var(--land-pill-under-tip) - var(--land-tip-below)); }
.land-badge-pin { flex: 0 1 calc(var(--land-logo-left) + var(--land-logo-w) * (var(--land-tip-across) - var(--land-pill-left-of-tip))); min-width: 0; }
.land-badge { display: flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border: 1px solid var(--dnd-blue); border-radius: 999px; background: var(--dnd-card); color: var(--dnd-good); font-size: 13px; font-weight: 700; }
.land-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dnd-accent); flex: none; }
.landing h1 { font-size: clamp(22px, 7.3vw, 60px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 auto 24px; max-width: 860px; text-wrap: balance; }
.land-line { display: block; }
.land-line.land-accent { color: var(--land-accent); width: fit-content; max-width: 100%; margin: 0 auto; }
.land-accent::after { content: ""; display: block; height: 3px; margin: 3px 0 5px; border-radius: 2px; background: var(--dnd-accent); }
.land-lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--dnd-soft); max-width: 600px; margin: 0 auto 32px; }
.land-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.land-actions .dnd-btn { margin: 0; padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.land-fine { font-size: 13px; color: var(--dnd-soft); margin: 18px auto 0; max-width: 520px; }
/* ---- what you gain, in one line under the buttons ---- */
.land-gain { max-width: 640px; margin: 40px auto 0; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--dnd-ink); text-wrap: balance; }
.land-gains { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; max-width: 860px; margin: 22px auto 0; padding: 0; text-align: left; }
.land-gains li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--dnd-soft); }
.land-gains svg { flex: none; margin-top: 2px; color: var(--dnd-orange); }
.land-gains strong { color: var(--dnd-ink); }
/* ---- the drawn example: one message, two chats ---- */
.land-mock { max-width: 860px; margin: 44px auto 0; padding: 22px 24px 24px; text-align: left; background: var(--dnd-card); border: 2px solid var(--dnd-blue); border-radius: 16px; box-sizing: border-box; }
.land-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.land-mock-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dnd-soft); }
.land-chip { flex: none; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--dnd-peach-line); background: var(--dnd-peach); color: var(--dnd-orange-deep); white-space: nowrap; }
.land-chip.plain { color: var(--dnd-ink); background: var(--dnd-card); border-color: var(--dnd-blue); }
.land-chip.off { color: var(--dnd-soft); background: transparent; border-style: dashed; border-color: var(--dnd-soft); }
.land-chats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Behind the bubbles: the logo's blue. The frames are stroked in the same blue. */
.land-chat { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--dnd-blue); border-radius: 12px; background: var(--dnd-blue); overflow: hidden; transition: box-shadow .15s ease; }
/* Owner, 2 Dec 2026 09:17: the card itself has no underglow. The glow it had is the right-hand tile's, while the pointer is over that tile; the left-hand tile gets the same glow in green. */
.land-chat:last-child:hover { box-shadow: 0 8px 16px -4px var(--dnd-orange-glow-tight); }
.land-chat:first-child:hover { box-shadow: 0 8px 16px -4px var(--dnd-green-glow-tight); }
.land-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--dnd-card); }
.land-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--dnd-card); border: 2px solid var(--dnd-blue); box-sizing: border-box; }
.land-avatar.you { background: var(--dnd-orange); border-color: var(--dnd-orange); }
.land-chat-name { font-size: 14px; font-weight: 700; color: var(--dnd-ink); }
.land-chat-sub { font-size: 12px; color: var(--dnd-soft); }
.land-chat-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; flex: 1; }
.land-bubble { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: var(--dnd-ink); overflow-wrap: anywhere; box-sizing: border-box; }
.land-bubble.in { align-self: flex-start; background: var(--dnd-card); border: 1px solid var(--dnd-card); border-bottom-left-radius: 4px; }
.land-bubble.out { align-self: flex-end; background: var(--dnd-peach); color: var(--dnd-ink); border: 1px solid var(--dnd-peach-line); border-bottom-right-radius: 4px; }
.land-chat-note { margin: 0; padding: 10px 14px 12px; font-size: 13px; font-weight: 600; color: var(--dnd-soft); background: var(--dnd-card); }
/* ---- what it does: four in one box ---- */
.land-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; text-align: left; background: var(--dnd-card); border: 1px solid var(--dnd-blue); border-radius: 16px; overflow: hidden; }
/* Owner's ruling of 2 Dec 2026 04:53. (1) The strokes between the tiles are the logo's blue, like the stroke round the box.
   (2) A tile under the pointer behaves as the model's feature card does, by the model's own rule: it moves up 3 pixels, takes
   the model's darker shade and the model's shadow, each over 0.2 seconds. (The model's rule has no keyboard-focus form; nor has this.) */
.land-feat { padding: 30px 26px 34px; border-left: 1px solid var(--dnd-blue); min-width: 0; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.land-feat:hover { background: var(--dnd-tile-hover-fill); transform: translateY(-3px); box-shadow: var(--dnd-tile-hover-shadow); }
.land-feat:first-child { border-left: 0; }
.land-feat p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--dnd-soft); }
.land-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 9px; background: var(--dnd-mint); border: 1px solid var(--dnd-peach-line); color: var(--dnd-blue); }
/* ---- how it works: the list of steps beside the step shown ---- */
.land-how { display: grid; grid-template-columns: 280px minmax(0, 1fr); margin-top: 48px; border: 1px solid var(--dnd-peach-line); border-radius: 16px; background: var(--dnd-peach); }
.land-tabs { counter-reset: step; display: flex; flex-direction: column; border-right: 1px solid var(--dnd-peach-line); background: var(--dnd-card); border-radius: 15px 0 0 15px; overflow: hidden; }
.land-tab { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 62px; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--dnd-peach-line); border-left: 3px solid transparent; background: transparent; color: var(--dnd-soft); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.land-tab:last-child { border-bottom: 0; }
.land-tab.active { background: var(--dnd-peach); border-left-color: var(--dnd-orange); color: var(--dnd-ink); }
.land-tab.active .land-num { border-color: var(--dnd-orange); background: var(--dnd-card); }
.land-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; }
/* (the step's number is counted by the page, not typed into it) */
.land-tab { counter-increment: step; } .land-num::before { content: counter(step); }
/* Every step's panel lies in the same place, so the box is as tall as its tallest step and nothing below it moves when a step is pressed. */
/* Owner's second ruling, item 6: the chosen step's panel is mint, stroked with 1 pixel of the logo's blue, with a tight orange underglow while the pointer is over it. */
.land-panels { display: grid; padding: 36px 36px 38px; min-width: 0; margin: -1px; background: var(--dnd-mint); border: 1px solid var(--dnd-blue); border-radius: 0 16px 16px 0; transition: box-shadow .15s ease; }
.land-panels:hover { box-shadow: 0 8px 14px -4px var(--dnd-orange-glow-tight); }
.land-panel { grid-area: 1 / 1; min-width: 0; visibility: hidden; } .land-panel.active { visibility: visible; }
.landing .land-panel h3 { font-size: 21px; letter-spacing: -0.01em; margin: 0 0 12px; }
.land-panel > p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--dnd-soft); max-width: 520px; }
.land-mini { display: flex; flex-direction: column; gap: 0; padding: 6px 18px; background: var(--dnd-card); border: 1px solid var(--dnd-blue); border-radius: 10px; max-width: 560px; }
.land-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--dnd-peach-line); font-size: 14px; font-weight: 600; color: var(--dnd-ink); }
.land-row:last-child { border-bottom: 0; }
.land-mini-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dnd-soft); padding: 12px 0 10px; }
.land-mini .land-bubble { max-width: 100%; margin-bottom: 14px; background: var(--dnd-peach); border-color: var(--dnd-peach-line); }
/* ---- plans ---- */
.land-trial { display: inline-block; margin: 26px auto 0; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--dnd-peach-line); background: var(--dnd-peach); color: var(--dnd-ink); font-size: 14.5px; font-weight: 600; }
.pub .dnd-grid.land-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
/* A plan card: white, stroked in the logo's blue; an orange glow beneath it while the pointer is over it (or it holds the keyboard's place). */
.land-plans .dnd-card { padding: 28px 24px 24px; border-radius: 14px; background: var(--dnd-card); border: 1.5px solid var(--dnd-blue); gap: 6px; transition: box-shadow .18s ease, transform .18s ease; }
.land-plans .dnd-card:hover, .land-plans .dnd-card:focus, .land-plans .dnd-card:focus-within { box-shadow: 0 14px 34px var(--dnd-orange-glow); transform: translateY(-2px); outline: none; }
.land-plans .dnd-card-credits { color: var(--dnd-orange-deep); }
.land-plans .dnd-card-name { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dnd-soft); }
.land-plans .dnd-card-price { font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; } .land-plans .dnd-card-price span { letter-spacing: 0; font-size: 14px; }
.land-plans .dnd-card { text-align: center; align-items: center; }
.land-plans-cta { margin: 30px 0 0; } .land-plans-cta .dnd-btn { margin: 0; padding: 14px 26px; font-size: 16px; border-radius: 12px; white-space: nowrap; }
.land-more { margin: 10px 0 0; font-size: 15px; font-weight: 600; } .land-more a { display: inline-block; padding: 8px 4px; }
/* ---- how credits work: notes beside the price list ---- */
.land-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.land-note { margin-top: 30px; padding: 26px 28px; background: var(--dnd-card); border: 1.5px solid var(--dnd-blue); border-radius: 12px; }
.land-note p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--dnd-soft); }
.land-note p:last-child { margin: 0; }
.land-note strong { color: var(--dnd-ink); }
.land-costs { margin-top: 28px; padding: 10px 22px 14px; background: var(--dnd-card); border: 1.5px solid var(--dnd-blue); border-radius: 12px; } .land-two table.costs th { border-bottom-color: var(--dnd-peach-line); } .land-two table.costs { margin-top: 0; } .land-two table.costs td { border-bottom: 0; }
/* ---- closing card ---- */
.land-end { max-width: 520px; margin: 0 auto; padding: 44px 36px 40px; text-align: center; background: var(--dnd-surface-2); border: 2px solid var(--dnd-line); border-radius: 16px; box-shadow: 0 8px 28px rgba(2, 44, 109, 0.10); box-sizing: border-box; }
/* Owner's second ruling, item 8: the closing card's button gets a tight orange underglow while the pointer is over it. */
.land-end a.dnd-btn { transition: box-shadow .15s ease; } .land-end a.dnd-btn:hover, .land-end a.dnd-btn:focus-visible { box-shadow: 0 6px 12px -2px var(--dnd-orange-glow-tight); }
.landing .land-end h2 { font-size: 26px; margin: 0 0 10px; }
.land-end .land-sub { margin: 0 auto 22px; font-size: 16px; }
.land-end .dnd-btn { margin: 0; padding: 14px 28px; font-size: 16px; border-radius: 12px; }
/* ---- narrower screens ---- */
@media (max-width: 900px) {
  .land-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .land-feat:nth-child(odd) { border-left: 0; } .land-feat:nth-child(n+3) { border-top: 1px solid var(--dnd-blue); }
  .pub .dnd-grid.land-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .land-two { grid-template-columns: 1fr; gap: 24px; } .land-note { margin-top: 0; }
}
@media (max-width: 768px) {
  .land-band { padding: 60px 0; } .land-plain { padding: 64px 0; } .land-hero { padding: 40px 0 56px; }
  .dnd-logo.land-logo img { height: 84px; } .land-hero { --land-logo-h: 84px; }
  .land-gain { font-size: 16.5px; margin-top: 32px; } .land-gains { grid-template-columns: 1fr; max-width: 420px; margin-top: 18px; gap: 12px; }
  .land-chats { grid-template-columns: 1fr; } .land-mock { margin-top: 36px; padding: 18px 16px 18px; }
  .land-how { grid-template-columns: 1fr; margin-top: 36px; }
  .land-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--dnd-peach-line); border-radius: 15px 15px 0 0; }
  .land-tab { min-height: 56px; padding: 10px 12px; gap: 9px; font-size: 13px; border-left: 0; border-bottom: 1px solid var(--dnd-peach-line); box-shadow: inset 0 -3px 0 transparent; }
  .land-tab:nth-child(odd) { border-right: 1px solid var(--dnd-peach-line); } .land-tab:nth-last-child(-n+2) { border-bottom: 0; }
  .land-tab.active { box-shadow: inset 0 -3px 0 var(--dnd-orange); }
  .land-num { width: 24px; height: 24px; font-size: 12px; }
  .land-panels { padding: 26px 20px 26px; border-radius: 0 0 16px 16px; }
}
@media (max-width: 560px) {
  .land-feats { grid-template-columns: 1fr; } .land-feat { border-left: 0; } .land-feat:nth-child(n+2) { border-top: 1px solid var(--dnd-blue); }
  .pub .dnd-grid.land-plans { grid-template-columns: 1fr; }
  .land-actions { flex-direction: column; align-items: center; } .land-end { padding: 36px 22px 32px; }
}
@media (max-width: 360px) { .land-in { padding: 0 16px; } .dnd-logo.land-logo img { height: 66px; } .land-hero { --land-logo-h: 66px; } .land-panels { padding: 22px 14px; } .land-mini { padding: 4px 12px; } .land-mock { padding: 16px 12px; } .land-plans-cta .dnd-btn { padding: 13px 14px; font-size: 15px; } .land-tab { padding: 10px 8px; gap: 7px; font-size: 12.5px; } }
