
    :root {
      --ink: #2f261f;
      --muted: #73675f;
      --cream: #fffaf1;
      --cream-2: #f8eedf;
      --paper: #fffdf8;
      --terracotta: #b9563a;
      --terracotta-dark: #8e3d29;
      --marigold: #edae49;
      --forest: #2f5a4b;
      --forest-dark: #17392f;
      --rose: #d98773;
      --line: rgba(61, 43, 31, 0.12);
      --shadow: 0 18px 60px rgba(62, 40, 22, 0.12);
      --radius-xl: 34px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max: 1200px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background:
        radial-gradient(circle at 12% 6%, rgba(237,174,73,.12), transparent 24rem),
        radial-gradient(circle at 92% 22%, rgba(185,86,58,.09), transparent 28rem),
        var(--cream);
      font-family: "DM Sans", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .28;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
      z-index: 99;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input { font: inherit; }
    button { cursor: pointer; }

    .container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--terracotta-dark);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 26px;
      height: 1px;
      background: currentColor;
    }

    h1, h2, h3 { font-family: "Fraunces", serif; line-height: 1.08; margin: 0; }
    h1 { font-size: clamp(48px, 7vw, 86px); letter-spacing: -.045em; }
    h2 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -.035em; }
    h3 { font-size: 24px; }
    p { margin: 0; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 52px;
      padding: 0 22px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 700;
      transition: .25s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 12px 28px rgba(185,86,58,.24); }
    .btn-primary:hover { background: var(--terracotta-dark); }
    .btn-secondary { background: rgba(255,255,255,.72); border-color: var(--line); backdrop-filter: blur(12px); }
    .btn-secondary:hover { background: #fff; }
    .btn-dark { background: var(--forest-dark); color: #fff; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      padding: 14px 0;
      background: rgba(255,250,241,.78);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(61,43,31,.07);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
    .brand-mark {
      width: 42px; height: 42px; border-radius: 50%;
      display: grid; place-items: center;
      background: var(--terracotta); color: white;
      box-shadow: inset 0 0 0 5px rgba(255,255,255,.18);
    }
    .brand-name { font-family: "Fraunces", serif; font-size: 23px; }
    .brand-name small { display: block; font-family: "DM Sans", sans-serif; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-top: -4px; }
    .nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 14px; }
    .nav-links a:hover { color: var(--terracotta); }
    .nav-actions { display: flex; align-items: center; gap: 10px; }
    .icon-button {
      width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
      background: rgba(255,255,255,.65); display: grid; place-items: center;
    }
    .mobile-menu { display: none; }

    .hero { padding: 64px 0 54px; min-height: 760px; display: grid; align-items: center; }
    .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
    .hero-copy .eyebrow { margin-bottom: 20px; }
    .hero-copy h1 span { color: var(--terracotta); font-style: italic; }
    .hero-copy > p { max-width: 680px; margin-top: 24px; color: var(--muted); font-size: 18px; }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
    .trust-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; color: var(--muted); font-size: 13px; font-weight: 600; }
    .trust-item { display: flex; align-items: center; gap: 7px; }
    .trust-item i { width: 17px; color: var(--forest); }

    .hero-visual { position: relative; min-height: 620px; }
    .halo {
      position: absolute; width: 520px; height: 520px; right: -100px; top: 30px; border-radius: 50%;
      background: radial-gradient(circle, rgba(237,174,73,.33), rgba(237,174,73,.03) 62%, transparent 68%);
      filter: blur(2px);
    }
    .app-shell {
      position: relative; z-index: 2;
      background: rgba(255,253,248,.86);
      border: 1px solid rgba(70,45,30,.12);
      box-shadow: var(--shadow);
      border-radius: 36px;
      padding: 18px;
      transform: rotate(1.4deg);
    }
    .app-shell-inner { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
    .app-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
    .mini-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-family: "Fraunces", serif; }
    .mini-brand span { width: 28px; height: 28px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-family: sans-serif; font-size: 13px; }
    .avatar-stack { display: flex; }
    .avatar-stack img, .avatar-stack span {
      width: 31px; height: 31px; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; margin-left: -7px;
    }
    .avatar-stack span { display: grid; place-items: center; background: var(--forest); color: #fff; font-size: 10px; }

    .app-greeting { padding: 14px 20px 4px; }
    .app-greeting p { font-size: 13px; color: var(--muted); }
    .app-greeting h3 { font-size: 31px; margin-top: 2px; }
    .app-greeting h3 span { color: var(--terracotta); }
    .persona-row { display: flex; gap: 7px; padding: 14px 20px 4px; overflow-x: auto; }
    .persona-chip { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
    .persona-chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }
    .quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 20px; }
    .quick-card {
      min-height: 112px; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
      background: #fff; transition: .2s ease; position: relative; overflow: hidden;
    }
    .quick-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(54,34,20,.1); }
    .quick-card:nth-child(1) { background: #fff1e6; }
    .quick-card:nth-child(2) { background: #f1f6ea; }
    .quick-card:nth-child(3) { background: #fff6df; }
    .quick-card:nth-child(4) { background: #f4eef7; }
    .quick-card:nth-child(5) { background: #edf4f1; }
    .quick-card:nth-child(6) { background: #fbeff0; }
    .quick-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.7); margin-bottom: 12px; }
    .quick-card strong { display: block; font-size: 13px; }
    .quick-card small { color: var(--muted); font-size: 10px; }

    .resume-card { margin: 0 20px 20px; border-radius: 22px; min-height: 160px; overflow: hidden; position: relative; color: white; }
    .resume-card img { width: 100%; height: 160px; object-fit: cover; }
    .resume-overlay { position: absolute; inset: 0; padding: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; background: linear-gradient(180deg, transparent 20%, rgba(24,26,20,.78)); }
    .resume-overlay p { font-size: 11px; opacity: .82; }
    .play { width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: white; color: var(--terracotta); flex: 0 0 auto; }
    .floating-note {
      position: absolute; z-index: 3; padding: 13px 16px; border-radius: 16px; background: white; box-shadow: 0 12px 40px rgba(55,35,20,.16); font-size: 12px; font-weight: 700;
    }
    .note-1 { left: -54px; top: 110px; transform: rotate(-4deg); }
    .note-2 { right: -36px; bottom: 60px; transform: rotate(4deg); }
    .floating-note span { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }

    .section { padding: 105px 0; }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
    .section-head .copy { max-width: 650px; }
    .section-head h2 { margin-top: 12px; }
    .section-head p { max-width: 480px; color: var(--muted); }

    .worlds { background: var(--forest-dark); color: white; border-radius: 46px; padding: 70px; position: relative; overflow: hidden; }
    .worlds::after { content: ""; position: absolute; width: 440px; height: 440px; right: -130px; top: -160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
    .worlds-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; position: relative; z-index: 1; }
    .worlds-copy p { color: rgba(255,255,255,.68); margin-top: 18px; }
    .tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.09); margin-top: 30px; }
    .tab { border: 0; color: rgba(255,255,255,.65); background: transparent; border-radius: 999px; padding: 11px 17px; font-weight: 700; }
    .tab.active { color: var(--forest-dark); background: white; }
    .world-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .world-panel.active { display: grid; }
    .world-card { min-height: 184px; border-radius: 24px; padding: 22px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(7px); }
    .world-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; min-height: 220px; }
    .world-card.featured img { height: 100%; width: 100%; object-fit: cover; }
    .world-card.featured .world-card-copy { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
    .world-card i { color: var(--marigold); }
    .world-card h3 { font-size: 23px; margin-top: 26px; }
    .world-card p { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 8px; }

    .story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .story-card { border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 12px 35px rgba(60,38,20,.08); border: 1px solid var(--line); transition: .3s ease; }
    .story-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: var(--shadow); }
    .story-image { position: relative; aspect-ratio: .82; overflow: hidden; }
    .story-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
    .story-card:hover .story-image img { transform: scale(1.035); }
    .age-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; }
    .favorite { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); }
    .story-body { padding: 18px; }
    .story-body small { color: var(--terracotta); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
    .story-body h3 { font-size: 20px; margin-top: 4px; }
    .story-meta { display: flex; gap: 14px; margin-top: 12px; color: var(--muted); font-size: 11px; }
    .story-meta span { display: flex; align-items: center; gap: 5px; }

    .capture { display: grid; grid-template-columns: 1fr 1.05fr; gap: 65px; align-items: center; }
    .capture-copy h2 { margin: 12px 0 20px; }
    .capture-copy > p { color: var(--muted); font-size: 17px; }
    .capture-list { display: grid; gap: 14px; margin-top: 30px; }
    .capture-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; transition: .2s ease; }
    .capture-item:hover { background: rgba(255,255,255,.65); }
    .capture-item .icon { width: 48px; height: 48px; border-radius: 15px; background: var(--cream-2); display: grid; place-items: center; color: var(--terracotta); }
    .capture-item strong { display: block; }
    .capture-item span { display: block; color: var(--muted); font-size: 13px; }

    .memory-phone { position: relative; background: var(--cream-2); border-radius: 40px; padding: 38px; min-height: 570px; overflow: hidden; }
    .memory-phone::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(237,174,73,.22); top: -90px; right: -60px; }
    .memory-card { position: relative; z-index: 1; background: rgba(255,255,255,.88); border: 1px solid rgba(62,42,28,.08); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); }
    .memory-card h3 { font-size: 29px; }
    .voice-box { margin-top: 22px; border-radius: 24px; padding: 25px; color: white; background: linear-gradient(135deg, var(--terracotta), #d88a64); }
    .voice-head { display: flex; justify-content: space-between; align-items: center; }
    .mic { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
    .wave { display: flex; align-items: center; gap: 4px; height: 55px; margin: 20px 0 8px; }
    .wave span { width: 4px; border-radius: 6px; background: rgba(255,255,255,.8); animation: wave 1.2s infinite ease-in-out; }
    .wave span:nth-child(2n) { animation-delay: .12s; }
    .wave span:nth-child(3n) { animation-delay: .24s; }
    @keyframes wave { 0%,100%{height:10px} 50%{height:45px} }
    .ai-result { display: flex; align-items: center; gap: 13px; margin-top: 15px; padding: 14px; border-radius: 17px; background: #f4f7f1; }
    .ai-result .icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; background: var(--forest); color: #fff; display: grid; place-items: center; }
    .ai-result span { color: var(--muted); font-size: 11px; display: block; }
    .memory-photo { position: absolute; width: 180px; height: 220px; object-fit: cover; right: -18px; bottom: -15px; z-index: 2; transform: rotate(6deg); border: 8px solid #fff; border-bottom-width: 34px; box-shadow: var(--shadow); }

    .language-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; overflow: hidden; }
    .language-track { display: flex; gap: 44px; align-items: center; white-space: nowrap; color: var(--muted); font-family: "Fraunces", serif; font-size: 23px; }
    .language-track span::after { content: "✦"; color: var(--marigold); margin-left: 44px; font-size: 14px; }

    .family-section { padding: 110px 0; }
    .family-wrap { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 560px; border-radius: 38px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .family-image { position: relative; min-height: 460px; }
    .family-image img { width: 100%; height: 100%; object-fit: cover; }
    .family-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,.16)); }
    .family-content { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
    .family-content h2 { margin: 12px 0 20px; }
    .family-content p { color: var(--muted); }
    .mini-timeline { display: grid; gap: 14px; margin: 28px 0 32px; }
    .timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
    .timeline-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--terracotta); position: relative; }
    .timeline-item:not(:last-child) .timeline-dot::after { content: ""; position: absolute; width: 1px; height: 18px; top: 42px; background: var(--line); }
    .timeline-item strong { display: block; font-size: 13px; }
    .timeline-item span { color: var(--muted); font-size: 11px; }

    .final-cta { padding: 0 0 110px; }
    .cta-card { padding: 80px 50px; text-align: center; border-radius: 44px; background: linear-gradient(135deg, #f6d29c, #e7a27e 52%, #b9563a); color: #3a241b; position: relative; overflow: hidden; }
    .cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
    .cta-card::before { width: 360px; height: 360px; left: -180px; top: -180px; box-shadow: 0 0 0 50px rgba(255,255,255,.06); }
    .cta-card::after { width: 250px; height: 250px; right: -130px; bottom: -130px; box-shadow: 0 0 0 45px rgba(255,255,255,.06); }
    .cta-card .inner { position: relative; z-index: 1; max-width: 760px; margin: auto; }
    .cta-card h2 { font-size: clamp(42px, 6vw, 68px); }
    .cta-card p { margin: 18px auto 28px; max-width: 590px; }

    footer { padding: 42px 0; border-top: 1px solid var(--line); }
    .footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 40px; }
    .footer-brand p { color: var(--muted); max-width: 340px; margin-top: 12px; font-size: 13px; }
    .footer-col strong { font-size: 13px; }
    .footer-col a { display: block; color: var(--muted); font-size: 13px; margin-top: 10px; }
    .footer-bottom { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 35px; }

    .mobile-dock { display: none; }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .mobile-menu { display: grid; }
      .hero { padding-top: 42px; }
      .hero-grid, .capture, .family-wrap, .worlds-grid { grid-template-columns: 1fr; }
      .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
      .story-grid { grid-template-columns: repeat(2, 1fr); }
      .worlds { padding: 50px 35px; }
      .family-content { padding: 48px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      .container { width: min(calc(100% - 24px), var(--max)); }
      .site-header .btn-secondary { display: none; }
      .nav-actions .btn-primary { min-height: 42px; padding: 0 15px; font-size: 12px; }
      .brand-name small { display: none; }
      h1 { font-size: 48px; }
      .hero { min-height: auto; padding-bottom: 25px; }
      .hero-grid { gap: 36px; }
      .hero-copy > p { font-size: 16px; }
      .hero-actions .btn { width: 100%; }
      .trust-row { gap: 10px 18px; }
      .hero-visual { min-height: 550px; }
      .app-shell { padding: 10px; transform: none; border-radius: 28px; }
      .quick-grid { grid-template-columns: repeat(2, 1fr); padding-inline: 13px; }
      .app-topbar, .app-greeting, .persona-row { padding-left: 14px; padding-right: 14px; }
      .resume-card { margin-inline: 13px; }
      .note-1 { left: 4px; top: -20px; }
      .note-2 { right: 5px; bottom: -12px; }
      .section { padding: 78px 0; }
      .section-head { display: block; }
      .section-head p { margin-top: 16px; }
      .worlds { margin-inline: -2px; padding: 42px 20px; border-radius: 32px; }
      .world-panel, .world-panel.active { grid-template-columns: 1fr; }
      .world-card.featured { grid-column: auto; grid-template-columns: 1fr; }
      .world-card.featured img { height: 190px; }
      .story-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .story-card { border-radius: 20px; }
      .story-body { padding: 13px; }
      .story-body h3 { font-size: 16px; }
      .story-meta { display: block; }
      .story-meta span + span { margin-top: 4px; }
      .capture { gap: 36px; }
      .memory-phone { min-height: 530px; padding: 20px; border-radius: 30px; }
      .memory-card { padding: 20px; }
      .memory-photo { width: 130px; height: 168px; }
      .family-section { padding: 80px 0; }
      .family-wrap { border-radius: 28px; }
      .family-image { min-height: 360px; }
      .family-content { padding: 34px 24px; }
      .cta-card { padding: 65px 22px; border-radius: 34px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: span 2; }
      .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 75px; }
      .mobile-dock {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 10px; left: 10px; right: 10px; z-index: 70;
        border: 1px solid var(--line); background: rgba(255,253,248,.9); backdrop-filter: blur(18px); box-shadow: var(--shadow); border-radius: 20px; padding: 8px;
      }
      .mobile-dock a { display: grid; place-items: center; gap: 2px; color: var(--muted); font-size: 9px; font-weight: 700; }
      .mobile-dock i { width: 20px; }
      .mobile-dock a.active { color: var(--terracotta); }
    }

/* Public guides reuse the existing landing-page palette and typography. */
:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 110; background: var(--paper); padding: 12px; }
.skip-link:focus { top: 8px; }
.guide-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:24px; }
.guide-header nav, .guide-footer nav { display:flex; flex-wrap:wrap; gap:12px 24px; }
.guide-header nav a, .guide-footer nav a { padding-block:8px; }
.guide-main { max-width:850px; margin:auto; padding:48px 24px 72px; }
.guide-main h1 { font-family:Fraunces,Georgia,serif; font-size:clamp(2rem,5vw,3.4rem); line-height:1.15; margin:16px 0 24px; }
.guide-main h2 { font-size:1.7rem; margin:40px 0 16px; }
.guide-main h3 { font-size:1.2rem; }
.guide-main p, .guide-main li { font-size:1.05rem; }
.guide-main li { margin:14px 0; padding-left:6px; }
.guide-main a:not(.btn), .guide-footer a { color:var(--terracotta-dark); text-decoration:underline; text-underline-offset:3px; }
.guide-lead { font-size:1.25rem !important; }
.guide-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin:24px 0; }
.guide-note { padding:20px; background:var(--cream-2); border-radius:var(--radius-md); }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.guide-grid section { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; }
.guide-figure { margin:32px 0; }
.guide-figure img { max-height:400px; width:100%; height:auto; object-fit:cover; border-radius:var(--radius-lg); }
.guide-figure figcaption { font-size:.85rem; margin-top:8px; color:var(--muted); }
.guide-main details { padding:16px; margin:12px 0; border:1px solid var(--line); border-radius:var(--radius-md); }
.guide-main summary { cursor:pointer; font-weight:700; }
.guide-footer { border-top:1px solid var(--line); padding-block:24px 48px; }
.hero-visual-caption { font-size:12px; color:var(--muted); margin-top:12px; }
.discovery-links { padding:30px 0; }
.discovery-links a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:650px) { .guide-header { align-items:flex-start; flex-direction:column; } .guide-grid { grid-template-columns:1fr; } .guide-main { padding-top:24px; } .guide-actions .btn { width:100%; white-space:normal; text-align:center; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation:none !important; transition:none !important; } }
/* Keep decorative elements inside the mobile layout viewport. */
.halo { max-width:100%; right:0; }
@media(max-width:640px) {
  .hero-grid { grid-template-columns:minmax(0,1fr); }
  .hero-copy h1 { font-size:clamp(36px,12vw,48px); }
  .site-header .nav { gap:10px; }
  .site-header .brand { gap:8px; }
  .site-header .brand-name { font-size:20px; }
  .hero-actions .btn { padding-inline:12px; white-space:normal; }
  .halo { width:min(100%, 360px); height:360px; left:0; right:0; margin-inline:auto; }
  .memory-photo { right:8px; transform:none; }
  .hero-visual-caption { position:relative; z-index:2; margin:0 0 40px; }
}
