/* Negari Landing theme — own stylesheet (no Tailwind build). Mobile-first. Tokens follow the approved Negari Beta
   identity (logo pack) and the Dashboard's composer tokens so the landing and the product read as one. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--ld-green: #0E6B4F; --ld-green-deep: #0B3D32; --ld-sage: #A7C4B0; --ld-warm: #F6F4ED; --ld-charcoal: #1B1B1B;
	--ld-bg: #F6F4ED; --ld-tint: #EEF0E8; --ld-surface: #FFFFFF; --ld-surface-2: #F7F6F1; --ld-panel: #FFFDF9; --ld-head: #E8EBE2;
	--ld-text: #1B1F1E; --ld-muted: #545D58; --ld-faint: #5F6963; --ld-line: #DCE1DC; --ld-line-strong: #C3CBC5; --ld-line-focus: #8FBFA9;
	--ld-accent: #0E6B4F; --ld-accent-ink: #0B3D32; --ld-accent-soft: rgba(14, 107, 79, .10); --ld-ring: rgba(14, 107, 79, .25);
	--ld-blue: #2A64C8; --ld-blue-soft: #E6EFFC; --ld-amber: #9A5E10; --ld-amber-soft: #FBEFDC; --ld-violet: #5F49BE; --ld-violet-soft: #ECE7FA; --ld-sage-ink: #3E6E57; --ld-sage-soft: rgba(167, 196, 176, .28);
	--ld-shadow: 0 24px 48px -28px rgba(11, 61, 50, .35); --ld-shadow-sm: 0 10px 30px -18px rgba(11, 61, 50, .35);
	--ld-font-display: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--ld-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--ld-font-ethiopic: 'Inter', 'Noto Sans Ethiopic', 'Abyssinica SIL', 'Nyala', 'Ebrima', 'Kefa', system-ui, sans-serif; --ld-font-ethiopic-display: 'Outfit', 'Noto Sans Ethiopic', 'Abyssinica SIL', 'Nyala', 'Ebrima', 'Kefa', system-ui, sans-serif;
	--ld-radius: 18px; --ld-radius-sm: 12px;
	color-scheme: light;
}
:root[data-mode="dark"] {
	--ld-bg: #0F1716; --ld-tint: #121C1D; --ld-surface: #162122; --ld-surface-2: #1A2627; --ld-panel: #182526; --ld-head: #1E2B2C;
	--ld-text: #E9EDEA; --ld-muted: #A9B3AC; --ld-faint: #7F8A84; --ld-line: #2B3A3B; --ld-line-strong: #3C4D4E; --ld-line-focus: #4F8F78;
	--ld-accent: #3FB389; --ld-accent-ink: #D9EFE5; --ld-accent-soft: rgba(63, 179, 137, .16); --ld-ring: rgba(79, 143, 120, .45);
	--ld-blue: #93B4F8; --ld-blue-soft: rgba(58, 120, 220, .20); --ld-amber: #F5B866; --ld-amber-soft: rgba(230, 160, 60, .18); --ld-violet: #B7A4F0; --ld-violet-soft: rgba(140, 110, 230, .2); --ld-sage-ink: #A7C4B0; --ld-sage-soft: rgba(167, 196, 176, .16);
	--ld-shadow: 0 24px 48px -28px rgba(0, 0, 0, .75); --ld-shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.ld { margin: 0; background: var(--ld-bg); color: var(--ld-text); font: 400 16px/1.6 var(--ld-font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="am"] body.ld, .ld [lang="am"] { font-family: var(--ld-font-ethiopic); }
html[lang="am"] .ld-display, html[lang="am"] .ld-h2, html[lang="am"] .ld-h3, html[lang="am"] .ld-plan__title, html[lang="am"] .ld-draft h3, html[lang="am"] .ld-player__quote, html[lang="am"] .ld-final__text { font-family: var(--ld-font-ethiopic-display); letter-spacing: 0; line-height: 1.22; }
html[lang="am"] :is(.ld-fine, .ld-stage__note, .ld-label, .ld-ledger__label, .ld-row__note, .ld-row__cap, .ld-hero__access, .ld-plans__note) { font-size: 14px; text-transform: none; letter-spacing: 0; }
.ld img, .ld svg { max-width: 100%; }
.ld a { color: inherit; }
:where(.ld) p { margin: 0 0 1em; }
.ld :focus-visible { outline: 2px solid var(--ld-accent); outline-offset: 3px; border-radius: 6px; }
.ld ::selection { background: var(--ld-sage); color: var(--ld-green-deep); }
.ld * { scrollbar-color: var(--ld-line-strong) transparent; scrollbar-width: thin; }
.ld-ic { width: 20px; height: 20px; flex: 0 0 auto; }
.ld-ic--sm { width: 15px; height: 15px; }
.ld-wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
@media (min-width: 768px) { .ld-wrap { width: min(100% - 64px, 1180px); } }
.ld .ld-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ld-accent); color: #fff; font-weight: 600; text-decoration: none; }
.ld-skip:focus { top: 12px; }
.ld-only-dark { display: none; }
:root[data-mode="dark"] .ld-only-dark { display: inline-flex; }
:root[data-mode="dark"] .ld-only-light { display: none; }

/* Type */
.ld-display { font-family: var(--ld-font-display); font-weight: 700; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 20px; text-wrap: balance; max-width: 15ch; }
.ld-h2 { font-family: var(--ld-font-display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.85rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.ld-h3 { font-family: var(--ld-font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 8px; }
.ld-lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); line-height: 1.55; color: var(--ld-muted); max-width: 48ch; margin: 0 0 28px; }
.ld-section__sub { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.55; color: var(--ld-muted); margin: 0; max-width: 58ch; }
.ld-fine { font-size: 13px; line-height: 1.5; color: var(--ld-faint); margin: 10px 0 0; }
.ld-center { text-align: center; }
.ld-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ld-faint); margin-bottom: 8px; }
.ld-list { margin: 0; padding-left: 20px; line-height: 1.55; }
.ld-list li + li { margin-top: 6px; }
.ld-list--check { list-style: none; padding: 0; }
.ld-list--check li { position: relative; padding-left: 28px; }
.ld-list--check li::before { content: ''; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--ld-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }

