/* Landing de Papiro: identidad de landing-v2 con la mecánica de movimiento (landing-v3.js). */
:root {
      --paper: #f8f4ed; --paper-deep: #efe5d5; --surface: #fffdf9; --surface-soft: #f4ecdf;
      --ink: #241c16; --ink-soft: #6f6257; --line: rgba(67, 48, 31, .14);
      --amber: #d78918; --amber-text: #c8740f; --amber-dark: #a35f0c; --amber-soft: #f3d39f;
      --forest: #355d4a; --forest-soft: #dce8df; --white: #fff;
      --shadow-sm: 0 12px 34px rgba(55, 37, 22, .09); --shadow-lg: 0 32px 90px rgba(55, 37, 22, .17);
      --radius-sm: 16px; --radius-md: 28px; --radius-lg: 44px; --content: 1180px; --nav-height: 76px;
      --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    }
    *, *::before, *::after { box-sizing: border-box; }
    body, h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
    ul, ol { padding: 0; list-style: none; }
    html.locked { position: relative; overflow: hidden; height: 100%; }
    body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button { font: inherit; cursor: pointer; }
    :focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
    .skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .2s ease; }
    .skip-link:focus { transform: translateY(0); }
    .container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
    .section { position: relative; padding-block: clamp(88px, 10vw, 148px); scroll-margin-top: calc(var(--nav-height) + 20px); }
    .section-header { display: grid; grid-template-columns: minmax(0, .82fr) minmax(280px, .58fr); gap: clamp(28px, 6vw, 88px); align-items: end; margin-bottom: clamp(48px, 7vw, 84px); }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--amber-dark); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
    .eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 999px; background: currentColor; }
    .display, .section-title, .feature-title { font-family: 'Literata', Georgia, serif; letter-spacing: -.045em; text-wrap: balance; font-weight: 600; }
    .display { max-width: 760px; font-size: clamp(3.1rem, 6.2vw, 5.9rem); line-height: .99; }
    .display em, .type-accent { color: var(--amber-text); font-style: italic; font-weight: 500; }
    .section-title { max-width: 760px; font-size: clamp(2.3rem, 4.5vw, 4.25rem); line-height: 1.06; }
    .section-copy, .lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.72; }
    .lead { max-width: 650px; }
    .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
    .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
    .button-primary { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px rgba(36, 28, 22, .18); }
    .button-primary:hover { background: #100c09; }
    .button-secondary { border-color: var(--line); background: rgba(255, 253, 249, .72); color: var(--ink); backdrop-filter: blur(10px); }
    .button-secondary:hover { border-color: rgba(163, 95, 12, .34); background: var(--surface); }
    .button-light { background: var(--surface); color: var(--ink); box-shadow: 0 14px 32px rgba(0, 0, 0, .16); }
    .button .icon-arrow { display: inline-flex; width: 18px; height: 18px; }
    .button .icon-arrow svg { width: 100%; height: 100%; }

    /* Reveal primitives */
    .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
    .line > span { display: block; transform: translateY(115%); opacity: 0; }
    .line.in > span { transform: translateY(0); opacity: 1; }
    .w { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; vertical-align: top; }
    .w > span { display: inline-block; transform: translateY(115%); opacity: 0; }
    .w.in > span { transform: translateY(0); opacity: 1; }
    .fw { display: inline-block; transform: translateY(16px); opacity: 0; }
    .fw.in { transform: translateY(0); opacity: 1; }
    [data-inview] { opacity: 0; }

    /* Loader */
    #loader { position: fixed; inset: 0; z-index: 200; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
    #loader .lockup { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 900; letter-spacing: -.04em; opacity: 0; }
    #loader .lockup img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 6px 18px rgba(97, 63, 28, .12); }
    /* The app's own loading gif: spines appear one by one. */
    #loader .loading { width: 72px; height: 72px; object-fit: contain; opacity: 0; }

    /* Nav */
    .site-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-height); border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
    .site-nav.is-scrolled { border-color: var(--line); background: rgba(248, 244, 237, .88); box-shadow: 0 10px 32px rgba(55, 37, 22, .06); backdrop-filter: blur(18px); }
    .nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
    .brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 18px rgba(97, 63, 28, .12); }
    .nav-links { display: flex; align-items: center; gap: 18px; }
    .nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 800; text-decoration: none; }
    .nav-links a:not(.nav-cta):hover { color: var(--amber-dark); }
    .language { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .58); font-size: 15px; font-weight: 600; }
    .language svg { width: 17px; height: 17px; opacity: .72; }
    .language-picker { position: relative; flex: 0 0 auto; }
