/* Landing hero for the homepage — demo.html composition on ranui/brand tokens.
   home.css holds ONLY page layout/composition. Design VALUES come from
   public/ran-tokens.css and public/brand-tokens.css (Sheet Green on :root).
   UI chrome uses real ranui components (<r-button>). EVERY selector is scoped
   under #landing-hero; dark mode comes from ranui + brand-tokens for free. */

body {
  margin: 0;
  background: var(--ran-color-bg);
  overflow-wrap: break-word;
  overflow-x: hidden;
}

#landing-hero {
  --sel: color-mix(in srgb, var(--brand) 28%, var(--ran-color-bg));
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 56px);
  --section-y: clamp(48px, 7vw, 104px);
  --section-head-gap: clamp(32px, 4vw, 56px);
  --success-text: var(--brand-ink);
  --glow-blue: var(--brand-air-glow);
  --glow-green: var(--brand-glow);
  --surface-low: color-mix(in srgb, var(--ran-color-text) 3.5%, var(--ran-color-bg));
  --surface-high: color-mix(in srgb, var(--ran-color-text) 6%, var(--ran-color-bg));
  --card: var(--ran-color-bg-elevated, var(--ran-color-bg));
  --ran-color-primary: var(--brand);
  --ran-color-primary-hover: var(--brand-strong);
  --ran-color-primary-active: var(--brand-strong);
  --ran-color-primary-text: #fff;

  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  background: var(--ran-color-bg);
  color: var(--ran-color-text);
  font-family: var(--ran-font-family);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#landing-hero * {
  box-sizing: border-box;
}
#landing-hero a {
  color: inherit;
  text-decoration: none;
}
#landing-hero .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

#landing-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(640px, 85vh);
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 55% at 50% 0%,
    color-mix(in srgb, var(--brand) 18%, transparent),
    transparent 70%
  );
  z-index: 0;
}
#landing-hero > * {
  position: relative;
  z-index: 1;
}

/* ---- ranui buttons ---- */
#landing-hero .cta r-button,
#landing-hero .cta r-button::part(button),
#landing-hero .nav-login r-button,
#landing-hero .nav-login r-button::part(button) {
  border-radius: var(--ran-radius-full);
}
#landing-hero .cta r-button::part(content) {
  border-radius: var(--ran-radius-full);
  padding: var(--ran-space-3) var(--ran-space-6);
  font-size: 15.5px;
  font-weight: 600;
}
#landing-hero .cta r-button[type='primary'],
#landing-hero .nav-login r-button[type='primary'] {
  --ran-btn-background: var(--brand);
  --ran-btn-border-color: var(--brand);
  --ran-btn-color: var(--brand-on);
  --ran-btn-hover-background: var(--brand-strong);
  --ran-btn-hover-border-color: var(--brand-strong);
  --ran-btn-hover-color: var(--brand-on);
}
#landing-hero .cta r-button[type='primary']::part(button),
#landing-hero .nav-login r-button[type='primary']::part(button) {
  background: var(--brand);
  border-color: var(--brand);
}
#landing-hero .cta r-button[type='primary']::part(content),
#landing-hero .nav-login r-button[type='primary']::part(content) {
  color: var(--brand-on);
}
#landing-hero .nav-login r-button::part(content) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  white-space: nowrap;
}
#landing-hero .nav-login r-button[type='primary']::part(button) {
  box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--brand) 55%, transparent);
}
#landing-hero .cta a,
#landing-hero .cta button {
  text-decoration: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.18s ease;
}
#landing-hero .cta r-button::part(button) {
  transition:
    box-shadow 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
#landing-hero .cta r-button[type='primary']::part(button) {
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--brand) 50%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  #landing-hero .cta > a:hover {
    transform: scale(1.015);
  }
  #landing-hero .cta > a:active {
    transform: scale(0.985);
  }
}
#landing-hero .nav-login {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex: none;
}
#landing-hero r-button:not(:defined) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ran-space-2);
  padding: var(--ran-space-3) var(--ran-space-6);
  border-radius: var(--ran-radius-full);
  border: 1px solid var(--ran-color-border);
  background: var(--ran-color-bg-elevated);
  color: var(--ran-color-text);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 22px;
}
#landing-hero r-button[type='primary']:not(:defined) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-on);
}