/* Buttons & controls */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--ld-font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
html[lang="am"] .ld-btn { font-family: var(--ld-font-ethiopic); }
.ld .ld-btn--primary { background: var(--ld-green); color: #fff; }
.ld .ld-btn--primary:hover { background: var(--ld-green-deep); color: #fff; }
.ld .ld-btn--outline { background: transparent; color: var(--ld-text); border-color: var(--ld-line-strong); }
.ld .ld-btn--outline:hover { background: var(--ld-surface); border-color: var(--ld-text); color: var(--ld-text); }
.ld .ld-btn--ghost { background: transparent; color: var(--ld-muted); }
.ld .ld-btn--ghost:hover { color: var(--ld-text); }
.ld-btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.ld-btn:active { transform: translateY(1px); }
.ld-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ld-line); background: var(--ld-surface); color: var(--ld-text); cursor: pointer; padding: 0; }
.ld-iconbtn:hover { background: var(--ld-surface-2); }
.ld-linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px; border: 0; background: transparent; color: var(--ld-accent); font: 600 14px/1 var(--ld-font-body); cursor: pointer; border-radius: 8px; }
.ld-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.ld .ld-linkcta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: var(--ld-accent); text-decoration: none; min-height: 44px; }
.ld-linkcta:hover { text-decoration: underline; text-underline-offset: 4px; }
.ld-linkcta .ld-ic { transition: transform .15s; }
.ld-linkcta:hover .ld-ic { transform: translateX(3px); }
.ld-chipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ld-line-strong); background: var(--ld-surface); color: var(--ld-text); font: 500 14px/1 var(--ld-font-body); cursor: pointer; transition: background-color .15s, border-color .15s; }
html[lang="am"] .ld-chipbtn, html[lang="am"] .ld-seg button, html[lang="am"] .ld-tabs__list button, html[lang="am"] .ld-steps button { font-family: var(--ld-font-ethiopic); }
.ld-chipbtn:hover { background: var(--ld-accent-soft); border-color: var(--ld-line-focus); }
.ld-chipbtn[aria-pressed="true"] { background: var(--ld-accent-soft); border-color: var(--ld-line-focus); color: var(--ld-accent-ink); }
.ld-chipbtn:disabled { opacity: .5; cursor: default; }
.ld-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ld-surface-2); border: 1px solid var(--ld-line); margin-bottom: 12px; }
.ld-seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ld-muted); font: 500 14px/1 var(--ld-font-body); cursor: pointer; }
.ld-seg button[aria-pressed="true"] { background: var(--ld-surface); color: var(--ld-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.ld-seg--center { display: flex; width: max-content; margin: 14px auto 0; }
.ld-select { width: 100%; min-height: 44px; padding: 0 36px 0 12px; border-radius: 12px; border: 1px solid var(--ld-line-strong); background: var(--ld-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23545D58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; color: inherit; font: inherit; margin-bottom: 14px; appearance: none; }

/* Header */
.ld-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ld-bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ld-line); }
.ld-header__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.ld-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.ld-brand img { display: block; height: 28px; width: auto; }
.ld .ld-brand__dark { display: none; }
:root[data-mode="dark"] .ld .ld-brand__dark { display: block; }
:root[data-mode="dark"] .ld .ld-brand__light { display: none; }
.ld-nav { display: none; }
.ld-nav a { text-decoration: none; color: var(--ld-muted); font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.ld-nav a:hover { background: var(--ld-surface); color: var(--ld-text); }
.ld-nav__cta { display: none; }
.ld-header__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ld-lang { display: inline-flex; align-items: center; border: 1px solid var(--ld-line); border-radius: 999px; padding: 1px; background: var(--ld-surface); color: var(--ld-faint); }
.ld-lang button { min-height: 40px; min-width: 44px; padding: 0 10px; border: 0; background: transparent; border-radius: 999px; font: 500 13px/1 var(--ld-font-body); color: var(--ld-muted); cursor: pointer; }
.ld-lang button[lang="am"] { font-family: var(--ld-font-ethiopic); }
.ld-lang button[aria-pressed="true"] { background: var(--ld-accent-soft); color: var(--ld-accent-ink); font-weight: 700; }
.ld-locale { position: relative; }
.ld-locale__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--ld-surface); border: 1px solid var(--ld-line); border-radius: 12px; box-shadow: var(--ld-shadow-sm); z-index: 60; }
.ld-locale__menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.ld-locale__menu a:hover { background: var(--ld-surface-2); }
.ld-header__logout { display: none; }
.ld-menu { position: relative; }
.ld-menu__close { display: none; }
.ld-menu[aria-expanded="true"] .ld-menu__open { display: none; }
.ld-menu[aria-expanded="true"] .ld-menu__close { display: inline-flex; }
@media (max-width: 1023.98px) {
	.ld-nav.is-open { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: 64px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--ld-surface); border-bottom: 1px solid var(--ld-line); box-shadow: var(--ld-shadow); z-index: 49; }
	.ld-nav.is-open a { min-height: 48px; display: flex; align-items: center; font-size: 17px; padding: 0 12px; }
	.ld-nav.is-open .ld-nav__cta { display: block; margin-top: 8px; }
	.ld-nav.is-open .ld-nav__cta .ld-btn { width: 100%; min-height: 50px; }
	.ld-header__account { display: none; }
}
@media (max-width: 479.98px) { .ld-lang button { min-width: 42px; padding: 0 8px; } }
@media (min-width: 1024px) {
	.ld-header__in { gap: 28px; min-height: 72px; }
	.ld-nav { display: flex; align-items: center; gap: 2px; }
	.ld-menu { display: none; }
	.ld-header__logout { display: inline-flex; }
}

/* Hero */
.ld-hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.ld-hero__grid { display: grid; gap: 36px; }
.ld-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ld-hero__access { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ld-muted); }
.ld-hero__access .ld-ic { width: 16px; height: 16px; color: var(--ld-faint); }
@media (min-width: 1024px) {
	.ld-hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
	.ld-stage--hero .ld-stage__body { min-height: 404px; }
}