.language-picker summary {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, .58);
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover { border-color: rgba(163, 95, 12, .3); }
.language-picker summary:focus-visible {
  outline: 2px solid var(--amber-dark);
  outline-offset: 2px;
}
.language-globe { width: 17px; height: 17px; flex: 0 0 auto; opacity: .72; }
.language-caret {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  opacity: .6;
  transition: transform .2s var(--ease-out);
}
.language-picker[open] summary {
  border-color: rgba(163, 95, 12, .22);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(55, 37, 22, .1);
}
.language-picker[open] .language-caret { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(55, 37, 22, .14);
  transform-origin: top right;
}
/* Crece desde el botón que lo abre. Es una animación de entrada (no una
   transición) porque <details> no expone un estado previo al que volver. */
.language-picker[open] .language-menu { animation: menu-in 150ms var(--ease-out); }
@keyframes menu-in {
  from { opacity: 0; transform: scale(.97); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
.nav-links .language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.language-menu a::after {
  content: '';
  width: 15px;
  flex: 0 0 auto;
}
.language-menu a[aria-current='page']::after {
  content: '✓';
  color: var(--amber-dark);
  font-weight: 700;
}
.language-menu a:hover,
.language-menu a[aria-current='page'] {
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(163, 95, 12, .18);
}
    @keyframes menu-in { from { opacity: 0; transform: scale(.97); } }
    .nav-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white) !important; font-weight: 800; }
    .nav-toggle { width: 46px; height: 46px; display: none; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); }
    .nav-toggle span { position: relative; width: 18px; height: 2px; display: block; border-radius: 999px; background: currentColor; }
    .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 999px; background: currentColor; }
    .nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

    /* Hero */
    .hero { position: relative; min-height: 900px; padding: calc(var(--nav-height) + 84px) 0 72px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 78% 18%, rgba(215, 137, 24, .18), transparent 27%), radial-gradient(circle at 4% 84%, rgba(53, 93, 74, .13), transparent 24%), var(--paper); }
    .hero-ring { position: absolute; width: 620px; height: 620px; top: 140px; right: -250px; border: 1px solid rgba(163, 95, 12, .16); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255, 255, 255, .22), 0 0 0 144px rgba(255, 255, 255, .12); pointer-events: none; }
    .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
    .hero-copy .lead { margin-top: 28px; }
    .hero-copy .button-row { margin-top: 32px; }
    .hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 800; }
    .hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
    .hero-proof li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(215, 137, 24, .12); }
    .hero-visual { position: relative; min-height: 690px; }
    .phone { position: relative; padding: 7px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 36px; background: #211e1b; box-shadow: var(--shadow-lg); }
    .phone-screen { position: relative; aspect-ratio: 576 / 1150; overflow: hidden; border-radius: 29px; background: #f8f5ef; }
    .phone-screen img { width: 100%; height: auto; max-width: none; transform: translateY(-4.22%); }
    .hero-phone-main { position: absolute; z-index: 3; width: 315px; left: 50%; top: 0; margin-left: -157px; }
    .hero-phone-side { position: absolute; z-index: 1; width: 244px; top: 100px; filter: saturate(.92); opacity: .94; }
    .hero-phone-left { left: 0; }
    .hero-phone-right { right: 0; }
    .hero-note { position: absolute; z-index: 5; right: -8px; bottom: 48px; width: 232px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .74); border-radius: 22px; background: rgba(255, 253, 249, .9); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); }
    .hero-note .label { display: flex; justify-content: space-between; align-items: center; color: var(--amber-dark); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
    .hero-note .stage { position: relative; margin-top: 10px; min-height: 76px; }
    .ncard { display: flex; gap: 12px; align-items: center; }
    .ncard.ghosted { position: absolute; inset: 0; pointer-events: none; }
    .ncard img { width: 50px; height: 72px; border-radius: 8px; object-fit: cover; box-shadow: 0 8px 18px rgba(55, 37, 22, .18); flex: none; }
    .ncard strong { display: block; font-size: 14px; line-height: 1.25; }
    .ncard span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
    .dots { display: flex; gap: 6px; }
    .dots button { padding: 4px; border: 0; background: none; }
    .dots i { display: block; height: 6px; width: 6px; border-radius: 999px; background: rgba(67, 48, 31, .2); transition: width .35s var(--ease-out), background-color .25s; }
    .dots button[aria-current="true"] i { width: 20px; background: var(--amber-dark); }

    /* Trust bar */
    .trust-bar { position: relative; z-index: 2; border-block: 1px solid var(--line); background: rgba(255, 253, 249, .68); }
    .trust-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); }
    .trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
    .trust-item + .trust-item { border-left: 1px solid var(--line); }
    .trust-index { color: var(--amber-dark); font-family: 'Literata', serif; font-size: 26px; font-weight: 600; }
    .trust-item strong { display: block; font-size: 16px; }
    .trust-item span:last-child { display: block; color: var(--ink-soft); font-size: 13px; }

    /* Experiencia (ghost words + phone carousel) */
    .experience { position: relative; isolation: isolate; overflow: hidden; }
    .exp-badges { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
    .pct { width: 124px; height: 124px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
    .pct strong { font-family: 'Literata', serif; font-size: 26px; font-weight: 600; line-height: 1; }
    .pct span { margin-top: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 800; max-width: 8em; line-height: 1.3; }
    .badge-card { max-width: 440px; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
    .badge-card .chip { align-self: start; padding: 8px 14px; border-radius: 12px; background: var(--surface-soft); color: var(--amber-dark); font-family: 'Literata', serif; font-size: 20px; font-weight: 600; }
    .badge-card h3 { font-size: 17px; }
    .badge-card p { margin-top: 6px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
    .ghost-title { pointer-events: none; user-select: none; position: relative; z-index: 0; margin-top: 64px; font-family: 'Literata', Georgia, serif; font-size: clamp(2.1rem, 6.8vw, 8.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; color: rgba(67, 48, 31, .13); }
    .ghost-title .row { display: flex; justify-content: space-between; }
    .ghost-title .gw { display: inline-block; }
    .ghost-title .ink { color: var(--amber-text); }
    .exp-phone { position: relative; z-index: 10; width: 300px; margin: 24px auto 0; }
    @media (min-width: 820px) { .exp-phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: 320px; } }
    .exp-phone .phone { transform: rotate(4deg); }
    .exp-caption { position: absolute; left: 20px; right: 20px; bottom: 26px; padding: 12px 14px; border-radius: 16px; background: rgba(36, 28, 22, .78); color: var(--white); backdrop-filter: blur(10px); }
    .exp-caption strong { display: block; font-size: 14px; }
    .exp-caption span { display: block; margin-top: 2px; color: rgba(255,255,255,.72); font-size: 12px; }
    .exp-controls { position: relative; z-index: 20; margin-top: 64px; display: flex; justify-content: space-between; align-items: center; }
    @media (min-width: 820px) { .exp-controls { margin-top: 120px; } }
    .arrow-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s, background-color .2s; }
    .arrow-btn svg { width: 20px; height: 20px; }
    .arrow-btn:hover { border-color: rgba(163, 95, 12, .4); }
    .arrow-btn.solid { background: var(--ink); border-color: var(--ink); color: var(--white); }
    .arrow-btn.solid:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

    /* Import */
    .import-section { padding-bottom: 0; background: var(--surface); }
    .import-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: clamp(42px, 7vw, 96px); align-items: center; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--surface), #f3e8d8); box-shadow: var(--shadow-sm); }
    .import-ring { position: absolute; width: 470px; height: 470px; right: -170px; top: -190px; border: 1px solid rgba(163, 95, 12, .14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(215, 137, 24, .05), 0 0 0 140px rgba(215, 137, 24, .035); pointer-events: none; }
    .import-copy, .import-visual { position: relative; z-index: 1; }
    .import-copy .section-copy { max-width: 660px; margin-top: 24px; }
    .import-copy .button-row { margin-top: 28px; }
    .import-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
    .import-sources li { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .78); color: var(--ink-soft); font-size: 13px; font-weight: 800; }
    .import-note { max-width: 620px; margin-top: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
    .import-note strong { color: var(--forest); }
    .import-visual { min-height: 640px; display: grid; place-items: center; }
    .import-visual .phone-wrap { width: 310px; }
    .import-step-card { position: absolute; left: -18px; bottom: 38px; display: grid; overflow: hidden; min-width: 184px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 249, .94); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
    .import-step-card span { padding: 10px 15px; color: var(--ink-soft); font-size: 12px; font-weight: 900; }
    .import-step-card span + span { border-top: 1px solid var(--line); }
    .import-step-card span:last-child { color: var(--forest); }

    /* Journey */
    .journey { background: var(--surface); }
    .journey-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
    .journey-card { position: relative; min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
    .journey-card-large { grid-column: span 7; }
    .journey-card-small { grid-column: span 5; }
    .journey-card-copy { position: relative; z-index: 3; padding: clamp(28px, 4vw, 48px); }
    .journey-number { color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
    .feature-title { margin-top: 12px; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.08; }
    .journey-card p { max-width: 480px; margin: 15px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
    .journey-card .phone-wrap { position: absolute; z-index: 2; width: 285px; right: clamp(24px, 5vw, 68px); bottom: -190px; }
    .journey-card-small .phone-wrap { width: 268px; right: 50%; margin-right: -134px; }
    .journey-card::after { content: ''; position: absolute; width: 360px; height: 360px; right: -100px; bottom: -110px; border-radius: 50%; background: rgba(215, 137, 24, .13); }
    .journey-card-green { background: #eef4ef; } .journey-card-green::after { background: rgba(53, 93, 74, .12); }
    .journey-card-dark { background: var(--ink); color: var(--white); }
    .journey-card-dark p { color: rgba(255, 255, 255, .7); }
    .journey-card-dark .journey-number { color: var(--amber-soft); }
    .journey-card-dark::after { background: rgba(215, 137, 24, .18); }

    /* Feature matrix */
    .feature-matrix { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
    .feature-cell { min-height: 178px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 249, .52); transition: background-color .25s; }
    .feature-cell:hover { background: rgba(215, 137, 24, .08); }
    .feature-cell-index { color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
    .feature-cell h3 { margin: 28px 0 8px; font-size: 17px; line-height: 1.2; }
    .feature-cell p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

    /* Habit */
    .habit { overflow: hidden; background: var(--paper-deep); }
    .habit-grid { display: grid; grid-template-columns: minmax(320px, .84fr) minmax(420px, 1.16fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
    .habit-visual { position: relative; min-height: 720px; }
    .habit-glow { position: absolute; inset: 70px -90px 30px 20px; border-radius: 50%; background: rgba(215, 137, 24, .18); }
    .habit-visual .phone-wrap { position: relative; width: 330px; margin-inline: auto; }
    .streak-card { position: absolute; right: 0; bottom: 64px; width: 230px; padding: 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); }
    .streak-card span { color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .streak-card strong { display: block; margin-top: 8px; font-family: 'Literata', serif; font-size: 42px; line-height: 1; }
    .streak-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; }
    .habit-copy .section-copy { margin-top: 24px; }
    .habit-list { margin-top: 38px; }
    .habit-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(67, 48, 31, .18); }
    .habit-item:last-child { border-bottom: 1px solid rgba(67, 48, 31, .18); }
    .habit-item-index { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--amber-dark); font-family: 'Literata', serif; font-weight: 700; }
    .habit-item h3 { margin: 0 0 5px; font-size: 18px; }
    .habit-item p { color: var(--ink-soft); font-size: 15px; }

    /* Share */
    .share-section { overflow: hidden; background: var(--ink); color: var(--white); }
    .share-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(215, 137, 24, .22), transparent 29%), linear-gradient(135deg, transparent 40%, rgba(255,255,255,.025)); }
    .share-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
    .share-section .eyebrow { color: var(--amber-soft); }
    .share-section .section-copy { color: rgba(255, 255, 255, .7); margin-top: 24px; }
    .share-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
    .share-points li { padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 800; }
    .share-visual { position: relative; min-height: 720px; display: grid; place-items: center; }
    .share-visual .phone-wrap { width: 326px; }
    .share-preview-card { position: absolute; left: 0; bottom: 58px; width: 220px; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255, 255, 255, .1); box-shadow: 0 26px 60px rgba(0, 0, 0, .24); backdrop-filter: blur(18px); }
    .share-preview-card strong { display: block; font-size: 15px; }
    .share-preview-card span { display: block; margin-top: 6px; color: rgba(255,255,255,.64); font-size: 13px; }

    /* Community */
    .community-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
    .community-grid .section-copy { margin-top: 24px; }
    .community-grid .button-row { margin-top: 30px; }
    .community-board { display: grid; gap: 14px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
    .community-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px; border-radius: 18px; background: var(--paper); }
    .community-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); color: var(--amber-dark); font-family: 'Literata', serif; font-size: 18px; font-weight: 700; }
    .community-card:nth-child(2) .community-avatar { background: var(--forest-soft); color: var(--forest); }
    .community-card:nth-child(3) .community-avatar { background: #eadfef; color: #6b4772; }
    .community-card strong { display: block; margin-top: 1px; }
    .community-card p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }
    .instagram-callout { max-width: 560px; min-height: 76px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 18px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
    .instagram-callout + .instagram-callout { margin-top: 10px; }
    .instagram-mark { width: 46px; height: 46px; overflow: hidden; border-radius: 14px; background: var(--surface-soft); }
    .instagram-callout-copy span { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
    .instagram-callout-copy strong { display: block; margin-top: 3px; font-size: 16px; }
    .instagram-callout-action { color: var(--amber-dark); font-size: 13px; font-weight: 900; white-space: nowrap; }
    .privacy-strip { margin-top: clamp(70px, 9vw, 110px); display: grid; grid-template-columns: 1.1fr repeat(3, .63fr); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
    .privacy-intro, .privacy-item { padding: clamp(24px, 3vw, 38px); }
    .privacy-item { border-left: 1px solid var(--line); }
    .privacy-intro strong { display: block; font-family: 'Literata', serif; font-size: 24px; line-height: 1.2; }
    .privacy-intro p, .privacy-item p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14px; }
    .privacy-item span { color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .privacy-item strong { display: block; margin-top: 12px; font-size: 16px; }

    /* Guides */
    .seo-guides { background: var(--surface-soft); }
    .seo-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .seo-guide-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .2s ease; }
    .seo-guide-card:hover { border-color: rgba(163, 95, 12, .34); }
    .seo-guide-card span { color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .seo-guide-card strong { margin-top: 28px; font-family: 'Literata', Georgia, serif; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.17; letter-spacing: -.035em; }
    .seo-guide-card p { margin-top: 16px; color: var(--ink-soft); }
    .seo-guide-card em { margin-top: auto; padding-top: 28px; color: var(--amber-dark); font-size: 14px; font-style: normal; font-weight: 900; display: inline-flex; align-items: center; gap: 6px; }
    .seo-guide-card em svg { width: 16px; height: 16px; }

    /* Download */
    .download-panel { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px); border-radius: var(--radius-lg); background: var(--amber); color: #25170b; }
    .download-ring { position: absolute; width: 500px; height: 500px; right: -160px; top: -230px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; box-shadow: 0 0 0 62px rgba(255,255,255,.09), 0 0 0 124px rgba(255,255,255,.06); pointer-events: none; }
    .download-content { position: relative; z-index: 1; max-width: 760px; }
    .download-panel .eyebrow { color: #5c3505; }
    .download-panel .section-title { font-size: clamp(2.5rem, 5vw, 4.6rem); }
    .download-panel .section-copy { max-width: 650px; margin-top: 20px; color: rgba(37, 23, 11, .74); }
    .download-panel .button-row { margin-top: 30px; }
    .store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
    .store-link { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(37,23,11,.2); border-radius: 14px; color: #25170b; font-size: 13px; font-weight: 900; text-decoration: none; }
    .store-link:hover { background: rgba(255,255,255,.2); }

    /* FAQ */
    .faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-toggle { width: 100%; min-height: 76px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border: 0; background: transparent; color: var(--ink); font-size: clamp(1.04rem, 1.8vw, 1.25rem); font-weight: 900; text-align: left; }
    .faq-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--amber-dark); }
    .faq-answer { overflow: hidden; height: 0; }
    .faq-answer p { max-width: 780px; margin: -2px 0 24px; color: var(--ink-soft); }

    /* Footer */
    .site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--surface); }
    .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
    .footer-copy { max-width: 420px; margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; }
    .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; max-width: 550px; }
    .footer-links a { color: var(--ink-soft); font-size: 14px; font-weight: 800; text-decoration: none; }
    .footer-links a:hover { color: var(--amber-dark); }
    .footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }

    /* Modal */
    #modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 12px; pointer-events: none; }
    #modal.open { pointer-events: auto; }
    @media (min-width: 640px) { #modal { align-items: center; padding: 24px; } #modal .panel { max-width: 520px; padding: 34px; } }
    #modal .backdrop { position: absolute; inset: 0; background: rgba(36, 28, 22, .45); backdrop-filter: blur(10px); opacity: 0; }
    #modal .panel { position: relative; width: 100%; max-height: 92svh; overflow-y: auto; border-radius: 30px; background: var(--surface); padding: 28px; box-shadow: var(--shadow-lg); opacity: 0; }
    .panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
    .panel-head .section-title { font-size: clamp(2rem, 4vw, 2.8rem); }
    .close-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); color: var(--ink); flex: none; }
    .close-btn svg { width: 18px; height: 18px; }
    .stores { margin-top: 26px; display: grid; gap: 10px; }
    .store { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: var(--paper); text-decoration: none; transition: border-color .2s, background-color .2s; }
    .store:hover { border-color: rgba(163, 95, 12, .4); background: var(--surface-soft); }
    .store .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); color: var(--amber-dark); flex: none; }
    .store .ic svg { width: 20px; height: 20px; }
    .store strong { display: block; font-size: 15px; }
    .store span { display: block; color: var(--ink-soft); font-size: 13px; }
    .store .go { margin-left: auto; width: 18px; height: 18px; color: var(--amber-dark); }
    .panel .note { margin-top: 22px; color: var(--ink-soft); font-size: 13px; text-align: center; }

    /* Fullscreen menu */
    #menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; pointer-events: none; }
    #menu.open { pointer-events: auto; }
    #menu .backdrop { position: absolute; inset: 0; background: var(--paper); opacity: 0; }
    #menu .panel { position: relative; flex: 1; display: flex; flex-direction: column; padding: 16px 20px 28px; opacity: 0; }
    #menu .top { height: var(--nav-height); display: flex; justify-content: space-between; align-items: center; }
    #menu nav.main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
    #menu nav.main a { display: block; font-family: 'Literata', serif; font-size: clamp(2.6rem, 10vw, 4.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; text-decoration: none; opacity: 0; }
    #menu nav.main a:hover { color: var(--amber-text); }
    #menu .foot { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
    #menu .social { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--ink-soft); font-size: 14px; font-weight: 800; }
    #menu .social a { text-decoration: none; }

    @media (max-width: 1040px) {
      .hero { min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-visual { width: min(620px, 100%); margin-inline: auto; }
      .section-header { grid-template-columns: 1fr; gap: 24px; }
      .import-panel { grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 40px; }
      .journey-card-large, .journey-card-small { grid-column: span 6; }
      .feature-matrix { grid-template-columns: repeat(2, 1fr); }
      .seo-guide-grid { grid-template-columns: repeat(2, 1fr); }
      .habit-grid, .share-grid, .community-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
      .privacy-strip { grid-template-columns: repeat(3, 1fr); }
      .privacy-intro { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
      .privacy-item:first-of-type { border-left: 0; }
    }
    @media (max-width: 820px) {
      :root { --nav-height: 68px; }
      .container { width: min(calc(100% - 32px), var(--content)); }
      .nav-toggle { display: inline-flex; }
      .nav-links { display: none; }
      .hero { padding-top: calc(var(--nav-height) + 64px); }
      .hero-visual { min-height: 640px; }
      .hero-phone-main { width: 290px; margin-left: -145px; }
      .hero-phone-side { width: 212px; top: 105px; }
      .hero-note { right: 12px; }
      .trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
      .trust-item { justify-content: flex-start; }
      .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
      .exp-badges { flex-direction: column; }
      .import-panel { grid-template-columns: 1fr; }
      .import-visual { min-height: 600px; }
      .journey-card-large, .journey-card-small { grid-column: 1 / -1; }
      .habit-grid, .share-grid, .community-grid { grid-template-columns: 1fr; }
      .habit-copy { order: -1; }
      .privacy-strip { grid-template-columns: 1fr; }
      .privacy-intro { grid-column: auto; }
      .privacy-item { border-left: 0; border-top: 1px solid var(--line); }
      .footer-main { grid-template-columns: 1fr; }
      .footer-links { justify-content: flex-start; }
      .seo-guide-grid { grid-template-columns: 1fr; }
      .seo-guide-card { min-height: 230px; }
    }
    @media (max-width: 560px) {
      .section { padding-block: 76px; }
      .display { font-size: clamp(2.65rem, 14vw, 4.2rem); }
      .section-title { font-size: clamp(2.1rem, 10vw, 3rem); }
      .hero { padding-bottom: 46px; }
      .button-row { align-items: stretch; }
      .button { width: 100%; }
      .hero-proof { display: grid; }
      .hero-visual { min-height: 590px; margin-top: 16px; }
      .hero-phone-main { width: 272px; margin-left: -136px; }
      .hero-phone-side { display: none; }
      .hero-note { width: 206px; right: 0; bottom: 14px; padding: 14px; }
      .import-panel { padding: 28px 22px; border-radius: 30px; }
      .import-visual { min-height: 560px; }
      .import-visual .phone-wrap { width: 272px; }
      .import-step-card { left: -2px; bottom: 18px; min-width: 164px; }
      .journey-card { min-height: 610px; border-radius: 30px; }
      .journey-card .phone-wrap, .journey-card-small .phone-wrap { width: 250px; right: 50%; margin-right: -125px; bottom: -176px; }
      .feature-matrix { grid-template-columns: 1fr; }
      .feature-cell { min-height: 150px; }
      .habit-visual { min-height: 650px; }
      .habit-visual .phone-wrap { width: 280px; }
      .streak-card { width: 190px; right: -4px; bottom: 48px; }
      .share-visual { min-height: 620px; }
      .share-visual .phone-wrap { width: 282px; }
      .share-preview-card { width: 184px; left: -4px; bottom: 22px; }
      .community-board { padding: 18px; border-radius: 30px; }
      .community-card { grid-template-columns: 44px 1fr; padding: 15px; }
      .community-avatar { width: 44px; height: 44px; }
      .instagram-callout { grid-template-columns: 42px minmax(0, 1fr); }
      .instagram-callout-action { display: none; }
      .exp-phone { width: 260px; }
      .footer-bottom { flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
      .line > span, .w > span, .fw { transition: none !important; transform: none; opacity: 1; }
    }