/* Language / theme menus */
#landing-hero .lang-menu,
#landing-hero .theme-menu {
  display: inline-flex;
  --ran-popover-content-padding: 4px;
}
#landing-hero .lang-trigger,
#landing-hero .theme-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--ran-space-2);
  border-radius: var(--ran-radius-sm);
  line-height: 0;
  min-height: calc(22px + var(--ran-space-2) * 2);
  color: var(--ran-color-text-secondary);
  cursor: pointer;
  transition: 0.15s ease;
}
#landing-hero .lang-menu:hover .lang-trigger,
#landing-hero .lang-menu[open] .lang-trigger,
#landing-hero .theme-menu:hover .theme-trigger,
#landing-hero .theme-menu[open] .theme-trigger {
  color: var(--ran-color-text);
  background: var(--ran-color-bg-hover);
}
#landing-hero .lang-menu:focus-visible,
#landing-hero .theme-menu:focus-visible {
  outline: none;
}
#landing-hero .lang-menu:focus-visible .lang-trigger,
#landing-hero .theme-menu:focus-visible .theme-trigger {
  outline: 2px solid var(--ran-color-focus-ring, var(--ran-color-primary));
  outline-offset: 2px;
}
#landing-hero .langmark,
#landing-hero .thememark {
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
}
#landing-hero .menu-caret {
  width: 12px;
  height: 12px;
  flex: none;
  display: block;
  opacity: 0.75;
  transition: transform 0.15s ease;
}
#landing-hero .lang-menu[open] .menu-caret,
#landing-hero .theme-menu[open] .menu-caret {
  transform: rotate(180deg);
}
.lang-list,
.theme-list {
  display: flex;
  flex-direction: column;
  width: max-content;
}
.theme-list {
  min-width: 8rem;
}
.lang-option,
.theme-option {
  display: flex;
  align-items: center;
  gap: var(--ran-space-2);
  padding: 6px 10px;
  border-radius: var(--ran-radius-sm);
  font-size: 14px;
  color: var(--ran-color-text);
  text-decoration: none;
  white-space: nowrap;
}
.theme-option {
  border: 0;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
  width: 100%;
}
.lang-option-icon {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ran-color-text) 6%, transparent);
  color: var(--ran-color-text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.theme-option-icon {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
  color: var(--ran-color-text-secondary);
}
.lang-option:hover,
.theme-option:hover {
  background: var(--ran-color-bg-hover);
}
.lang-option.is-current,
.theme-option.is-current {
  font-weight: 600;
}
.lang-option.is-current .lang-option-icon {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand-ink);
}
.theme-option.is-current .theme-option-icon {
  color: var(--ran-color-text);
}
.lang-option.is-current::after,
.theme-option.is-current::after {
  content: '';
  margin-inline-start: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ran-color-primary, var(--brand));
}

/* Kept byte-identical in home.css and landing.css; design-contract compares. */
:root {
  /* 10px, not the component's 12: at radius-md the corners eat into the rows
     inside the panel. */
  --ran-dropdown-border-radius: 10px;
  --ran-dropdown-box-shadow:
    0 0 0 1px var(--ran-color-border), 0 8px 24px -6px color-mix(in srgb, var(--ran-color-text) 18%, transparent);
}
.ran-popover-dropdown {
  --ran-dropdown-arrow-display: none;
}

/* ---------- top bar (fixed + banner strip) ---------- */
#landing-hero .bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ran-color-bg) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 8px color-mix(in srgb, var(--ran-color-text) 4%, transparent);
}
#landing-hero .bar-banner {
  padding: 6px var(--pad);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ran-color-text-secondary);
  background: color-mix(in srgb, var(--surface-low) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ran-color-border) 55%, transparent);
}
#landing-hero .bar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ran-space-4);
  height: 56px;
}
#landing-hero .bar-start {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-width: 0;
}
#landing-hero .brand {
  display: inline-flex;
  align-items: center;
  gap: var(--ran-space-2);
  flex: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
#landing-hero .brand .mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand);
  display: inline-grid;
  place-items: center;
  flex: none;
}
#landing-hero .brand .mark::after {
  content: '';
  width: 10px;
  height: 12px;
  border: 1.5px solid #fff;
  border-radius: 2px;
  box-shadow: inset 0 -4px 0 color-mix(in srgb, #fff 35%, transparent);
}
#landing-hero .brand .wordmark {
  color: var(--ran-color-text);
}
#landing-hero .products {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}
#landing-hero .products .navlink {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 20px;
  color: var(--ran-color-text-secondary);
  white-space: nowrap;
  transition: color 0.15s ease;
}
#landing-hero .products .navlink:hover {
  color: var(--ran-color-text);
}
#landing-hero .utils {
  display: flex;
  align-items: center;
  gap: var(--ran-space-3);
  flex: none;
}
@media (max-width: 1100px) {
  #landing-hero .products {
    display: none;
  }
}
@media (max-width: 720px) {
  #landing-hero .bar-banner {
    font-size: 10px;
    letter-spacing: 0.02em;
  }
}