/* Stage (product window) */
.ld-stage { background: var(--ld-surface); border: 1px solid var(--ld-line); border-radius: 20px; box-shadow: var(--ld-shadow); overflow: hidden; }
.ld-stage--flat { box-shadow: var(--ld-shadow-sm); }
.ld-stage__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ld-line); font-size: 13px; color: var(--ld-muted); background: var(--ld-surface-2); }
.ld-stage__dots { display: inline-flex; gap: 5px; }
.ld-stage__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ld-line-strong); }
.ld-stage__title { font-weight: 600; color: var(--ld-text); }
.ld-stage__tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--ld-amber-soft); color: var(--ld-amber); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ld-stage__body { padding: 16px; }
.ld-stage__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 14px 12px; }
.ld-stage__note { font-size: 12.5px; color: var(--ld-faint); line-height: 1.4; }

/* Composer replica (the approved Dashboard composer, drawn with this theme's tokens) */
.ld-composer { position: relative; }
.ld-composer__context { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0 14px; padding: 10px 12px 20px; border: 1px solid var(--ld-line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--ld-head); color: var(--ld-muted); font-size: 14px; }
.ld-composer__pick { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; }
.ld-composer__pick .ld-ic { width: 17px; height: 17px; }
.ld-composer__panel { position: relative; z-index: 1; margin-top: -14px; border: 1px solid var(--ld-line); border-radius: 18px; background: var(--ld-panel); box-shadow: var(--ld-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.ld-composer__panel.is-focus { border-color: var(--ld-line-focus); box-shadow: 0 0 0 3px var(--ld-ring), var(--ld-shadow-sm); }
.ld-composer__input { position: relative; min-height: 64px; padding: 16px 18px 6px; font-size: 17px; line-height: 26px; color: var(--ld-text); overflow-wrap: anywhere; }
.ld-composer__ph { position: absolute; left: 18px; top: 16px; color: var(--ld-faint); pointer-events: none; }
.ld-composer__panel.is-typing .ld-composer__ph { display: none; }
.ld-caret { display: none; width: 2px; height: 22px; margin-left: 2px; vertical-align: -4px; background: var(--ld-accent); animation: ld-blink 1s steps(2, start) infinite; }
.ld-composer__panel.is-typing .ld-caret { display: inline-block; }
@keyframes ld-blink { to { visibility: hidden; } }
.ld-composer__bar { display: flex; align-items: center; gap: 2px; padding: 4px 10px 10px; }
.ld-composer__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border-radius: 10px; color: var(--ld-muted); font-size: 14px; }
.ld-composer__chip .ld-ic { width: 18px; height: 18px; }
.ld-composer__chip--mode { color: var(--ld-text); }
.ld-composer__spacer { flex: 1; }
.ld-composer__send { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ld-green); color: #fff; transition: transform .15s; }
.ld-composer__send.is-sent { transform: scale(.92); }

/* Answer card in the hero stage */
.ld-answer { margin: 14px 0 4px; padding: 14px 16px 12px; border-radius: 16px; background: var(--ld-surface-2); border: 1px solid var(--ld-line); }
.ld-answer__status { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: var(--ld-muted); min-height: 18px; }
.ld-answer__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ld-amber); }
.ld-answer.is-done .ld-answer__status::before { background: var(--ld-accent); }
@keyframes ld-pulse { 50% { opacity: .35; transform: scale(.8); } }
.ld-answer__text { margin: 0; font-size: 15.5px; line-height: 1.55; min-height: 1.5em; }
.ld-answer__sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; }
.ld-answer__label { color: var(--ld-faint); font-weight: 600; margin-right: 2px; }
.ld-src { padding: 3px 10px; border-radius: 999px; background: var(--ld-blue-soft); color: var(--ld-blue); font-weight: 500; }
.ld-answer__follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Sections */
.ld-section { padding: clamp(56px, 8vw, 112px) 0; }
.ld-section--tint { background: var(--ld-tint); }
.ld-section__head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.ld-split { display: grid; gap: 32px; }
.ld-split__copy .ld-btn { margin-top: 18px; }
@media (min-width: 1024px) {
	.ld-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
	.ld-split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.ld-split--rev .ld-split__copy { order: 2; }
}

/* Outcomes ledger */
.ld-ledger { display: grid; border-top: 1px solid var(--ld-line); }
@media (min-width: 900px) { .ld-ledger { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.ld-row { display: grid; grid-template-columns: 44px 1fr 22px; gap: 14px; align-items: start; padding: 18px 6px; border-bottom: 1px solid var(--ld-line); text-decoration: none; color: inherit; border-radius: 12px; transition: background-color .15s; --t: var(--ld-accent); --ts: var(--ld-accent-soft); }
.ld-row[data-tone="blue"] { --t: var(--ld-blue); --ts: var(--ld-blue-soft); }
.ld-row[data-tone="amber"] { --t: var(--ld-amber); --ts: var(--ld-amber-soft); }
.ld-row[data-tone="violet"] { --t: var(--ld-violet); --ts: var(--ld-violet-soft); }
.ld-row[data-tone="sage"] { --t: var(--ld-sage-ink); --ts: var(--ld-sage-soft); }
.ld-row:hover { background: var(--ld-surface); }
.ld-row__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ts); color: var(--t); }
.ld-row__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ld-row__text strong { font-size: 17px; line-height: 1.3; font-weight: 600; }
.ld-row__cap { font-size: 14px; color: var(--t); font-weight: 600; }
.ld-row__note { font-size: 14px; color: var(--ld-muted); line-height: 1.5; }
.ld-row__go { color: var(--ld-faint); margin-top: 12px; transition: transform .15s, color .15s; }
.ld-row:hover .ld-row__go { transform: translateX(3px); color: var(--ld-text); }

