/* ── Reset & Base ───────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font);
      background: var(--paper);
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Typography helpers ─────────────────────────────────── */
    .label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--gold);
    }

    h1 { font-size: clamp(2rem, 4.8vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.018em; }
    h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
    h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
    p  { color: var(--ink-soft); line-height: 1.75; }

    /* ── Layout ─────────────────────────────────────────────── */
    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
    section { padding: 100px 0; }

    /* ── Buttons ─────────────────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .95rem;
      font-weight: 600;
      border-radius: var(--radius-sm);
      padding: 14px 28px;
      cursor: pointer;
      transition: all .2s ease;
      text-decoration: none;
      border: none;
    }
    .btn-primary {
      background: var(--ink);
      color: var(--white);
    }
    .btn-primary:hover { background: #333; transform: translateY(-1px); box-shadow: var(--shadow-md); }

    .btn-outline {
      background: transparent;
      color: var(--ink);
      border: 1.75px solid var(--ink-soft);
    }
    .btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

    /* ── Nav ─────────────────────────────────────────────────── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(250, 250, 248, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      max-width: 1380px;
      margin: 0 auto;
      padding: 0 24px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--ink);
      text-decoration: none;
      letter-spacing: -.02em;
    }
    .nav-logo img { height: 32px; width: auto; display: block; }
    .nav-logo .nav-logo-text { color: var(--ink); }
    .nav-logo .nav-logo-dot  { color: var(--gold); }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: .9rem;
      font-weight: 500;
      color: var(--ink-soft);
      text-decoration: none;
      transition: color .15s;
    }
    .nav-links a:hover { color: var(--ink); }
    .nav-cta { font-size: .9rem !important; padding: 10px 20px !important; color: var(--white) !important; }
    .nav-cta:hover { color: var(--white) !important; }

    /* ── Hero ─────────────────────────────────────────────────── */
    #hero {
      min-height: calc(68vh - 64px);    /* keep hero compact so the brand bar appears on the same screen */
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 64px 0 60px;
      position: relative;
      overflow: hidden;
    }
    #hero::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 700px; height: 700px;
      background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
      opacity: .45;
      pointer-events: none;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--teal-light);
      color: var(--teal);
      font-size: .8rem;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 28px;
    }
    .hero-badge svg { width: 14px; height: 14px; }
    .hero-headline {
      max-width: 100%;
      margin-bottom: 26px;
      font-size: clamp(1.85rem, 2.85vw, 2.65rem);
      white-space: nowrap;
      line-height: 1.08;
      letter-spacing: -.02em;
    }
    .hero-headline em { font-style: normal; color: var(--gold); }
    .hero-sub em { font-style: normal; color: var(--gold); font-weight: 600; }
    .hero-sub {
      font-size: 1.22rem;
      color: var(--ink-soft);
      max-width: 620px;
      margin-bottom: 44px;
      line-height: 1.65;
    }
    .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .hero-stat-row {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-top: 72px;
      padding-top: 48px;
      border-top: 1px solid var(--border);
      flex-wrap: wrap;
    }
    .hero-stat strong {
      display: block;
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -.03em;
      color: var(--ink);
    }
    .hero-stat span { font-size: .85rem; color: var(--ink-faint); }

    /* ── Hero 2-col grid: text on left, vertical workflow on right ───── */
    .hero-container { max-width: 1380px; }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: 32px;
      align-items: center;
      transform: translateY(20px);
    }
    .hero-text {
      max-width: 700px;
      min-width: 0;
    }
    .hero-workflow {
      position: relative;
      width: 100%;
      min-width: 0;
      padding-left: clamp(40px, 4.5vw, 72px);
      transform: translateY(-8px);
    }
    @media (max-width: 1000px) {
      .hero-grid { grid-template-columns: 1fr; gap: 24px; }
      .hero-workflow { display: none; }
    }

    /* Embedded Goho Flow — vertical layout (4 layers top → bottom) */
    .goho-flow {
      position: relative;
      width: 100%;
      max-width: 590px;
      margin-left: auto;        /* pin the workflow to the right edge of its column so leftmost items don't collide with the headline */
      margin-right: 0;
      font-family: var(--font);
    }
    .goho-flow .gf-svg {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      overflow: visible;
      pointer-events: none;
      z-index: 0;
    }
    @keyframes gfFlowDash { to { stroke-dashoffset: -40; } }
    .goho-flow .path-flow { animation: gfFlowDash 1.8s linear infinite; }
    @keyframes gfFadeUp {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .goho-flow .row-upload  { animation: gfFadeUp .5s ease both; }
    .goho-flow .row-modules { animation: gfFadeUp .5s .12s ease both; }
    .goho-flow .row-checks  { animation: gfFadeUp .5s .24s ease both; }
    .goho-flow .row-report  { animation: gfFadeUp .5s .36s ease both; }

    .goho-flow .rows {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 66px;          /* vertical space between layers — kept tight so all 4 labels stay in the hero viewport */
      position: relative;
      z-index: 1;
    }
    .goho-flow .row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      width: 100%;
    }
    .goho-flow .row-items {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
    }
    /* Carousel rotation: items animate via FLIP — each item translates from its
       old visual slot to its new visual slot, so the row reads as a wheel turn. */
    .goho-flow .row-items > * {
      --flow-slide-duration: 1.25s;
      --flow-slide-ease: cubic-bezier(.22, 1, .36, 1);
      --flow-state-duration: 1.05s;
      flex: 1 1 0;
      min-width: 0;
      max-width: 110px;
      transition:
        opacity var(--flow-state-duration) var(--flow-slide-ease),
        filter var(--flow-state-duration) var(--flow-slide-ease),
        background-color var(--flow-state-duration) var(--flow-slide-ease),
        border-color var(--flow-state-duration) var(--flow-slide-ease),
        color var(--flow-state-duration) var(--flow-slide-ease),
        box-shadow var(--flow-state-duration) var(--flow-slide-ease),
        transform var(--flow-slide-duration) var(--flow-slide-ease);
      transform-origin: center;
      will-change: transform, opacity, filter;
    }
    /* The centred / active item gets a subtle scale-up for spotlight emphasis */
    .goho-flow .row-items > .node-module-active,
    .goho-flow .row-items > .node-check:not(.fade-1):not(.fade-2):not(.fade-3):not(.fade-4) {
      transform: scale(1.08);
      z-index: 2;
    }

    .goho-flow .row-label {
      font-size: 10px;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: #B0987A;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 4px;
      /* Sit on top of the connection curves so the label text stays legible. */
      position: relative;
      z-index: 2;
      background: var(--paper);
      border: 1px solid rgba(200, 184, 152, .35);
      box-shadow: 0 1px 4px -1px rgba(60, 40, 10, .06);
      padding: 4px 12px;
      border-radius: 100px;
    }
    .goho-flow .row-label .step {
      width: 18px;
      height: 18px;
      min-width: 18px;
      aspect-ratio: 1 / 1;
      border-radius: 50%;
      background: #FFFFFF;
      border: 1.5px solid #C8B898;
      color: #9A8268;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      padding: 0;
    }

    /* Base node styles — compact for the horizontal rows of 5 */
    .goho-flow .node {
      border-radius: 100px;
      padding: 0 10px;
      height: 36px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .01em;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: default;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      user-select: none;
    }
    /* Upload + Report are singleton — keep them visually larger and prominent */
    .goho-flow .node-upload {
      background: #FFFFFF;
      border: 1.5px solid #C8B898;
      color: #3A2E22;
      font-size: 12.5px;
      font-weight: 600;
      height: 46px;
      padding: 0 22px;
      box-shadow: 0 2px 18px rgba(160,130,90,.14), 0 1px 5px rgba(0,0,0,.06);
    }
    .goho-flow .node-upload:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 22px rgba(160,130,90,.22), 0 2px 6px rgba(0,0,0,.07);
    }
    .goho-flow .node-module-active {
      background: #FFFFFF;
      border: 1.5px solid #BEAA8A;
      color: #3A2E22;
      box-shadow: 0 2px 12px rgba(160,130,90,.12), 0 1px 4px rgba(0,0,0,.05);
    }
    .goho-flow .node-module-active:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(160,130,90,.20);
    }
    .goho-flow .node-module-faded {
      background: #EEE9E0;
      border: 1px solid #D8D0C4;
      color: #AEA090;
      font-size: 10.5px;
    }
    .goho-flow .node-check {
      background: #FFFFFF;
      border: 1.5px solid #B4C8AC;
      color: #3A4836;
      padding: 0 5px;
      height: 36px;
      box-shadow: 0 2px 12px rgba(120,150,100,.10), 0 1px 3px rgba(0,0,0,.04);
      border-radius: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: default;
      user-select: none;
      overflow: hidden;
    }
    .goho-flow .node-check:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(120,150,100,.16);
    }
    .goho-flow .check-title {
      font-weight: 600;
      color: #2C3C28;
      font-size: 9px;
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }
    .goho-flow .fade-1 { opacity: .72; filter: none;          pointer-events: none; }
    .goho-flow .fade-2 { opacity: .32; filter: blur(.5px); pointer-events: none; }
    .goho-flow .fade-3 { opacity: .16; filter: blur(.9px); pointer-events: none; }
    .goho-flow .fade-4 { opacity: .07; filter: blur(1.5px); pointer-events: none; }
    .goho-flow .node-report {
      background: #FFFFFF;
      border: 1.5px solid #A4B89C;
      color: #2A3C26;
      font-size: 12.5px;
      font-weight: 600;
      height: 46px;
      padding: 0 22px;
      box-shadow: 0 2px 16px rgba(120,150,100,.13), 0 1px 5px rgba(0,0,0,.05);
    }
    .goho-flow .node-report:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 22px rgba(120,150,100,.20);
    }
    .goho-flow .gf-icon { font-size: 13px; opacity: .65; flex-shrink: 0; }
    .goho-flow .gf-sub {
      font-size: 11px;
      color: #6B5A48;
      font-weight: 500;
      margin-top: 4px;
      text-align: center;
      line-height: 1.45;
      letter-spacing: .005em;
    }

    /* ── Consultation section ─────────────────────────────────── */
    #consultation { background: var(--paper); padding: 120px 0; }
    .consultation-layout {
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      gap: 56px;
      align-items: stretch;
    }
    .consultation-left,
    .consultation-right {
      display: flex;
      flex-direction: column;
      gap: 48px;
      min-width: 0;
    }
    .consultation-header {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .consultation-rule {
      flex: 0 0 72px;
      height: 1px;
      background: var(--ink);
    }
    .consultation-title {
      font-size: clamp(1.9rem, 3.6vw, 2.8rem);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -.02em;
      margin: 0;
    }
    .consultation-image {
      background: linear-gradient(135deg, #2a2723 0%, #3d3833 100%);
      border-radius: var(--radius-md);
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }
    .consultation-image-large { aspect-ratio: 4 / 3; }
    .consultation-image-small {
      aspect-ratio: 16 / 10;
      margin-left: auto;
      width: 88%;
    }
    .consultation-image svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .consultation-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 70% 30%, rgba(200,151,58,.12) 0%, transparent 60%);
      pointer-events: none;
    }
    .consultation-right { justify-content: space-between; }
    .consultation-body { max-width: 360px; }
    .consultation-body p {
      font-size: 1.02rem;
      color: var(--ink-soft);
      line-height: 1.7;
      margin: 0 0 36px;
    }
    .consultation-cta {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      text-decoration: none;
      color: var(--ink);
      font-size: .82rem;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    .consultation-cta-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid var(--ink);
      font-size: 1.05rem;
      transition: transform .25s ease, background .25s ease, color .25s ease;
    }
    .consultation-cta:hover .consultation-cta-arrow {
      transform: translateX(6px);
      background: var(--ink);
      color: var(--white);
    }
    @media (max-width: 800px) {
      .consultation-layout { grid-template-columns: 1fr; gap: 32px; }
      .consultation-left, .consultation-right { gap: 24px; }
      .consultation-image-small { width: 100%; margin-left: 0; }
      .consultation-rule { flex: 0 0 40px; }
    }

    /* ── Brand logos (auto-scrolling marquee) ─────────────────── */
    #brands { padding: 56px 0; border-bottom: 1px solid var(--border); overflow: hidden; }
    .brands-label { font-size: 1.05rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 36px; text-align: center; letter-spacing: -.005em; }
    .brands-marquee {
      position: relative;
      width: 100%;
      overflow: hidden;
      mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    .brands-track {
      display: flex;
      width: max-content;
      align-items: center;
      gap: 72px;
      animation: brandsScroll 45s linear infinite;
    }
    .brands-marquee:hover .brands-track { animation-play-state: paused; }
    @keyframes brandsScroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    .brand-logo {
      height: 56px;
      width: 160px;
      flex-shrink: 0;
      object-fit: contain;
      object-position: center;
      opacity: .92;
      transition: opacity .25s ease, transform .25s ease;
    }
    .brand-logo:hover {
      opacity: 1;
      transform: translateY(-1px);
    }
    .brand-logo.logo-wyndham      { transform: scale(2.0625); transform-origin: center; }
    .brand-logo.logo-hilton       { transform: scale(1.25);   transform-origin: center; }
    .brand-logo.logo-ihg          { transform: scale(0.75);   transform-origin: center; }
    .brand-logo.logo-fourseasons  { transform: scale(0.88);   transform-origin: center; }
    .brand-logo.logo-shangrila    { transform: scale(0.96);    transform-origin: center; }
    .brand-logo.logo-radisson     { transform: scale(1.05);   transform-origin: center; }
    .brand-logo.logo-choice       { transform: scale(0.945);  transform-origin: center; }
    .brand-logo.logo-wyndham:hover     { transform: scale(2.0625) translateY(-1px); }
    .brand-logo.logo-hilton:hover      { transform: scale(1.25)   translateY(-1px); }
    .brand-logo.logo-ihg:hover         { transform: scale(0.75)   translateY(-1px); }
    .brand-logo.logo-fourseasons:hover { transform: scale(0.88)   translateY(-1px); }
    .brand-logo.logo-shangrila:hover   { transform: scale(0.96)    translateY(-1px); }
    .brand-logo.logo-radisson:hover    { transform: scale(1.05)   translateY(-1px); }
    .brand-logo.logo-choice:hover      { transform: scale(0.945)  translateY(-1px); }
    .brands-disclaimer {
      font-size: .68rem;
      color: var(--ink-faint);
      opacity: .55;
      text-align: center;
      margin-top: 32px;
      max-width: 640px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.5;
    }

    /* ── How it works (icon grid — minimal labels, no body copy) ─── */
    #how { background: var(--white); }
    .how-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
    .how-header p { font-size: 1.05rem; margin-top: 16px; }
    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      max-width: 920px;
      margin: 0 auto;
    }
    .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 28px 16px;
      background: transparent;
      border: none;
      box-shadow: none;
      /* Initial hidden state — fades up + into view when #how enters viewport */
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1.2s ease, transform 1.2s ease;
    }
    /* Stagger the 4 steps so they appear one after another (slower cadence) */
    .step:nth-child(1) { transition-delay: 0.00s; }
    .step:nth-child(2) { transition-delay: 0.35s; }
    .step:nth-child(3) { transition-delay: 0.70s; }
    .step:nth-child(4) { transition-delay: 1.05s; }
    #how.is-revealed .step {
      opacity: 1;
      transform: translateY(0);
    }
    #how.is-revealed .step:hover { transform: translateY(-4px); }
    @media (prefers-reduced-motion: reduce) {
      .step { opacity: 1; transform: none; transition: none; }
    }
    .step-icon {
      width: 88px;
      height: 88px;
      border-radius: 20px;
      background: var(--sand);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      color: var(--gold);
      transition: background .25s ease, color .25s ease;
    }
    .step:hover .step-icon { background: var(--gold); color: var(--white); }
    .step-icon svg { width: 44px; height: 44px; }
    .step h3 {
      font-size: .95rem;
      font-weight: 600;
      color: var(--ink);
      letter-spacing: -.005em;
      margin: 0;
      line-height: 1.35;
    }
    @media (max-width: 800px) {
      .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .step-icon { width: 72px; height: 72px; }
      .step-icon svg { width: 36px; height: 36px; }
    }
    @media (max-width: 880px) {
      .steps { grid-template-columns: 1fr; }
      .step { margin: 0 0 14px 0; }
      .steps::before, .step-arrow { display: none; }
      .phase-row { grid-template-columns: 1fr; }
    }

    /* ── The Input (auto-playing 2-step setup demo) ─────────────── */
    #input { background: var(--paper); }
    .input-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
    .input-header h2 { margin-top: 12px; }
    .input-sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; }

    .input-card {
      max-width: 980px;
      margin: 0 auto;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      overflow: hidden;
    }

    /* Step header strip */
    .input-strip {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid var(--border);
    }
    .input-tab {
      padding: 16px 36px;
      display: flex; align-items: center; gap: 12px;
      border-right: 1px solid var(--border);
    }
    .input-tab:last-child { border-right: none; }
    .input-tab-num {
      width: 26px; height: 26px; border-radius: 50%;
      background: var(--gold); color: var(--white);
      font-size: 12px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: background .35s ease, box-shadow .35s ease;
    }
    .input-tab-num.dim { background: var(--border); color: var(--ink-faint); }
    .input-tab-num.done { background: #22c55e; box-shadow: 0 3px 10px rgba(34,197,94,.4); }
    .input-tab-text {
      font-size: 11px; font-weight: 700; letter-spacing: .07em;
      text-transform: uppercase; color: var(--ink-faint);
    }
    .input-tab-text strong {
      display: block; font-size: 13px; letter-spacing: 0;
      text-transform: none; color: var(--ink); margin-top: 1px; font-weight: 600;
    }

    /* Panels */
    .input-panels {
      display: grid;
      grid-template-columns: 1fr 1px 1fr;
    }
    .input-panel { padding: 32px 36px; }
    .input-divider { background: var(--border); }
    @media (max-width: 800px) {
      .input-panels { grid-template-columns: 1fr; }
      .input-divider { width: auto; height: 1px; }
      .input-strip { grid-template-columns: 1fr; }
      .input-tab { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 24px; }
      .input-panel { padding: 26px 24px; }
    }

    /* Upload zone */
    .input-upload {
      border: 2px dashed var(--gold);
      border-radius: 12px;
      background: rgba(200,151,58,.07);
      padding: 36px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: opacity .3s ease;
    }
    .input-upload-prompt { transition: opacity .25s; }
    .input-upload-ring {
      width: 54px; height: 54px;
      background: var(--gold); border-radius: 50%;
      color: var(--white); font-size: 22px;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      box-shadow: 0 6px 18px rgba(200,151,58,.38);
    }
    .input-upload h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
    .input-upload p { font-size: 11.5px; color: var(--ink-soft); margin: 0; }

    /* Progress */
    .input-progress { display: none; padding: 4px 0 0; }
    .input-progress.show { display: block; animation: inputFadeIn .25s ease both; }
    @keyframes inputFadeIn { from { opacity: 0; } to { opacity: 1; } }
    .input-prog-track {
      height: 6px;
      background: rgba(200,151,58,.18);
      border-radius: 99px;
      overflow: hidden;
    }
    .input-prog-fill {
      height: 100%;
      background: var(--gold);
      border-radius: 99px;
      width: 0%;
      transition: width .12s linear;
    }
    .input-prog-label {
      font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center;
    }

    /* Confirmed state */
    .input-confirmed {
      display: none;
      align-items: center; gap: 14px;
      background: rgba(200,151,58,.10);
      border: 1.5px solid var(--gold);
      border-radius: 12px;
      padding: 14px 16px;
    }
    .input-confirmed.show {
      display: flex;
      animation: inputPopIn .45s cubic-bezier(.34,1.56,.64,1) both;
    }
    @keyframes inputPopIn {
      from { opacity: 0; transform: scale(.92) translateY(6px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }
    .input-cf-icon {
      width: 44px; height: 44px;
      background: var(--white); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,.07);
    }
    .input-cf-body { flex: 1; min-width: 0; }
    .input-cf-name {
      font-size: 13px; font-weight: 600;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      color: var(--ink);
    }
    .input-cf-meta { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
    .input-cf-check {
      width: 26px; height: 26px;
      background: #22c55e; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: var(--white); flex-shrink: 0;
      box-shadow: 0 3px 10px rgba(34,197,94,.45);
      animation: inputCheckIn .5s cubic-bezier(.34,1.56,.64,1) .2s both;
    }
    @keyframes inputCheckIn {
      from { transform: scale(0) rotate(-45deg); }
      to   { transform: scale(1) rotate(0deg); }
    }

    /* Right info panel (locked → unlocked) */
    .input-info { transition: opacity .55s ease, filter .55s ease; }
    .input-info.locked {
      opacity: .36;
      filter: blur(1.5px);
      pointer-events: none;
    }
    .input-lock-notice {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--ink-soft); font-style: italic;
      margin-bottom: 22px;
      transition: opacity .3s ease;
    }

    /* Form fields */
    .input-field-row { display: grid; gap: 14px; margin-bottom: 14px; }
    .input-field-row.cols-2 { grid-template-columns: 1fr 1fr; }
    @media (max-width: 600px) { .input-field-row.cols-2 { grid-template-columns: 1fr; } }
    .input-field { position: relative; }
    .input-field label {
      display: block;
      font-size: 10.5px; font-weight: 700;
      letter-spacing: .06em; text-transform: uppercase;
      color: var(--ink-soft); margin-bottom: 7px;
      transition: color .2s;
    }
    .input-field.active label { color: var(--gold); }
    .input-field input, .input-field select {
      width: 100%; padding: 10px 13px;
      border: 1.5px solid var(--border); border-radius: 8px;
      font-size: 14px; color: var(--ink); background: var(--paper);
      outline: none; -webkit-appearance: none;
      transition: border-color .25s, box-shadow .25s, background .25s;
      font-family: inherit;
    }
    .input-field.active input,
    .input-field.active select {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(200,151,58,.13);
      background: var(--white);
    }
    .input-field select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 13px center;
      padding-right: 34px;
    }

    /* Checkbox row */
    .input-check-row {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 14px; border: 1.5px solid var(--border);
      border-radius: 8px; margin-top: 4px;
      transition: border-color .25s, background .25s;
    }
    .input-check-row.active {
      border-color: var(--gold);
      background: rgba(200,151,58,.08);
    }
    .input-check-row input {
      accent-color: var(--gold);
      width: 15px; height: 15px; flex-shrink: 0;
      pointer-events: none;
    }
    .input-check-row span { font-size: 13px; color: var(--ink); }

    /* Submit row */
    .input-submit-row {
      padding: 22px 36px;
      border-top: 1px solid var(--border);
      background: var(--paper);
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    @media (max-width: 800px) {
      .input-submit-row { flex-direction: column; align-items: stretch; padding: 20px 24px; }
    }
    .input-submit-hint { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }
    .input-submit-hint strong { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 600; }
    .input-submit-btn {
      background: var(--ink); color: var(--white);
      border: none; border-radius: 10px;
      padding: 13px 30px;
      font-size: 14px; font-weight: 600;
      white-space: nowrap;
      opacity: .4;
      transition: background .25s, transform .2s, box-shadow .3s, opacity .4s;
      font-family: inherit;
      cursor: default;
    }
    .input-submit-btn.ready {
      opacity: 1;
      background: var(--gold);
      box-shadow: 0 5px 20px rgba(200,151,58,.38);
      animation: inputBtnReady .55s cubic-bezier(.34,1.56,.64,1) both;
    }
    @keyframes inputBtnReady {
      from { transform: scale(.95); }
      to   { transform: scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      .input-confirmed.show, .input-cf-check, .input-submit-btn.ready { animation: none; }
    }

    /* ── Report preview ───────────────────────────────────────── */
    #report { background: var(--sand); }
    .report-layout {
      display: grid;
      grid-template-columns: 1fr 1.85fr;
      gap: 48px;
      align-items: center;
    }
    .report-mockup {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      /* Scroll-driven appear / hold / disappear (modern browsers only) */
      animation: reportFlyThrough linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
      will-change: opacity, transform;
    }
    @keyframes reportFlyThrough {
      0%   { opacity: 0; transform: translateY(60px) scale(.873); }
      22%  { opacity: 1; transform: translateY(0)    scale(.9); }
      78%  { opacity: 1; transform: translateY(0)    scale(.9); }
      100% { opacity: 0; transform: translateY(-40px) scale(.8865); }
    }
    /* Fallback for browsers without scroll-driven animations: keep visible at the resting scale */
    @supports not (animation-timeline: view()) {
      .report-mockup { animation: none; opacity: 1; transform: scale(.9); }
    }

    /* Staggered cascade of inner elements when the report enters view */
    .report-body .summary-chip,
    .report-body .ai-summary,
    .report-body .area-tag,
    .report-body .table-mock tbody tr {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .55s ease, transform .55s ease;
    }
    #report.is-revealed .report-body .summary-chip,
    #report.is-revealed .report-body .ai-summary,
    #report.is-revealed .report-body .area-tag,
    #report.is-revealed .report-body .table-mock tbody tr {
      opacity: 1;
      transform: translateY(0);
    }
    /* Stagger delays — chips first, then summary, area tags, then table rows */
    #report.is-revealed .report-body .summary-chip:nth-child(1) { transition-delay: .00s; }
    #report.is-revealed .report-body .summary-chip:nth-child(2) { transition-delay: .08s; }
    #report.is-revealed .report-body .summary-chip:nth-child(3) { transition-delay: .16s; }
    #report.is-revealed .report-body .summary-chip:nth-child(4) { transition-delay: .24s; }
    #report.is-revealed .report-body .ai-summary               { transition-delay: .34s; }
    #report.is-revealed .report-body .area-tag:nth-child(1)    { transition-delay: .46s; }
    #report.is-revealed .report-body .area-tag:nth-child(2)    { transition-delay: .52s; }
    #report.is-revealed .report-body .area-tag:nth-child(3)    { transition-delay: .58s; }
    #report.is-revealed .report-body .table-mock tbody tr:nth-child(1) { transition-delay: .70s; }
    #report.is-revealed .report-body .table-mock tbody tr:nth-child(2) { transition-delay: .80s; }
    #report.is-revealed .report-body .table-mock tbody tr:nth-child(3) { transition-delay: .90s; }
    #report.is-revealed .report-body .table-mock tbody tr:nth-child(4) { transition-delay: 1.00s; }
    #report.is-revealed .report-body .table-mock tbody tr:nth-child(5) { transition-delay: 1.10s; }
    @media (prefers-reduced-motion: reduce) {
      .report-mockup { animation: none; opacity: 1; transform: scale(.9); }
      .report-body .summary-chip,
      .report-body .ai-summary,
      .report-body .area-tag,
      .report-body .table-mock tbody tr { opacity: 1; transform: none; transition: none; }
    }
    .report-topbar {
      background: var(--ink);
      padding: 12px 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #febc2e; }
    .dot-g { background: #28c840; }
    .report-topbar-title {
      flex: 1;
      text-align: center;
      font-size: .75rem;
      color: rgba(255,255,255,.5);
      font-weight: 500;
    }
    .report-body { padding: 24px; }
    .report-summary {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 18px;
    }
    .chip-nv { background: #f3f4f6; }
    .chip-nv strong { color: #4b5563; }
    .chip-nv span  { color: #9ca3af; }
    .chip-crop { background: #ede9fe; }
    .chip-crop strong { color: #5b21b6; }
    .chip-crop span  { color: #8b5cf6; }
    .ai-summary {
      background: linear-gradient(135deg, #fffbf3 0%, #fef6e7 100%);
      border: 1px solid #f0e0bc;
      border-radius: 10px;
      padding: 12px 14px;
      margin-bottom: 18px;
      font-size: .78rem;
      line-height: 1.6;
      color: var(--ink-soft);
      position: relative;
    }
    .ai-summary::before {
      content: 'SUMMARY';
      display: block;
      font-size: .6rem;
      font-weight: 700;
      letter-spacing: .1em;
      color: var(--gold);
      margin-bottom: 6px;
    }
    .area-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .68rem;
      font-weight: 600;
      background: var(--sand);
      color: var(--ink-soft);
      padding: 3px 8px;
      border-radius: 100px;
      margin-right: 4px;
    }
    .summary-chip strong { font-size: 1.35rem; }
    .summary-chip { padding: 12px 6px; }
    .summary-chip {
      border-radius: var(--radius-sm);
      padding: 14px 12px;
      text-align: center;
    }
    .chip-pass { background: #e8f5e9; }
    .chip-fail { background: #ffebee; }
    .chip-review { background: #fff8e1; }
    .summary-chip strong { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
    .summary-chip span { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
    .chip-pass strong { color: #2e7d32; }
    .chip-pass span  { color: #4caf50; }
    .chip-fail strong { color: #c62828; }
    .chip-fail span  { color: #ef5350; }
    .chip-review strong { color: #f57f17; }
    .chip-review span  { color: #ffc107; }
    .table-mock { width: 100%; border-collapse: collapse; font-size: .78rem; }
    .table-mock th {
      text-align: left;
      padding: 8px 10px;
      font-weight: 600;
      font-size: .7rem;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: var(--ink-faint);
      border-bottom: 1px solid var(--border);
    }
    .table-mock td {
      padding: 9px 10px;
      border-bottom: 1px solid var(--border);
      color: var(--ink-soft);
      vertical-align: top;
    }
    .table-mock tr:last-child td { border-bottom: none; }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 9px 3px 8px;
      border-radius: 6px;
      font-size: .64rem;
      font-weight: 600;
      letter-spacing: .04em;
      text-transform: uppercase;
      line-height: 1;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .badge::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
      display: inline-block;
    }
    .badge-pass {
      background: #ecf5ef;
      color: #1f6a3a;
      border-color: rgba(31, 106, 58, .18);
    }
    .badge-pass::before { background: #2f9858; }
    .badge-fail {
      background: #fbecef;
      color: #9a283f;
      border-color: rgba(154, 40, 63, .18);
    }
    .badge-fail::before { background: #c93b58; }
    .badge-review {
      background: #fbf2e1;
      color: #8a5a14;
      border-color: rgba(138, 90, 20, .2);
    }
    .badge-review::before { background: #c89538; }

    /* ── Human in the loop — animated edit demo ──────────────── */
    #edit { background: var(--paper); }
    .edit-layout {
      display: grid;
      grid-template-columns: 1fr 1.45fr;
      gap: 56px;
      align-items: center;
    }
    .edit-text { max-width: 520px; }
    .edit-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 0;
      padding: 0;
    }
    .edit-features li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: .92rem;
      color: var(--ink-soft);
      line-height: 1.5;
    }
    .edit-features li::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--gold);
      flex-shrink: 0;
      margin-top: 8px;
    }

    /* Mockup card (reuses report-mockup-like styling) */
    .edit-mockup {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .edit-mockup-body { padding: 22px 24px 24px; position: relative; }
    .edit-mockup-meta {
      font-size: .68rem;
      font-weight: 600;
      color: var(--ink-faint);
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-bottom: 12px;
    }
    .edit-summary {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 22px;
    }

    /* Editable single-row table */
    .edit-table-head,
    .edit-table-row {
      display: grid;
      grid-template-columns: 1.7fr .7fr 1.8fr .4fr;
      gap: 12px;
      padding: 12px 10px;
      align-items: center;
    }
    .edit-table-head {
      font-size: .62rem;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--ink-faint);
      border-bottom: 1px solid var(--border);
      padding: 10px 10px 8px;
    }
    .edit-table-row {
      font-size: .82rem;
      color: var(--ink);
      border-radius: var(--radius-sm);
      transition: background-color .35s ease, box-shadow .35s ease;
    }
    .edit-table-row.is-editing {
      background: rgba(200, 151, 58, .07);
      box-shadow: inset 0 0 0 1px rgba(200, 151, 58, .25);
    }
    .edit-cell-conclusion {
      position: relative;
      min-width: 0;
    }
    /* Blinking caret that appears while the text is being "typed" */
    .edit-caret {
      display: none;
      width: 1.2px;
      height: 14px;
      background: var(--gold);
      vertical-align: middle;
      margin-left: 1px;
      animation: caretBlink .9s steps(2, start) infinite;
      transform: translateY(2px);
    }
    .edit-caret.show { display: inline-block; }
    @keyframes caretBlink { to { opacity: 0; } }

    /* Cursor / click indicator for the status interaction */
    .edit-pointer {
      position: absolute;
      width: 18px; height: 18px;
      pointer-events: none;
      opacity: 0;
      transition: opacity .25s ease, transform .55s cubic-bezier(.4,0,.2,1);
      z-index: 4;
    }
    .edit-pointer.show { opacity: 1; }
    .edit-pointer svg { width: 100%; height: 100%; display: block; color: var(--ink); filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
    .edit-pointer::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: rgba(200, 151, 58, .35);
      transform: scale(0);
      animation: clickRipple .5s ease;
    }
    @keyframes clickRipple {
      0%   { transform: scale(0); opacity: .6; }
      100% { transform: scale(2.4); opacity: 0; }
    }
    .edit-pointer:not(.click)::after { display: none; }

    /* Number flip animation for the summary chips */
    .edit-summary .summary-chip strong {
      display: block;
      transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s ease;
    }
    .edit-summary .summary-chip.bump strong {
      animation: numberBump .55s cubic-bezier(.34, 1.56, .64, 1);
    }
    @keyframes numberBump {
      0%   { transform: translateY(-6px); opacity: 0; }
      55%  { transform: translateY(2px);  opacity: 1; }
      100% { transform: translateY(0);    opacity: 1; }
    }

    @media (max-width: 900px) {
      .edit-layout { grid-template-columns: 1fr; gap: 32px; }
      .edit-text { max-width: 100%; }
      .edit-table-head, .edit-table-row { grid-template-columns: 1fr; gap: 6px; }
      .edit-table-head { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      .edit-table-row, .edit-caret, .edit-pointer, .edit-summary .summary-chip strong { animation: none; transition: none; }
    }

    /* ── Features ─────────────────────────────────────────────── */
    #features { background: var(--white); }
    .features-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
    .features-header p { margin-top: 14px; font-size: 1.05rem; }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--sand);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      transition: box-shadow .2s, transform .2s;
    }
    .feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .feature-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: var(--white);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin-bottom: 20px;
      box-shadow: var(--shadow-sm);
    }
    .feature-card h3 { margin-bottom: 10px; font-size: 1rem; }
    .feature-card p { font-size: .875rem; line-height: 1.7; }

    /* ── Market ───────────────────────────────────────────────── */
    #market { background: var(--ink); color: var(--white); }
    #market .label { color: var(--gold); }
    #market p { color: rgba(255,255,255,.65); }
    #market h2 { color: var(--white); }
    .market-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .market-stats {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 24px;
      margin-top: 48px;
    }
    .market-stat {
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-md);
      padding: 28px 24px;
    }
    .market-stat strong {
      display: block;
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -.03em;
      color: var(--white);
      margin-bottom: 6px;
    }
    .market-stat span { font-size: .85rem; color: rgba(255,255,255,.5); }
    .market-visual {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-lg);
      padding: 40px;
    }
    .expand-row {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .expand-row:last-child { border-bottom: none; }
    .expand-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(255,255,255,.08);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--gold);
    }
    .expand-icon svg { width: 22px; height: 22px; display: block; }
    .expand-row h4 { font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
    .expand-row p { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
    .expand-tag {
      margin-left: auto;
      font-size: .7rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 100px;
      flex-shrink: 0;
    }
    .tag-now { background: var(--teal-light); color: var(--teal); }
    .tag-next { background: rgba(200,151,58,.15); color: var(--gold); }

    /* ── Why Goho — dark Apple-style technology showcase ──────── */
    #why {
      background: #14110d;
      color: #e8d9b8;
      padding: 130px 0;
    }
    .why-header {
      text-align: center;
      margin-bottom: 80px;
    }
    .why-label {
      display: block;
      color: var(--gold);
      font-size: .82rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .why-headline {
      color: #fafaf8;
      font-size: clamp(1.7rem, 3.1vw, 2.6rem);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: -.02em;
      margin: 0 auto;
      max-width: 100%;
      white-space: nowrap;
    }
    .why-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 80px;
      align-items: center;
    }

    /* Construction plan visual — real floor plan rendered as a blueprint */
    .why-plan {
      width: 100%;
      aspect-ratio: 4 / 3;
      position: relative;
      background: #0c0a08;
      border: 1px solid rgba(200,151,58,.18);
      border-radius: var(--radius-md);
      padding: 14px;
      box-shadow: 0 24px 60px -20px rgba(0,0,0,.65), 0 1px 0 rgba(232,217,184,.06) inset;
      overflow: hidden;
    }
    .why-plan img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      /* Inverted to a blueprint look: white linework on a dark drafting board */
      mix-blend-mode: screen;
      /* Reveal cascade: heavy blur + dim + slight zoom → snaps into focus on scroll-in */
      opacity: 0;
      filter: invert(1) hue-rotate(180deg) blur(20px) saturate(.5);
      transform: scale(1.04);
      transition: opacity 1.8s ease, filter 2.2s ease, transform 2.2s ease;
    }
    #why.is-revealed .why-plan img {
      opacity: .92;
      filter: invert(1) hue-rotate(180deg) blur(0) saturate(1);
      transform: scale(1);
    }
    @media (prefers-reduced-motion: reduce) {
      .why-plan img {
        transition: none;
        opacity: .92;
        filter: invert(1) hue-rotate(180deg);
        transform: none;
      }
    }

    /* Technology stat blocks (right side) */
    .why-stats {
      display: flex;
      flex-direction: column;
      gap: 56px;
    }
    /* Each block (Hospitality / Sourced / Yours) fades up in sequence with the section reveal */
    .why-stat {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 1s ease, transform 1s ease;
    }
    .why-stat:nth-child(1) { transition-delay: 0.20s; }
    .why-stat:nth-child(2) { transition-delay: 0.60s; }
    .why-stat:nth-child(3) { transition-delay: 1.00s; }
    #why.is-revealed .why-stat {
      opacity: 1;
      transform: translateY(0);
    }
    @media (prefers-reduced-motion: reduce) {
      .why-stat { opacity: 1; transform: none; transition: none; }
    }
    .why-stat-pre {
      font-size: .9rem;
      color: rgba(232,217,184,.65);
      margin: 0 0 6px;
      line-height: 1.3;
    }
    .why-stat-big {
      font-size: clamp(1.7rem, 2.6vw, 2.3rem);
      font-weight: 700;
      color: var(--gold);
      line-height: 1.05;
      letter-spacing: -.015em;
      margin: 0 0 14px;
    }
    .why-stat-desc {
      font-size: .98rem;
      color: rgba(232,217,184,.7);
      line-height: 1.65;
      margin: 0;
      max-width: 340px;
    }

    @media (max-width: 900px) {
      .why-grid { grid-template-columns: 1fr; gap: 56px; }
      .why-stats { gap: 40px; }
      .why-header { margin-bottom: 56px; }
    }

    /* ── CTA ─────────────────────────────────────────────────── */
    #cta {
      background: var(--white);
      text-align: center;
    }
    .cta-box {
      background: var(--ink);
      border-radius: var(--radius-lg);
      padding: 80px 48px;
      max-width: 720px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }
    .cta-box::before {
      content: '';
      position: absolute;
      bottom: -120px; right: -120px;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(200,151,58,.25) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-box .label { color: var(--gold); margin-bottom: 16px; }
    .cta-box h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
    .cta-box p { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 40px; }
    .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .btn-cta-primary {
      background: var(--gold);
      color: var(--white);
      border: none;
    }
    .btn-cta-primary:hover { background: #b8832a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,151,58,.4); }
    .btn-cta-outline {
      background: transparent;
      color: rgba(255,255,255,.85);
      border: 1.5px solid rgba(255,255,255,.2);
    }
    .btn-cta-outline:hover { border-color: rgba(255,255,255,.5); }

    /* ── Footer ──────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 40px 0;
    }
    .footer-inner {
      max-width: 1380px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-logo { display: inline-flex; align-items: center; gap: 7px; font-size: 1rem; font-weight: 700; color: var(--ink); text-decoration: none; }
    .footer-logo img { height: 22px; width: auto; display: block; }
    .footer-logo .footer-logo-text { color: var(--ink); }
    .footer-logo .footer-logo-dot  { color: var(--gold); }
    .footer-copy { font-size: .8rem; color: var(--ink-faint); }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { font-size: .8rem; color: var(--ink-faint); text-decoration: none; }
    .footer-links a:hover { color: var(--ink); }

    /* ── Responsive ──────────────────────────────────────────── */
    @media (max-width: 900px) {
      section { padding: 72px 0; }
      .report-layout, .market-layout, .why-layout { grid-template-columns: 1fr; gap: 40px; }
      .steps { grid-template-columns: 1fr 1fr; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .market-stats { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 600px) {
      .steps { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .report-summary { grid-template-columns: repeat(3, 1fr); }
      .nav-links { display: none; }
      .cta-box { padding: 48px 24px; }
    }

    /* Responsive system — phone and small viewport layout */
    @media (max-width: 600px) {
      html,
      body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }

      body {
        overflow-wrap: break-word;
      }

      .container,
      .nav-inner,
      .footer-inner {
        padding-left: 18px;
        padding-right: 18px;
      }

      section {
        padding: 56px 0;
      }

      h1,
      h2,
      .hero-headline,
      .input-header h2,
      .edit-text h2,
      .why-headline {
        max-width: 100%;
        white-space: normal !important;
      }

      #hero {
        min-height: 0;
        padding: 32px 0 52px;
      }

      #hero .container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .hero-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 0;
      }

      .hero-text {
        display: contents;
      }

      .hero-badge { order: 1; }
      .hero-headline { order: 2; }
      .hero-sub { order: 3; }
      .hero-workflow { order: 4; }
      .hero-actions { order: 5; }

      .hero-badge {
        width: 100%;
        max-width: 100%;
        align-items: flex-start;
        border-radius: var(--radius-sm);
        line-height: 1.45;
      }

      .hero-headline {
        font-size: clamp(1.9rem, 9.2vw, 2.35rem);
        line-height: 1.08;
        text-wrap: balance;
      }

      .hero-workflow {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 0;
        transform: none;
        margin: 24px 0 28px;
        overflow: visible;
      }

      .goho-flow {
        max-width: 100%;
        margin: 0 auto;
      }

      .goho-flow .rows {
        gap: 38px;
      }

      .goho-flow .row {
        gap: 6px;
      }

      .goho-flow .row-items {
        width: 88%;
        max-width: 300px;
        margin: 0 auto;
        gap: 5px;
      }

      .goho-flow .row-items > * {
        max-width: 54px;
      }

      .goho-flow .row-label {
        font-size: 8px;
        padding: 3px 9px;
      }

      .goho-flow .node {
        height: 30px;
        padding: 0 6px;
        font-size: 8.5px;
      }

      .goho-flow .node-upload,
      .goho-flow .node-report {
        height: 38px;
        max-width: 180px;
        padding: 0 16px;
        font-size: 10.5px;
      }

      .goho-flow .node-check {
        height: 30px;
      }

      .goho-flow .check-title {
        font-size: 7.2px;
      }

      .hero-sub {
        font-size: 1.05rem;
        margin-bottom: 30px;
      }

      .hero-actions,
      .cta-actions {
        width: 100%;
        align-items: stretch;
        gap: 12px;
      }

      .hero-actions .btn,
      .cta-actions .btn {
        width: 100%;
        justify-content: center;
      }

      #brands {
        padding: 42px 0 !important;
      }

      .brands-label {
        width: calc(100% - 36px);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        font-size: .98rem;
        line-height: 1.5;
        text-wrap: balance;
      }

      .brands-disclaimer {
        width: calc(100% - 36px);
        max-width: 270px;
      }

      .brands-track {
        gap: 44px;
      }

      .brand-logo {
        width: 128px;
        height: 48px;
      }

      .input-header,
      .how-header,
      .features-header,
      .why-header {
        margin-bottom: 36px;
      }

      .input-card,
      .report-mockup,
      .edit-mockup,
      .market-visual,
      .cta-box {
        border-radius: var(--radius-md);
      }

      .input-tab,
      .input-panel,
      .input-submit-row {
        padding-left: 18px;
        padding-right: 18px;
      }

      .input-upload {
        padding: 30px 18px;
      }

      .input-confirmed {
        align-items: flex-start;
      }

      .input-cf-check {
        margin-top: 9px;
      }

      .input-submit-btn {
        width: 100%;
        white-space: normal;
      }

      .report-layout,
      .edit-layout,
      .market-layout,
      .why-grid,
      .consultation-layout {
        gap: 32px;
      }

      .report-mockup {
        animation: none;
        opacity: 1;
        transform: none;
        will-change: auto;
      }

      .report-topbar {
        padding: 11px 14px;
      }

      .report-topbar-title {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .report-body,
      .edit-mockup-body {
        padding: 18px;
      }

      .report-body .summary-chip,
      .report-body .ai-summary,
      .report-body .area-tag,
      .report-body .table-mock tbody tr {
        opacity: 1;
        transform: none;
      }

      .report-summary,
      .edit-summary,
      .market-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .summary-chip {
        padding: 12px 8px;
      }

      .summary-chip strong {
        font-size: 1.28rem;
      }

      .summary-chip span {
        font-size: .64rem;
      }

      .area-tag {
        margin-bottom: 6px;
      }

      .table-mock,
      .table-mock thead,
      .table-mock tbody,
      .table-mock tr,
      .table-mock td {
        display: block;
        width: 100%;
      }

      .table-mock thead {
        display: none;
      }

      .table-mock tbody tr {
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--white);
        padding: 12px;
        margin-bottom: 10px;
      }

      .table-mock tbody tr:last-child {
        margin-bottom: 0;
      }

      .table-mock td {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        padding: 7px 0;
        border-bottom: 1px solid var(--border);
      }

      .table-mock tbody tr td {
        border-bottom: 1px solid var(--border);
      }

      .table-mock tbody tr td:last-child {
        border-bottom: none;
      }

      .table-mock td::before {
        color: var(--ink-faint);
        content: '';
        font-size: .62rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
      }

      .table-mock td:nth-child(1)::before { content: 'Check'; }
      .table-mock td:nth-child(2)::before { content: 'Status'; }
      .table-mock td:nth-child(3)::before { content: 'Conclusion'; }
      .table-mock td:nth-child(4)::before { content: 'Ref'; }

      .edit-table-row {
        padding: 12px;
        gap: 10px;
      }

      .edit-table-row > span {
        min-width: 0;
      }

      .edit-table-row > span::before {
        display: block;
        color: var(--ink-faint);
        font-size: .62rem;
        font-weight: 700;
        letter-spacing: .08em;
        margin-bottom: 3px;
        text-transform: uppercase;
      }

      .edit-table-row > span:nth-child(1)::before { content: 'Check'; }
      .edit-table-row > span:nth-child(2)::before { content: 'Status'; }
      .edit-table-row > span:nth-child(3)::before { content: 'Conclusion'; }
      .edit-table-row > span:nth-child(4)::before { content: 'Ref'; }

      .why-plan {
        padding: 10px;
      }

      .why-stats {
        gap: 30px;
      }

      .why-stat-desc {
        max-width: none;
      }

      .market-visual {
        padding: 24px 18px;
      }

      .market-stat {
        padding: 22px 18px;
      }

      .expand-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
      }

      .expand-row > div:nth-child(2) {
        flex: 1 1 calc(100% - 52px);
        min-width: 0;
      }

      .expand-tag {
        margin-left: 52px;
      }

      #consultation {
        padding: 64px 0;
      }

      .consultation-header {
        align-items: flex-start;
        gap: 16px;
      }

      .consultation-rule {
        flex-basis: 32px;
        margin-top: .7em;
      }

      .consultation-body {
        max-width: none;
      }

      .cta-box {
        padding: 44px 20px;
      }

      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-links {
        gap: 18px;
        flex-wrap: wrap;
      }
    }

/* Extracted semantic helpers */
.section-heading { margin: 16px 0 20px; }
.section-heading-compact { margin: 16px 0 20px; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }
.section-heading-output { margin: 16px 0 20px; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; }
.section-heading-input { margin-top: 12px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.section-heading-top { margin-top: 12px; }
.section-body-lead { font-size: 1.05rem; margin-bottom: 24px; }
.section-body-large { font-size: 1.05rem; }
.report-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.report-meta-text { font-size: .7rem; font-weight: 600; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.area-tags { margin-bottom: 10px; }
.edit-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; }
.edit-points li { display: flex; gap: 12px; align-items: flex-start; }
.edit-points-mark { color: var(--teal); font-weight: 700; margin-top: 2px; }
.edit-points-text { font-size: .9rem; color: var(--ink-soft); }
.edit-status-cell { position: relative; }
.edit-ref-cell { color: var(--ink-faint); }
.market-eyebrow { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

@media (max-width: 600px) {
  .section-heading-input,
  .section-heading-compact { white-space: normal; }
}