/* Clear fixed header */
#landing-hero main {
  padding-top: 88px;
}

/* ---------- centered hero + canvas ---------- */
#landing-hero .hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: var(--section-y);
  gap: clamp(36px, 5vw, 56px);
}
#landing-hero .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--ran-space-4);
  max-width: 52rem;
  width: 100%;
}
#landing-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-high) 80%, transparent);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--brand-ink);
}
#landing-hero .hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: home-pulse 1.8s ease-in-out infinite;
}
@keyframes home-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  #landing-hero .hero-eyebrow-dot {
    animation: none;
  }
}
#landing-hero .hero h1 {
  margin: 0;
  max-width: 100%;
  /* Cap so "Free Online Excel Editor." stays one line inside the hero. */
  font-size: clamp(2.25rem, 4.2vw + 0.75rem, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ran-color-text);
}
#landing-hero .hero h1 .h1-line {
  display: block;
}
#landing-hero .hero h1 .accent {
  color: var(--ran-color-text);
  font-style: normal;
  font-weight: 700;
}
@media (min-width: 720px) {
  #landing-hero .hero h1 .h1-line {
    white-space: nowrap;
  }
}
#landing-hero .hero .sub {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ran-color-text-secondary);
}
#landing-hero .cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--ran-space-4);
  margin-top: var(--ran-space-2);
}
#landing-hero .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--brand-ink);
  text-decoration: none;
  padding: 4px 8px;
  transition: color 0.15s ease;
}
#landing-hero .cta-link:hover {
  color: var(--brand);
}
#landing-hero .cta-chevron {
  transition: transform 0.15s ease;
}
#landing-hero .cta-link:hover .cta-chevron {
  transform: translateX(3px);
}

/* ---------- canvas workspace ---------- */
#landing-hero .preview {
  width: 100%;
  max-width: 64rem;
}
#landing-hero .canvas {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(16px, 3vw, 32px);
  border-radius: 16px;
  background: var(--card);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--ran-color-text) 4%, transparent),
    0 28px 64px -28px color-mix(in srgb, var(--ran-color-text) 28%, transparent);
  overflow: hidden;
}
#landing-hero .canvas-bezel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 8px;
}
#landing-hero .canvas-traffic {
  display: inline-flex;
  gap: 6px;
}
#landing-hero .canvas-traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-high);
}
#landing-hero .canvas-status {
  margin-inline-start: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ran-color-text-secondary);
}
#landing-hero .canvas-badge {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-low);
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ran-color-text-secondary);
}
#landing-hero .dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--ran-space-3);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-low) 85%, transparent);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
#landing-hero .dropzone:hover,
#landing-hero .dropzone.is-dragover {
  background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface-low));
  transform: scale(0.995);
}
#landing-hero .dropzone:focus-visible {
  outline: 2px solid var(--ran-color-focus-ring, var(--brand));
  outline-offset: 3px;
}
#landing-hero .drop-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--ran-color-text) 22%, transparent);
  color: var(--brand-ink);
  transition: transform 0.25s ease;
}
#landing-hero .canvas:hover .drop-icon {
  transform: scale(1.05);
}
#landing-hero .drop-icon svg {
  width: 36px;
  height: 36px;
}
#landing-hero .drop-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ran-color-text);
}
#landing-hero .drop-hint {
  margin: 0;
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .drop-fmts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: var(--ran-space-2) 0;
}
#landing-hero .drop-fmt {
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: color-mix(in srgb, var(--ran-color-text) 7%, var(--ran-color-bg));
  color: var(--ran-color-text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
#landing-hero .drop-fmt:hover {
  background: color-mix(in srgb, var(--brand) 14%, var(--ran-color-bg));
  color: var(--brand-ink);
}