/* Research stage */
.ld-res__q { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-weight: 600; line-height: 1.4; }
.ld-res__qicon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--ld-blue-soft); color: var(--ld-blue); }
.ld-res__qicon .ld-ic { width: 17px; height: 17px; }
.ld-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ld-steps button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--ld-line); background: transparent; color: var(--ld-muted); font: 500 13px/1 var(--ld-font-body); cursor: pointer; }
.ld-steps button i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ld-line); color: var(--ld-text); font: 600 11px/1 var(--ld-font-body); font-style: normal; }
.ld-steps button.is-done i { background: var(--ld-accent); color: #fff; }
.ld-steps button[aria-selected="true"] { background: var(--ld-accent-soft); border-color: transparent; color: var(--ld-accent-ink); }
.ld-steps button[aria-selected="true"] i { background: var(--ld-accent); color: #fff; }
.ld-res__panels { min-height: 150px; }
.ld-res__panel { animation: ld-rise .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes ld-rise { from { opacity: 0; transform: translateY(6px); } }
.ld-doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ld-line); border-radius: 12px; margin-bottom: 8px; font-size: 14px; }
.ld-doc .ld-ic { color: var(--ld-violet); }
.ld-doc span { display: flex; flex-direction: column; }
.ld-doc span span { color: var(--ld-faint); font-size: 13px; }
.ld-res__answer { margin: 0; font-size: 16px; line-height: 1.6; }
.ld-res__hint { margin: 10px 0 0; font-size: 13px; color: var(--ld-faint); }
.ld-cite { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; border: 1px solid var(--ld-accent); color: var(--ld-accent); background: transparent; font: 700 12px/1 var(--ld-font-body); cursor: pointer; vertical-align: 2px; margin: 0 1px; }
.ld-cite:hover, .ld-cite[aria-expanded="true"] { background: var(--ld-accent); color: #fff; }
@media (pointer: coarse) { .ld-cite { min-width: 30px; height: 30px; } }
.ld-evidence { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ld-accent-soft); animation: ld-rise .3s cubic-bezier(.16, 1, .3, 1); }
.ld-evidence__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ld-accent-ink); flex-wrap: wrap; }
.ld-evidence__head .ld-ic { width: 16px; height: 16px; }
.ld-evidence__head span + span { font-weight: 500; color: var(--ld-muted); }
.ld-evidence blockquote { margin: 6px 0 0; font-style: italic; line-height: 1.55; }

/* Tabs stage */
.ld-tabs__list { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; margin-bottom: 14px; scrollbar-width: none; }
.ld-tabs__list::-webkit-scrollbar { display: none; }
.ld-tabs__list button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ld-line); background: var(--ld-surface); color: var(--ld-muted); font: 600 15px/1 var(--ld-font-body); white-space: nowrap; cursor: pointer; flex: 0 0 auto; }
.ld-tabs__list button[aria-selected="true"] { background: var(--ld-text); color: var(--ld-bg); border-color: var(--ld-text); }
.ld-work, .ld-writer, .ld-canvas { display: grid; gap: 20px; padding: 18px; }
@media (min-width: 900px) { .ld-work, .ld-writer, .ld-canvas { grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px; } }
.ld-work__src { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ld-surface-2); line-height: 1.6; font-size: 15px; }
.ld-work__result { font-size: 15px; line-height: 1.6; min-height: 96px; }
.ld-work__result p { margin: 0; }
.ld-draft { padding: 16px 18px; border-radius: 12px; background: var(--ld-surface-2); min-height: 150px; }
.ld-draft h3 { font-family: var(--ld-font-display); font-size: 1.25rem; margin: 0 0 8px; line-height: 1.25; }
.ld-draft p { margin: 0; line-height: 1.6; font-size: 15px; }
.ld-writer__actions { margin-top: 12px; }
.ld-msg { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; line-height: 1.5; font-size: 15px; }
.ld-msg--user { background: var(--ld-accent-soft); border-bottom-right-radius: 4px; }
.ld-artifact { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ld-line-strong); background: var(--ld-surface); color: inherit; text-align: left; font: inherit; cursor: pointer; margin-bottom: 4px; }
.ld-artifact:hover { border-color: var(--ld-text); }
.ld-artifact > span { display: flex; flex-direction: column; flex: 1; }
.ld-artifact strong { font-size: 15px; }
.ld-artifact > span > span { font-size: 13px; color: var(--ld-faint); }
.ld-artifact .ld-ic:first-child { color: var(--ld-violet); }
.ld-canvas__view { border: 1px solid var(--ld-line); border-radius: 14px; overflow: hidden; background: var(--ld-surface); }
.ld-canvas__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; background: var(--ld-surface-2); border-bottom: 1px solid var(--ld-line); font-size: 14px; }
.ld-canvas__bar small { color: var(--ld-faint); font-weight: 400; }
.ld-canvas__bar .ld-seg { margin: 0; }
.ld-canvas__frame iframe { display: block; width: 100%; height: 300px; border: 0; background: #F6F4ED; }
.ld-canvas__src { margin: 0; padding: 14px; max-height: 300px; overflow: auto; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }

/* Create */
.ld-create { display: grid; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .ld-create { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.ld-imagine__prompt { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--ld-surface); border: 1px solid var(--ld-line); font-size: 14px; color: var(--ld-muted); }
.ld-imagine__prompt .ld-ic { color: var(--ld-amber); width: 18px; height: 18px; }
.ld-compare { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--ld-line); background: var(--ld-surface-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 55%; }
.ld-scene { position: absolute; inset: 0; }
.ld-scene svg { display: block; width: 100%; height: 100%; }
.ld-scene--before { --sc-sky: #D3E3EC; --sc-sun: #FFF4C8; --sc-hill-far: #A6C4B2; --sc-hill: #6F9C84; --sc-water: #A9C8D6; --sc-glint: #DCEBF1; }
.ld-scene--after { --sc-sky: #F2AE74; --sc-sun: #FFD66B; --sc-hill-far: #C98C5E; --sc-hill: #7E5541; --sc-water: #E8975E; --sc-glint: #F8CDA0; }
.ld-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ld-compare__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(27, 31, 30, .72); color: #fff; font-size: 12px; font-weight: 600; }
.ld-compare__badge--r { left: auto; right: 12px; }
.ld-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.ld-compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #1B1F1E; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.ld-compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; bottom: 8px; left: 50%; }
.ld-compare__range:focus-visible + * { outline: 2px solid var(--ld-accent); }
.ld-compare:has(.ld-compare__range:focus-visible) { outline: 3px solid var(--ld-accent); outline-offset: 3px; }
.ld-voice { padding: 22px; border-radius: 18px; background: var(--ld-surface); border: 1px solid var(--ld-line); }
.ld-voice > p { color: var(--ld-muted); font-size: 15px; }
.ld-player { display: flex; align-items: center; gap: 14px; }
.ld-player__btn { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ld-green); color: #fff; cursor: pointer; padding: 0; transition: transform .15s, background-color .15s; }
.ld-player__btn:hover { background: var(--ld-green-deep); }
.ld-player__btn .ld-ic { width: 24px; height: 24px; }
.ld-player__pause { display: none; }
.ld-voice.is-playing .ld-player__pause { display: inline-flex; }
.ld-voice.is-playing .ld-player__play { display: none; }
.ld-player__text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ld-player__quote { font-family: var(--ld-font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.ld-player__meta { font-size: 13px; color: var(--ld-faint); }
.ld-player__status { min-height: 1.3em; margin: 8px 0 0; font-size: 13px; color: var(--ld-faint); }
.ld-video__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ld-video__head p { margin: 0; color: var(--ld-muted); }
.ld-video__head .ld-linkcta { margin-top: 0; }
.ld-posters { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px; list-style: none; scrollbar-width: thin; }
@media (min-width: 1024px) { .ld-posters { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; padding: 4px; } }
.ld-poster { display: block; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; border: 1px solid var(--ld-line); background: var(--ld-surface); scroll-snap-align: start; transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .25s; --p1: #0B3D32; --p2: #A7C4B0; }
.ld-poster[data-motif="orbit"] { --p1: #16233F; --p2: #4F7FD6; }
.ld-poster[data-motif="push"] { --p1: #2E2142; --p2: #8B6BF3; }
.ld-poster[data-motif="pull"] { --p1: #1E2E2B; --p2: #6E9C83; }
.ld-poster[data-motif="parallax"] { --p1: #4A2A1A; --p2: #F5B866; }
.ld-poster[data-motif="cine"] { --p1: #1B1B1B; --p2: #6A6A6A; }
.ld-poster:hover { transform: translateY(-3px); border-color: var(--ld-line-focus); }
.ld-poster__art { display: block; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--p1), var(--p2)); color: #fff; }
.ld-poster__art svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #fff; }
.ld-poster__copy { display: block; padding: 10px 12px 12px; }
.ld-poster__copy strong { display: block; font-size: 14px; margin-bottom: 2px; }
.ld-poster__copy span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: var(--ld-muted); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ld-poster[data-motif="orbit"]:hover .ld-mo-dot { animation: ld-orbit 2.4s linear infinite; transform-origin: 60px 80px; }
	@keyframes ld-orbit { to { transform: rotate(360deg); } }
	.ld-poster[data-motif="push"]:hover .ld-mo, .ld-poster[data-motif="pull"]:hover .ld-mo { transform-origin: 60px 80px; animation: ld-zoom 1.8s cubic-bezier(.16, 1, .3, 1) infinite alternate; }
	.ld-poster[data-motif="pull"]:hover .ld-mo { animation-direction: alternate-reverse; }
	@keyframes ld-zoom { to { transform: scale(.82); } }
	.ld-poster[data-motif="parallax"]:hover .ld-mo--1 { animation: ld-slide 2.2s ease-in-out infinite alternate; }
	.ld-poster[data-motif="parallax"]:hover .ld-mo--2 { animation: ld-slide 2.2s ease-in-out infinite alternate-reverse; }
	@keyframes ld-slide { to { transform: translateX(10px); } }
	.ld-poster[data-motif="cine"]:hover .ld-mo-dot { animation: ld-pulse 1.4s ease-in-out infinite; transform-origin: 60px 80px; }
	.ld-poster[data-motif="wave"]:hover .ld-mo { animation: ld-wave 1.6s ease-in-out infinite alternate; }
	@keyframes ld-wave { to { transform: translateY(-6px); } }
}

/* Together flow */
.ld-flow { display: grid; gap: 10px; }
.ld-flow__node { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--ld-surface); border: 1px solid var(--ld-line); }
.ld-flow__node > .ld-ic { color: var(--ld-accent); width: 22px; height: 22px; }
.ld-flow__node strong { font-size: 16px; }
.ld-flow__node > span:last-child { font-size: 14px; color: var(--ld-muted); line-height: 1.45; }
.ld-flow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ld-flow__chips > span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--ld-surface-2); font-size: 12.5px; color: var(--ld-muted); }
.ld-flow__chips .ld-ic { width: 14px; height: 14px; }
.ld-flow__line { width: 2px; height: 22px; margin: 0 auto; background: var(--ld-line-strong); }
.ld-flow__aside { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--ld-line-strong); color: var(--ld-muted); font-size: 14px; line-height: 1.45; }
.ld-flow__aside .ld-ic { color: var(--ld-violet); width: 22px; height: 22px; }
.ld-flow__aside strong { color: var(--ld-text); }
.ld-flow__aside span { grid-column: 2; }
@media (min-width: 768px) {
	.ld-flow { grid-template-columns: 1fr 26px 1.5fr 26px 1fr; align-items: stretch; }
	.ld-flow__line { width: 100%; height: 2px; align-self: center; }
	.ld-flow__aside { grid-column: 1 / -1; margin-top: 6px; }
}

/* Plans */
.ld-plans { display: grid; gap: 16px; }
@media (min-width: 768px) { .ld-plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 920px; } }
.ld-plan { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: var(--ld-surface); border: 1px solid var(--ld-line); }
.ld-plan.is-featured { border-color: var(--ld-line-focus); }
.ld-plan__title { font-family: var(--ld-font-display); font-size: 1.3rem; margin: 0; }
.ld-plan__desc { margin: 0; color: var(--ld-muted); font-size: 15px; }
.ld-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 4px 0; font-family: var(--ld-font-display); font-weight: 700; font-size: 1.5rem; }
.ld-plan__price small { font: 400 14px/1 var(--ld-font-body); color: var(--ld-muted); }
.ld-plan__features { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.ld-plan__features li { display: flex; align-items: flex-start; gap: 8px; }
.ld-plan__features .ld-ic { width: 18px; height: 18px; margin-top: 2px; color: var(--ld-accent); }
.ld-plan__features .is-out { color: var(--ld-faint); }
.ld-plan__features .is-out .ld-ic { color: var(--ld-faint); }
.ld-plan .ld-btn { margin-top: auto; }
.ld-plans__note { display: flex; gap: 8px; align-items: flex-start; margin: 20px 0 0; font-size: 13.5px; color: var(--ld-muted); max-width: 64ch; line-height: 1.5; }
.ld-plans__note .ld-ic { width: 18px; height: 18px; margin-top: 1px; }

/* Trust + final */
.ld-trust { display: grid; gap: 20px; margin: 0; }
@media (min-width: 768px) { .ld-trust { grid-template-columns: 1fr 1fr; gap: 28px 48px; } }
.ld-trust dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.ld-trust dt .ld-ic { color: var(--ld-accent); width: 22px; height: 22px; }
.ld-trust dd { margin: 0; padding-left: 32px; color: var(--ld-muted); line-height: 1.55; font-size: 15px; }
.ld-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--ld-green-deep); color: #fff; }
.ld-final__text { margin: 0; font-family: var(--ld-font-display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); line-height: 1.2; }
.ld .ld-final .ld-btn--primary { background: #fff; color: var(--ld-green-deep); }
.ld .ld-final .ld-btn--primary:hover { background: var(--ld-warm); color: var(--ld-green-deep); }

/* Footer */
.ld-footer { padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ld-line); font-size: 14px; color: var(--ld-muted); }
.ld-footer__top { display: grid; gap: 28px; }
@media (min-width: 768px) { .ld-footer__top { grid-template-columns: 1.3fr 1fr; } }
.ld-footer__brand p { max-width: 36ch; margin: 12px 0 0; }
.ld-footer__brand address { font-style: normal; margin-top: 10px; }
.ld-footer__nav { display: flex; gap: 40px; flex-wrap: wrap; }
.ld-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ld-footer__nav a { text-decoration: none; }
.ld-footer__nav a:hover { color: var(--ld-text); text-decoration: underline; text-underline-offset: 3px; }
.ld-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ld-line); font-size: 13px; }
.ld-footer__beta { color: var(--ld-faint); }
.ld-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.ld-footer__social a { text-decoration: none; }

/* Reduced motion: keep state changes, drop decoration */
@media (prefers-reduced-motion: reduce) {
	.ld-caret, .ld-res__panel, .ld-evidence { animation: none; }
	.ld-poster, .ld-row__go, .ld-linkcta .ld-ic, .ld-btn { transition: none; }
	.ld-poster:hover { transform: none; }
}

/* Touch: every control reaches 44px on coarse pointers (fine pointers keep the denser chips). */
@media (pointer: coarse) {
	.ld-linkbtn, .ld-steps button, .ld-seg button, .ld-chipbtn, .ld-lang button, .ld-tabs__list button, .ld-composer__chip { min-height: 44px; }
	.ld-lang { padding: 0; }
	.ld-lang button { min-width: 44px; }
	.ld-seg { padding: 2px; }
}

/* ===== Refinement 2 (Founder review): hero strip, grouped index, Code & Canvas, dark Create, phone hierarchy ===== */
.ld-hero__caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.ld-hero__caps a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--ld-line); background: var(--ld-surface); color: var(--ld-muted); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: border-color .15s, color .15s; }
.ld-hero__caps a .ld-ic { width: 16px; height: 16px; color: var(--ld-accent); }
.ld-hero__caps a:hover { border-color: var(--ld-line-focus); color: var(--ld-text); }
.ld-ledger { border-top: 0; display: grid; gap: 8px 48px; }
@media (min-width: 900px) { .ld-ledger { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; } .ld-ledger__group[data-group="g1"], .ld-ledger__group[data-group="g2"] { grid-column: 1; } .ld-ledger__group[data-group="g3"], .ld-ledger__group[data-group="g4"] { grid-column: 2; } }
.ld-ledger__group { padding-top: 6px; }
.ld-ledger__label { margin: 0 0 2px; padding: 0 6px; font: 600 12px/1 var(--ld-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ld-faint); border-bottom: 1px solid var(--ld-line); padding-bottom: 8px; }
html[lang="am"] .ld-ledger__label { font-family: var(--ld-font-ethiopic); letter-spacing: 0; }
.ld-row { padding: 14px 6px; }
.ld-row__text strong { font-size: 16.5px; }
@media (max-width: 767.98px) { .ld-row__note { display: none; } .ld-row { padding: 12px 4px; gap: 12px; grid-template-columns: 40px 1fr 20px; } .ld-row__icon { width: 40px; height: 40px; } .ld-row__go { margin-top: 8px; } }