#landing-hero .tpl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
}
#landing-hero .tpl-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ran-color-text-secondary);
}
#landing-hero .tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#landing-hero .tpl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-low);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ran-color-text);
  transition: background 0.15s ease;
}
#landing-hero .tpl-chip:hover {
  background: var(--surface-high);
}
#landing-hero .tpl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
#landing-hero .tpl-chip.tone-b .tpl-dot {
  background: color-mix(in srgb, var(--ran-color-text) 45%, transparent);
}
#landing-hero .tpl-chip.tone-c .tpl-dot {
  background: #6a8fa8;
}
#landing-hero .tpl-chip.tone-d .tpl-dot {
  background: #c45c5c;
}

/* ---------- sections ---------- */
#landing-hero .section,
#landing-hero .formats-sec,
#landing-hero .why-sec,
#landing-hero .fit-sec,
#landing-hero .guides-sec,
#landing-hero .faq-sec,
#landing-hero .pricing-sec,
#landing-hero .band-wrap {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
#landing-hero .section-head {
  margin-bottom: var(--section-head-gap);
  max-width: 42rem;
}
#landing-hero .section-head.left {
  text-align: start;
}
#landing-hero .section-head.center {
  text-align: center;
  margin-inline: auto;
}
#landing-hero .eyebrow {
  display: block;
  margin-bottom: var(--ran-space-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
#landing-hero .section-head h2 {
  margin: 0 0 var(--ran-space-3);
  font-size: clamp(1.75rem, 3.8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
#landing-hero .head-note {
  margin: 0;
  max-width: 42rem;
  color: var(--ran-color-text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
}
#landing-hero .section-head.center .head-note {
  margin-inline: auto;
}

#landing-hero .formats-sec,
#landing-hero .why-sec,
#landing-hero .fit-sec,
#landing-hero .guides-sec,
#landing-hero .faq-sec,
#landing-hero .pricing-sec {
  scroll-margin-top: 96px;
}

/* Format bento */
#landing-hero .fmt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ran-space-6);
}
#landing-hero .fmt-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--ran-space-4);
  padding: clamp(28px, 3vw, 40px);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
  transition: box-shadow 0.25s ease;
  min-height: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  #landing-hero .fmt-card:hover {
    box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--ran-color-text) 28%, transparent);
  }
}
#landing-hero .fmt-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--ran-space-3);
}
#landing-hero .fmt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ran-space-3);
}
#landing-hero .fmt-tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-ink);
}
#landing-hero .fmt-card[data-fmt='docx'] .fmt-tag {
  background: var(--surface-high);
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-card[data-fmt='pptx'] .fmt-tag {
  background: color-mix(in srgb, #6a8fa8 18%, transparent);
  color: #3d5a6c;
}
#landing-hero .fmt-card[data-fmt='pdf'] .fmt-tag {
  background: color-mix(in srgb, #c45c5c 16%, transparent);
  color: #8a3030;
}
#landing-hero .fmt-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 35%, transparent);
  opacity: 0.85;
}
#landing-hero .fmt-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
#landing-hero .fmt-card > .fmt-card-body > p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-preview {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 18px;
  height: 220px;
  border-radius: 10px;
  background: var(--surface-low);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#landing-hero .fmt-fx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}
#landing-hero .fmt-fx-label {
  font-weight: 700;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-fx-formula {
  color: var(--brand-ink);
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#landing-hero .fmt-sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}
#landing-hero .fmt-sheet-head,
#landing-hero .fmt-sheet-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
  gap: 4px;
  padding: 6px 10px;
}
#landing-hero .fmt-sheet-head {
  background: color-mix(in srgb, var(--surface-high) 80%, transparent);
  font-weight: 650;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-sheet-row.muted {
  background: color-mix(in srgb, var(--surface-low) 60%, transparent);
}
#landing-hero .fmt-sheet-row.total {
  background: color-mix(in srgb, var(--surface-high) 45%, transparent);
  font-weight: 650;
}
#landing-hero .fmt-sheet .end {
  text-align: end;
}
#landing-hero .fmt-sheet .span2 {
  grid-column: span 2;
}
#landing-hero .fmt-sheet .accent {
  color: var(--brand-ink);
}
#landing-hero .fmt-doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
}
#landing-hero .fmt-doc-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#landing-hero .fmt-doc-pill {
  padding: 2px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ran-color-text) 8%, transparent);
  color: var(--brand-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  flex: none;
}
#landing-hero .fmt-doc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .fmt-doc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#landing-hero .fmt-doc-title {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#landing-hero .fmt-doc-rev {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-low);
  font-size: 10px;
  font-weight: 650;
  color: var(--brand-ink);
  flex: none;
}
#landing-hero .fmt-doc-p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ran-color-text-secondary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
#landing-hero .fmt-doc-p .strike {
  text-decoration: line-through;
  background: color-mix(in srgb, #c45c5c 18%, transparent);
  color: #8a3030;
  padding: 0 3px;
  border-radius: 3px;
}
#landing-hero .fmt-doc-p .ins {
  background: var(--surface-high);
  color: var(--brand-ink);
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
}
#landing-hero .fmt-doc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  font-size: 11px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-slide {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  overflow: hidden;
}
#landing-hero .fmt-slide-guide {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--brand) 35%, transparent);
  border-style: dashed;
}
#landing-hero .fmt-slide-top,
#landing-hero .fmt-slide-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-slide-foot {
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .fmt-slide-copy {
  position: relative;
  z-index: 1;
  max-width: 18rem;
}
#landing-hero .fmt-slide-h {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}
#landing-hero .fmt-slide-p {
  margin: 0;
  font-size: 11.5px;
  color: var(--ran-color-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#landing-hero .fmt-dots {
  display: flex;
  gap: 6px;
}
#landing-hero .fmt-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-high);
}
#landing-hero .fmt-dots span.on {
  background: var(--brand);
}
#landing-hero .fmt-slide-snap {
  font-size: 11px;
  font-weight: 650;
  color: var(--brand-ink);
}
#landing-hero .fmt-pdf {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .fmt-pdf-top,
#landing-hero .fmt-pdf-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-pdf-lock {
  color: var(--brand-ink);
  font-weight: 550;
}
#landing-hero .fmt-pdf-sign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-low);
}
#landing-hero .fmt-pdf-role {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
#landing-hero .fmt-pdf-cert {
  margin: 0;
  font-size: 11px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fmt-sig {
  color: var(--brand-ink);
  width: 9rem;
  flex: none;
}
#landing-hero .fmt-sig svg {
  width: 100%;
  height: 40px;
  display: block;
}
#landing-hero .fmt-pdf-foot {
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .fmt-pdf-foot .strong {
  font-weight: 650;
  color: var(--ran-color-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
#landing-hero .fmt-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
#landing-hero .fmt-cta:hover {
  color: var(--brand);
}
#landing-hero .fmt-cta-arrow {
  transition: transform 0.15s ease;
}
#landing-hero .fmt-cta:hover .fmt-cta-arrow {
  transform: translateX(3px);
}
#landing-hero .fmt-card.is-soon {
  opacity: 0.72;
}
#landing-hero .fmt-card.is-soon .fmt-cta.is-soon {
  color: var(--ran-color-text-secondary, #666);
  cursor: default;
  pointer-events: none;
}
#landing-hero .fmt-card.is-soon .fmt-cta.is-soon:hover {
  color: var(--ran-color-text-secondary, #666);
}
@media (max-width: 840px) {
  #landing-hero .fmt-grid {
    grid-template-columns: 1fr;
  }
}

/* Why — full-bleed tinted band */
#landing-hero .why-sec {
  background: var(--surface-low);
}
#landing-hero .why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ran-space-4);
}
#landing-hero .why-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--ran-space-4);
  min-width: 0;
  padding: 28px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 5%, transparent);
}
#landing-hero .why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--surface-low);
  color: var(--brand-ink);
  position: relative;
}
#landing-hero .why-icon::after {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid currentColor;
  opacity: 0.85;
}
#landing-hero .why-card[data-why='privacy'] .why-icon::after {
  border-radius: 50%;
}
#landing-hero .why-card[data-why='offline'] .why-icon::after {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  border: 0;
  background: currentColor;
  opacity: 0.7;
}
#landing-hero .why-card[data-why='compat'] .why-icon::after {
  border-radius: 2px;
  width: 18px;
  height: 18px;
}
#landing-hero .why-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
#landing-hero .why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .why-spec {
  padding-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ran-color-text-secondary);
}
@media (max-width: 960px) {
  #landing-hero .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  #landing-hero .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Fit comparison cards */
#landing-hero .fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ran-space-6);
}
#landing-hero .fit-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
  transition: box-shadow 0.25s ease;
}
@media (prefers-reduced-motion: no-preference) {
  #landing-hero .fit-panel:hover {
    box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--ran-color-text) 28%, transparent);
  }
}
#landing-hero .fit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#landing-hero .fit-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#landing-hero .fit-badge.good {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-ink);
}
#landing-hero .fit-badge.limit {
  background: var(--surface-high);
  color: var(--ran-color-text-secondary);
}
#landing-hero .fit-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  position: relative;
}
#landing-hero .fit-glyph.good {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
}
#landing-hero .fit-glyph.good::after {
  content: '';
  position: absolute;
  inset: 6px 0 0 6px;
  width: 8px;
  height: 4px;
  border: 2px solid var(--brand-ink);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