/* Code & Canvas walkthrough */
.ld-steps--cv { padding: 12px 14px 0; margin-bottom: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ld-steps--cv::-webkit-scrollbar { display: none; }
.ld-steps--cv button { flex: 0 0 auto; }
.ld-cv__grid { display: grid; gap: 14px; padding: 14px; }
@media (min-width: 900px) { .ld-cv__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; padding: 16px; } }
.ld-cv__chat { display: flex; flex-direction: column; gap: 4px; }
.ld-cv__reply { animation: ld-rise .35s cubic-bezier(.16, 1, .3, 1); }
.ld-msg--ai { background: var(--ld-surface-2); border: 1px solid var(--ld-line); border-bottom-left-radius: 4px; }
.ld-cv__chat .ld-msg--user { align-self: flex-end; max-width: 92%; }
.ld-cv__chat .ld-artifact { margin: 0 0 12px; }
.ld-cv__canvas { border: 1px solid var(--ld-line); border-radius: 14px; overflow: hidden; background: var(--ld-surface); min-height: 280px; display: flex; flex-direction: column; transition: box-shadow .3s; }
.ld-cv__canvas.is-open { box-shadow: 0 0 0 3px var(--ld-ring); }
.ld-cv__ver { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ld-accent-soft); color: var(--ld-accent-ink); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.ld-cv__idle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px 16px; color: var(--ld-faint); font-size: 14px; text-align: center; }
.ld-cv__idle .ld-ic { width: 28px; height: 28px; }
.ld-cv .ld-canvas__frame iframe { height: 320px; }
.ld-cv__cta { margin-top: 18px; }
@media (max-width: 767.98px) { .ld-cv .ld-canvas__frame iframe { height: 260px; } .ld-cv__canvas { min-height: 200px; } }
.ld-artifact strong small { font-weight: 600; color: var(--ld-accent); margin-left: 4px; }