#landing-hero .fit-glyph.limit {
  background: var(--surface-high);
}
#landing-hero .fit-glyph.limit::before,
#landing-hero .fit-glyph.limit::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5px;
  width: 12px;
  height: 2px;
  background: var(--ran-color-text-secondary);
  border-radius: 1px;
}
#landing-hero .fit-glyph.limit::before {
  transform: rotate(45deg);
}
#landing-hero .fit-glyph.limit::after {
  transform: rotate(-45deg);
}
#landing-hero .fit-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
#landing-hero .fit-lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .fit-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
#landing-hero .fit-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ran-color-text);
}
#landing-hero .fit-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  margin-top: 1px;
  position: relative;
}
#landing-hero .fit-mark.ok {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
}
#landing-hero .fit-mark.ok::after {
  content: '';
  position: absolute;
  inset: 5px 0 0 5px;
  width: 6px;
  height: 3.5px;
  border: 1.75px solid var(--brand-ink);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
#landing-hero .fit-mark.no {
  background: color-mix(in srgb, var(--ran-color-text) 8%, transparent);
}
#landing-hero .fit-mark.no::before,
#landing-hero .fit-mark.no::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 4px;
  width: 10px;
  height: 1.75px;
  background: var(--ran-color-text-secondary);
  border-radius: 1px;
}
#landing-hero .fit-mark.no::before {
  transform: rotate(45deg);
}
#landing-hero .fit-mark.no::after {
  transform: rotate(-45deg);
}
#landing-hero .fit-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ran-color-text-secondary);
}
@media (max-width: 840px) {
  #landing-hero .fit-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
#landing-hero .home-price-grid {
  display: grid;
  gap: var(--ran-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 900px) {
  #landing-hero .home-price-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }
}
#landing-hero .home-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ran-space-2);
  padding: var(--ran-space-6);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
  color: var(--ran-color-text);
}
#landing-hero .home-price-card.is-featured {
  z-index: 1;
  background: color-mix(in srgb, var(--brand) 6%, var(--card));
  box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--brand) 60%, transparent);
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent);
}
#landing-hero .home-price-ribbon {
  position: absolute;
  top: -0.65rem;
  inset-inline-end: var(--ran-space-5);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#landing-hero .home-price-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ran-color-text-secondary);
}
#landing-hero .home-price-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
#landing-hero .home-price-amount {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
#landing-hero .home-price-amount small {
  margin-inline-start: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ran-color-text-secondary);
}
#landing-hero .home-price-value {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
}
#landing-hero .home-price-blurb {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ran-color-text-secondary);
}
#landing-hero .home-price-list {
  margin: var(--ran-space-2) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
#landing-hero .home-price-list li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ran-color-text-secondary);
}
#landing-hero .home-price-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}
#landing-hero .home-price-cta {
  display: block;
  margin-top: var(--ran-space-4);
  text-decoration: none;
}
#landing-hero .home-price-card.is-soon {
  opacity: 0.48;
  filter: grayscale(0.35);
  box-shadow: none;
  outline: 1px solid color-mix(in srgb, var(--ran-color-text) 8%, transparent);
}
#landing-hero .home-price-card.is-soon .home-price-ribbon {
  background: color-mix(in srgb, var(--ran-color-text) 35%, transparent);
}
#landing-hero .home-price-card.is-soon .home-price-list li::before {
  background: color-mix(in srgb, var(--ran-color-text) 28%, transparent);
}
#landing-hero .home-price-cta.is-soon {
  pointer-events: none;
  cursor: default;
}
#landing-hero .home-price-cta.is-soon r-button {
  opacity: 0.75;
}
#landing-hero .home-price-cta r-button {
  width: 100%;
}