/* Dark creative section (both colour modes) */
.ld-section--dark { --ld-bg: #0F1716; --ld-tint: #121C1D; --ld-surface: #162122; --ld-surface-2: #1A2627; --ld-panel: #182526; --ld-head: #1E2B2C; --ld-text: #E9EDEA; --ld-muted: #B3BDB6; --ld-faint: #93A09A; --ld-line: #2B3A3B; --ld-line-strong: #3C4D4E; --ld-line-focus: #4F8F78; --ld-accent: #3FB389; --ld-accent-ink: #D9EFE5; --ld-accent-soft: rgba(63, 179, 137, .16); --ld-ring: rgba(79, 143, 120, .45); --ld-amber: #F5B866; --ld-amber-soft: rgba(230, 160, 60, .18); --ld-shadow: 0 24px 48px -28px rgba(0, 0, 0, .75); --ld-shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .7); background: var(--ld-bg); color: var(--ld-text); color-scheme: dark; }
:root[data-mode="dark"] .ld-section--dark { --ld-bg: #0A1110; --ld-surface: #121C1D; --ld-surface-2: #16211F; }
.ld-section--dark .ld-h2, .ld-section--dark .ld-h3 { color: #fff; }
.ld-section--dark .ld-section__sub { color: var(--ld-muted); }
.ld-section--dark .ld-compare { border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ld-section--dark .ld-poster { border-color: rgba(255, 255, 255, .1); }
.ld-section--dark .ld-poster__copy strong { color: #fff; }
.ld-section--dark .ld-voice { background: linear-gradient(180deg, #16211F, #121C1D); border-color: rgba(255, 255, 255, .1); }
.ld-section--dark .ld-player__quote { color: #fff; font-size: 1.35rem; }
.ld-section--dark .ld-linkcta { color: var(--ld-accent); }
.ld-section--dark .ld-imagine__prompt { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--ld-muted); }
.ld-section--dark .ld-seg { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.ld-section--dark .ld-seg button[aria-pressed="true"] { background: #fff; color: #0F1716; }
.ld-section--dark .ld-fine { color: var(--ld-faint); }
.ld-wave { display: block; position: relative; height: 32px; margin-top: 6px; }
.ld-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ld-wave__base { fill: rgba(255, 255, 255, .28); }
.ld-wave__done { fill: var(--ld-accent); clip-path: inset(0 calc(100% - var(--vp, 0%)) 0 0); transition: clip-path .12s linear; }
.ld-section--dark .ld-player__btn { background: #fff; color: #0B3D32; }
.ld-section--dark .ld-player__btn:hover { background: var(--ld-sage); }
.ld-section--dark .ld-player__meta, .ld-section--dark .ld-player__status { color: var(--ld-faint); }

/* Phone hierarchy */
@media (max-width: 767.98px) {
	.ld-section { padding: clamp(40px, 10vw, 64px) 0; }
	.ld-section__head { margin-bottom: 22px; }
	.ld-hero { padding-top: 28px; }
	.ld-display { font-size: clamp(2.1rem, 1.2rem + 5.5vw, 2.8rem); max-width: 16ch; }
	.ld-lead { font-size: 1.02rem; margin-bottom: 20px; }
	.ld-hero__caps { margin-top: 16px; }
	.ld-stage--hero .ld-stage__body { padding: 12px; }
	.ld-split { gap: 22px; }
	.ld-create { gap: 24px; margin-bottom: 36px; }
	.ld-trust { gap: 16px; }
	.ld-main { padding-bottom: 72px; }
}
.ld-bar { display: none; }
@media (max-width: 767.98px) {
	.ld-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ld-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--ld-line); transform: translateY(110%); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
	.ld-bar.is-visible { transform: none; }
	.ld-bar .ld-btn { flex: 1; min-height: 46px; }
	.ld-nav.is-open ~ .ld-bar, body.ld-menu-open .ld-bar { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .ld-bar { transition: none; } .ld-cv__reply { animation: none; } }
/* Header on phones: compact Log in from 400px; the colour-mode control lives in the sheet below that width */
.ld-nav__tools { display: none; }
@media (max-width: 1023.98px) {
	.ld-nav.is-open .ld-nav__tools { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--ld-line); color: var(--ld-muted); font-size: 14px; }
}
@media (min-width: 400px) and (max-width: 1023.98px) { .ld-header__account { display: inline-flex; min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; } }
@media (max-width: 399.98px) { .ld-header__in > .ld-header__tools > [data-mode-toggle] { display: none; } .ld-brand img { height: 24px; } }
/* Phone: shorter path through the page without dropping content */
@media (max-width: 767.98px) {
	.ld-hero__caps { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
	.ld-hero__caps::-webkit-scrollbar { display: none; }
	.ld-hero__caps a { flex: 0 0 auto; scroll-snap-align: start; }
	.ld-res__panels { min-height: 120px; }
	.ld-cv .ld-canvas__frame iframe { height: 220px; }
	.ld-flow { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.ld-flow__line { display: none; }
	.ld-flow__node { padding: 12px 10px; gap: 4px; }
	.ld-flow__node strong { font-size: 14px; }
	.ld-flow__node > span:last-child { font-size: 12.5px; }
	.ld-flow__chips { display: none; }
	.ld-flow__aside { grid-column: 1 / -1; }
	.ld-plan { padding: 18px; }
	.ld-footer { padding-top: 28px; }
}
/* Overflow guard: grid/flex children never widen the page (the hero strip scrolls inside its own box) */
.ld-hero__grid > *, .ld-split > *, .ld-create > *, .ld-cv__grid > * { min-width: 0; }
@media (pointer: coarse) { .ld-hero__caps a { min-height: 44px; } }
@media (min-width: 375px) and (max-width: 399.98px) { .ld-header__account { display: inline-flex; min-height: 40px; padding: 0 10px; font-size: 14px; border-radius: 10px; } .ld-brand img { height: 22px; } .ld-header__in { gap: 8px; } .ld-header__tools { gap: 6px; } }
.ld-cv__idle[hidden], .ld-hero__caps[hidden] { display: none; }
@media (pointer: coarse) { .ld-header__account { min-height: 44px; } }
@media (min-width: 900px) { .ld-cv .ld-canvas__frame iframe { height: 460px; } }

/* ===== Impeccable critique (dual assessment, 2026-10-15) — adopted fixes ===== */
/* Hero sources open their passage (the headline's promise, kept in the hero). */
.ld .ld-src { border: 0; font: inherit; font-size: 13px; cursor: pointer; }
.ld .ld-src:hover, .ld .ld-src[aria-expanded="true"] { background: var(--ld-blue); color: #fff; }
.ld-answer__quote { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--ld-accent-soft); font-size: 14px; line-height: 1.5; font-style: italic; }
.ld-answer__quote[hidden] { display: none; }
/* Rows that open the workspace after sign-in show a lock instead of an arrow for visitors. */
.ld-row__go--lock { color: var(--ld-faint); }
.ld-row:hover .ld-row__go--lock { transform: none; }
/* Inline citations: a larger touch target. */
@media (pointer: coarse) { .ld-cite { min-width: 36px; height: 36px; } }
/* Final band: a line for the uninvited. */
.ld-final__sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 48ch; }
/* Dark mode: the creative band stays distinct from the page (deep green instead of the same charcoal). */
:root[data-mode="dark"] .ld-section--dark { --ld-bg: #0E2E27; --ld-tint: #10342c; --ld-surface: #15392f; --ld-surface-2: #194236; --ld-line: #27574a; --ld-line-strong: #336a5b; }
/* Phone menu: the page behind does not scroll while the sheet is open. */
body.ld-menu-open { overflow: hidden; }
/* All plans free: one compact access card. */
.ld-plans--free { max-width: 560px; }
/* ===== Assessment B (detector + browser evidence) — adopted fixes ===== */
/* Screen-reader-only text (the theme has no core stylesheet; this rule was missing, so the text took layout width). */
.ld .ng-hidden, .ld-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The caret stops blinking once the question is sent (WCAG 2.2.2); the placeholder stays hidden over the typed text. */
.ld-composer__panel.is-done .ld-caret, .ld-composer__panel.is-done .ld-composer__ph { display: none; }
/* Dark mode: white on the light-green accent fails; those badges and the skip link take deep-green text instead. */
:root[data-mode="dark"] .ld-steps button[aria-selected="true"] i, :root[data-mode="dark"] .ld-steps button.is-done i, :root[data-mode="dark"] .ld .ld-cite:hover, :root[data-mode="dark"] .ld .ld-cite[aria-expanded="true"], :root[data-mode="dark"] .ld .ld-skip, :root[data-mode="dark"] .ld .ld-src:hover, :root[data-mode="dark"] .ld .ld-src[aria-expanded="true"] { color: #0B3D32; }
:root[data-mode="dark"] { --ld-faint: #8E9992; }
/* Header icon buttons keep their 44 px width when the row is tight. */
.ld-iconbtn { flex: 0 0 auto; }
/* Composer chips never wrap their label. */
.ld-composer__chip { white-space: nowrap; }
@media (pointer: coarse) { .ld .ld-src { min-height: 44px; padding: 0 12px; } }

/* ===== Critique on the final files (2026-10-16): dual-agent findings, see validation/landing-design/evidence/impeccable/critique-final.md ===== */
@media (max-width: 767.98px) {
	.ld-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } /* the action bar no longer covers the footer's last lines */
	.ld-hero__caps { scroll-padding-inline: 16px; } /* the first chip keeps the page margin */
	.ld-bar.is-near-end { transform: translateY(110%); } /* the bar yields to the final band and footer */
}
.ld-seg button { white-space: nowrap; } /* ቅድመ-እይታ no longer wraps inside the Preview / Source switch */
@media (max-width: 479.98px) { .ld-canvas__bar { flex-wrap: wrap; gap: 8px; } }
.ld-composer__send { flex: 0 0 auto; } /* never squashed by long Amharic chip labels */
.ld-plans--free { margin-inline: auto; } /* centred at wide widths */
.ld-poster__copy span { display: block; -webkit-line-clamp: unset; overflow: visible; } /* the full template description */
.ld-final :focus-visible { outline-color: #fff; } /* the final Log in: white ring on deep green (was 1.87:1) */
.ld-evidence blockquote:lang(am), .ld-answer__quote:lang(am), .ld-player__quote:lang(am) { font-style: normal; } /* no synthetic italics on Ethiopic */
@media (min-width: 900px) { .ld-ledger { display: block; columns: 2; column-gap: 48px; } .ld-ledger__group { break-inside: avoid; margin-bottom: 8px; } } /* no blank space under the shorter groups */
@media (min-width: 1024px) { .ld-hero__grid { align-items: start; } } /* the headline stays put while the demonstration grows */
@media (min-width: 768px) { .ld-res__panels { min-height: 136px; } } /* steps change height less */
@media (pointer: coarse) { .ld-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; } .ld-cite { min-width: 28px; height: 28px; } }
.ld-draft__title { font-family: var(--ld-font-display); font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; line-height: 1.25; color: var(--ld-text); }
html[lang="am"] .ld-draft__title { font-family: var(--ld-font-ethiopic-display); letter-spacing: 0; line-height: 1.22; }
.ld .ld-btn .ld-ic--sm, .ld .ld-linkcta .ld-ic--sm { width: 14px; height: 14px; margin-right: 6px; opacity: .8; }