/* Guides */
#landing-hero .guides-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--ran-space-4);
  max-width: none;
}
#landing-hero .guides-head h2 {
  margin-bottom: 0;
}
#landing-hero .guides-all {
  flex: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  text-decoration: none;
  white-space: nowrap;
}
#landing-hero .guides-all:hover {
  color: var(--brand);
}
#landing-hero .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ran-space-4);
}
#landing-hero .guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--ran-space-3);
  padding: 28px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
}
#landing-hero .guide-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
#landing-hero .guide-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
#landing-hero .guide-card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .guide-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
}
#landing-hero .guide-cta:hover {
  color: var(--brand);
}
@media (max-width: 900px) {
  #landing-hero .guide-grid {
    grid-template-columns: 1fr;
  }
  #landing-hero .guides-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FAQ — 3-col soft cards */
#landing-hero .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ran-space-4);
}
#landing-hero .faq-item {
  padding: 28px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ran-color-text) 6%, transparent);
}
#landing-hero .faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
#landing-hero .faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ran-color-text-secondary);
}
@media (max-width: 960px) {
  #landing-hero .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #landing-hero .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- soft CTA band (demo-style, not green fill) ---------- */
#landing-hero .band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 7vw, 72px) clamp(28px, 5vw, 64px);
  border-radius: 16px;
  background: var(--card);
  text-align: center;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--ran-color-text) 4%, transparent),
    0 22px 48px -28px color-mix(in srgb, var(--ran-color-text) 22%, transparent);
}
#landing-hero .band-glow {
  position: absolute;
  left: 50%;
  bottom: -6rem;
  width: 37.5rem;
  height: 15rem;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 28%, transparent), transparent 70%);
  filter: blur(40px);
}
#landing-hero .band-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}
#landing-hero .band-eyebrow {
  color: var(--brand-ink);
}
#landing-hero .band h2 {
  margin: 0 0 var(--ran-space-3);
  font-size: clamp(1.75rem, 3.8vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ran-color-text);
}
#landing-hero .band-sub {
  margin: 0 0 var(--ran-space-6);
  font-size: clamp(1.05rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .band-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--ran-space-3);
  margin-bottom: 0;
}
#landing-hero .band-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--ran-radius-full);
  border: 0;
  background: var(--brand);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 22px;
  color: var(--brand-on);
  text-decoration: none;
  box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--brand) 55%, transparent);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
@media (prefers-reduced-motion: no-preference) {
  #landing-hero .band-primary:hover {
    transform: scale(1.015);
    background: var(--brand-strong);
  }
}
#landing-hero .band-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--ran-radius-full);
  border: 0;
  background: var(--surface-low);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 22px;
  color: var(--ran-color-text);
  text-decoration: none;
  transition: background 0.15s ease;
}
#landing-hero .band-secondary:hover {
  background: var(--surface-high);
}
#landing-hero .band-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ran-space-4);
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: 8px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 12.5px;
  color: inherit;
  white-space: nowrap;
}
#landing-hero .check i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  position: relative;
}
#landing-hero .check i::after {
  content: '';
  position: absolute;
  inset: 3px 0 0 4px;
  width: 5px;
  height: 3px;
  border: 1.5px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

@media (max-width: 560px) {
  #landing-hero .band {
    padding: 40px 20px;
  }
  #landing-hero .band-cta {
    flex-direction: column;
    width: 100%;
  }
  #landing-hero .band-cta > a,
  #landing-hero .band-primary,
  #landing-hero .band-secondary {
    width: 100%;
  }
}

/* ---------- footer ---------- */
#landing-hero .foot {
  margin-top: var(--section-y);
  padding-top: var(--section-y);
  padding-bottom: clamp(32px, 5vw, 48px);
  background: var(--surface-low);
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .foot-inner {
  display: flex;
  flex-direction: column;
  gap: var(--ran-space-8);
}
#landing-hero .foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: var(--ran-space-8) clamp(32px, 5vw, 64px);
  align-items: start;
}
#landing-hero .foot-brand {
  display: flex;
  flex-direction: column;
  gap: var(--ran-space-3);
  max-width: 36ch;
}
#landing-hero .foot-brand .brand {
  font-size: 15px;
}
#landing-hero .foot-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
}
#landing-hero .foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ran-space-6) var(--ran-space-8);
}
#landing-hero .foot-col h3 {
  margin: 0 0 var(--ran-space-4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ran-color-text);
}
#landing-hero .foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#landing-hero .foot-col a {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ran-color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
#landing-hero .foot-col a:hover {
  color: var(--ran-color-text);
}
#landing-hero .foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ran-space-3) var(--ran-space-6);
  padding-top: var(--ran-space-6);
  border-top: 1px solid color-mix(in srgb, var(--ran-color-border) 70%, transparent);
}
#landing-hero .foot-copy {
  margin: 0;
  font-size: 12px;
  color: var(--ran-color-text-secondary);
}
#landing-hero .foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
#landing-hero .foot-meta a {
  font-size: 12px;
  color: var(--ran-color-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
#landing-hero .foot-meta a:hover {
  color: var(--ran-color-text);
}
#landing-hero .foot .tm {
  margin: 0;
  max-width: 72ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ran-color-text-secondary);
  opacity: 0.85;
}

@media (max-width: 900px) {
  #landing-hero .foot-top {
    grid-template-columns: 1fr;
    gap: var(--ran-space-7);
  }
  #landing-hero .foot-brand {
    max-width: 48ch;
  }
}
@media (max-width: 640px) {
  #landing-hero .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--ran-space-6) var(--ran-space-5);
  }
  #landing-hero .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  #landing-hero .reveal {
    animation: home-reveal 0.55s ease both;
  }
  #landing-hero .reveal.d1 {
    animation-delay: 0.05s;
  }
  #landing-hero .reveal.d2 {
    animation-delay: 0.12s;
  }
  #landing-hero .reveal.d3 {
    animation-delay: 0.18s;
  }
  #landing-hero .reveal.d4 {
    animation-delay: 0.24s;
  }
  #landing-hero .reveal.d5 {
    animation-delay: 0.3s;
  }
  @keyframes home-reveal {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

#landing-hero.has-scroll-reveal .fmt-card:not(.is-in),
#landing-hero.has-scroll-reveal .why-card:not(.is-in),
#landing-hero.has-scroll-reveal .fit-panel:not(.is-in),
#landing-hero.has-scroll-reveal .guide-card:not(.is-in),
#landing-hero.has-scroll-reveal .faq-item:not(.is-in),
#landing-hero.has-scroll-reveal .home-price-card:not(.is-in),
#landing-hero.has-scroll-reveal .band:not(.is-in),
#landing-hero.has-scroll-reveal .section-head:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
}

#landing-hero.has-scroll-reveal .fmt-card,
#landing-hero.has-scroll-reveal .why-card,
#landing-hero.has-scroll-reveal .fit-panel,
#landing-hero.has-scroll-reveal .guide-card,
#landing-hero.has-scroll-reveal .faq-item,
#landing-hero.has-scroll-reveal .home-price-card,
#landing-hero.has-scroll-reveal .band,
#landing-hero.has-scroll-reveal .section-head {
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

#landing-hero.has-scroll-reveal .fmt-card.is-in,
#landing-hero.has-scroll-reveal .why-card.is-in,
#landing-hero.has-scroll-reveal .fit-panel.is-in,
#landing-hero.has-scroll-reveal .guide-card.is-in,
#landing-hero.has-scroll-reveal .faq-item.is-in,
#landing-hero.has-scroll-reveal .home-price-card.is-in,
#landing-hero.has-scroll-reveal .band.is-in,
#landing-hero.has-scroll-reveal .section-head.is-in {
  opacity: 1;
  transform: none;
}

#landing-hero.has-scroll-reveal .fmt-grid .fmt-card:nth-child(1) {
  transition-delay: 0.02s;
}
#landing-hero.has-scroll-reveal .fmt-grid .fmt-card:nth-child(2) {
  transition-delay: 0.1s;
}
#landing-hero.has-scroll-reveal .fmt-grid .fmt-card:nth-child(3) {
  transition-delay: 0.18s;
}
#landing-hero.has-scroll-reveal .fmt-grid .fmt-card:nth-child(4) {
  transition-delay: 0.26s;
}

[data-ran-theme='dark'] #landing-hero .fmt-card[data-fmt='pptx'] .fmt-tag,
html[theme='dark'] #landing-hero .fmt-card[data-fmt='pptx'] .fmt-tag {
  color: #9eb6c8;
}
[data-ran-theme='dark'] #landing-hero .fmt-card[data-fmt='pdf'] .fmt-tag,
html[theme='dark'] #landing-hero .fmt-card[data-fmt='pdf'] .fmt-tag {
  color: #e0a0a0;
}
[data-ran-theme='dark'] #landing-hero .fmt-doc-p .strike,
html[theme='dark'] #landing-hero .fmt-doc-p .strike {
  color: #e0a0a0;
}
