:root {
      --ink: #102a35;
      --muted: #526b74;
      --night: #061d29;
      --night-2: #0b3543;
      --night-3: #104b5b;
      --teal: #087f82;
      --teal-dark: #06676a;
      --glow: #79f0cc;
      --glow-soft: #dffaf2;
      --sky: #76cfe6;
      --sky-soft: #e7f7fb;
      --paper: #ffffff;
      --canvas: #f4f9fa;
      --line: #d7e6e9;
      --sand: #fbf4e8;
      --gold: #f0c66f;
      --gold-soft: #fff2cf;
      --coral: #e9a88f;
      --coral-soft: #fce7df;
      --shadow: 0 24px 64px rgba(16, 56, 68, 0.12);
      --r: 20px;
      --rl: 28px;
      --max: 1180px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 132px; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--canvas);
      font: 16px/1.68 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    body.menu-open { overflow: hidden; }
    img { display: block; max-width: 100%; }
    button, input { font: inherit; }
    button { color: inherit; }
    a { color: inherit; }
    [hidden] { display: none !important; }
    :focus-visible { outline: 3px solid #f2bd50; outline-offset: 3px; }

    .skip {
      position: fixed;
      z-index: 999;
      top: 12px;
      left: 12px;
      transform: translateY(-160%);
      padding: 10px 14px;
      border-radius: 10px;
      color: #fff;
      background: var(--night);
      font-weight: 800;
    }
    .skip:focus { transform: none; }
    .wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .section { padding: 88px 0; }
    .white { background: #fff; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin: 0 0 15px;
      color: var(--teal-dark);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }
    .eyebrow::before { width: 22px; height: 2px; content: ""; background: currentColor; }
    .title {
      max-width: 820px;
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.35rem);
      line-height: 1.07;
      letter-spacing: -0.045em;
    }
    .lead { max-width: 760px; margin: 17px 0 0; color: var(--muted); font-size: 1.04rem; }
    .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
    .btn {
      display: inline-flex;
      min-height: 50px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 19px;
      border: 1px solid transparent;
      border-radius: 13px;
      text-decoration: none;
      font-size: 0.87rem;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.18s, background 0.18s, border-color 0.18s;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-dark { color: #fff; background: var(--night); }
    .btn-dark:hover { background: #103746; }
    .btn-primary { color: #063234; background: var(--glow); box-shadow: 0 13px 28px rgba(45, 218, 171, 0.18); }
    .btn-primary:hover { background: #91f7da; }
    .btn-ghost { background: #fff; border-color: var(--line); }
    .btn-ghost:hover { border-color: #a9c7cc; }

    .header {
      position: sticky;
      z-index: 100;
      top: 0;
      border-bottom: 1px solid rgba(215, 230, 233, 0.82);
      background: rgba(255, 255, 255, 0.93);
      backdrop-filter: blur(16px);
    }
    .nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
    .brand-mark {
      position: relative;
      width: 38px;
      height: 38px;
      overflow: hidden;
      border-radius: 50%;
      background: radial-gradient(circle at 64% 34%, #b8ffe9 0 7%, transparent 8%), linear-gradient(145deg, #0f5963, #061d29);
    }
    .brand-mark::after {
      position: absolute;
      right: -7px;
      bottom: 5px;
      width: 42px;
      height: 16px;
      border-radius: 50%;
      content: "";
      background: rgba(121, 240, 204, 0.45);
      transform: rotate(-9deg);
      filter: blur(3px);
    }
    .brand small { display: block; margin-top: -3px; color: #66818a; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.05em; }
    .desktop-nav { display: flex; align-items: center; gap: 27px; }
    .desktop-nav > a:not(.btn) { color: #39545e; text-decoration: none; font-size: 0.85rem; font-weight: 700; }
    .desktop-nav > a:not(.btn):hover, .desktop-nav > a[aria-current="page"] { color: var(--teal-dark); }
    .menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
    }
    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
      display: block;
      width: 20px;
      height: 2px;
      content: "";
      background: currentColor;
      transition: transform 0.18s, opacity 0.18s;
    }
    .menu-toggle span { position: relative; }
    .menu-toggle span::before { position: absolute; top: -6px; }
    .menu-toggle span::after { position: absolute; top: 6px; }
    .menu-toggle[aria-expanded="true"] span { background: transparent; }
    .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
    .mobile-nav { display: none; }

    .hero {
      position: relative;
      display: flex;
      min-height: 590px;
      align-items: center;
      overflow: hidden;
      padding: 92px 0 90px;
      color: #fff;
      background: linear-gradient(90deg, rgba(3, 17, 27, 0.95) 0%, rgba(4, 27, 38, 0.78) 56%, rgba(4, 25, 35, 0.38) 100%), url("../images/moon-calendar-hero.webp") center 54% / cover no-repeat;
    }
    .hero::after {
      position: absolute;
      inset: auto 0 0;
      height: 110px;
      content: "";
      background: linear-gradient(transparent, rgba(3, 19, 28, 0.3));
      pointer-events: none;
    }
    .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr 0.72fr; gap: 76px; align-items: center; }
    .hero .eyebrow { color: var(--glow); }
    .hero h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 0.98; letter-spacing: -0.063em; }
    .hero h1 span { color: var(--glow); }
    .hero-copy { max-width: 690px; margin: 23px 0 0; color: #e2eef0; font-size: clamp(1.02rem, 2vw, 1.14rem); }
    .hero .btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.34); backdrop-filter: blur(8px); }
    .hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
    .hero-note { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; color: #cfdee2; font-size: 0.75rem; font-weight: 700; }
    .hero-note::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; content: ""; background: var(--glow); }
    .answer-card { padding: 29px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--rl); background: rgba(4, 24, 33, 0.72); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28); backdrop-filter: blur(14px); }
    .answer-card .label { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #063234; background: var(--glow); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
    .answer-card h2 { margin: 17px 0 9px; font-size: 1.52rem; line-height: 1.2; letter-spacing: -0.03em; }
    .answer-card p { margin: 0; color: #cde0e3; font-size: 0.81rem; }
    .answer-points { display: grid; gap: 10px; margin-top: 20px; }
    .answer-point { display: grid; grid-template-columns: 21px 1fr; gap: 10px; color: #e2edef; font-size: 0.75rem; }
    .answer-point::before { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; content: "✓"; color: #063435; background: var(--glow); font-size: 0.62rem; font-weight: 900; }

    .quick-band { position: relative; z-index: 3; margin-top: -34px; }
    .quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 18px 46px rgba(19, 57, 68, 0.1); }
    .quick { padding: 22px 24px; }
    .quick + .quick { border-left: 1px solid var(--line); }
    .quick span { display: block; margin-bottom: 5px; color: #718991; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
    .quick strong { display: block; font-size: 0.9rem; }

    .page-nav { position: sticky; z-index: 90; top: 76px; border-bottom: 1px solid var(--line); background: rgba(244, 249, 250, 0.95); backdrop-filter: blur(14px); }
    .page-nav-scroll { display: flex; align-items: center; gap: 9px; overflow-x: auto; padding: 11px 0; scrollbar-width: none; }
    .page-nav-scroll::-webkit-scrollbar { display: none; }
    .page-nav strong { flex: 0 0 auto; margin-right: 7px; color: #6d858d; font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase; }
    .page-nav a { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: #3e5a63; text-decoration: none; font-size: 0.71rem; font-weight: 750; }
    .page-nav a:hover { color: var(--teal-dark); background: #e5f4f3; }

    .calendar-section { position: relative; overflow: hidden; color: #fff; background: linear-gradient(145deg, #061b27, #0a3341 62%, #0b3c49); }
    .calendar-section::before { position: absolute; top: -230px; right: -130px; width: 610px; height: 610px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(121, 240, 204, 0.17), transparent 64%); }
    .calendar-intro { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 38px; }
    .calendar-section .eyebrow { color: var(--glow); }
    .calendar-section .lead { color: #c4dadd; }
    .method-note { max-width: 350px; margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 14px; color: #bbd0d4; background: rgba(255, 255, 255, 0.06); font-size: 0.7rem; }
    .method-note strong { color: #fff; }

    .finder-row { position: relative; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 14px; margin-top: 34px; }
    .finder-card { padding: 19px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); background: rgba(255, 255, 255, 0.07); }
    .finder-card h3 { margin: 0; font-size: 0.94rem; }
    .finder-card > p { margin: 5px 0 15px; color: #b9d0d4; font-size: 0.69rem; }
    .field-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
    .field-row.range { grid-template-columns: 1fr 1fr auto; }
    .field label { display: block; margin-bottom: 6px; color: #d5e5e8; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
    .field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.19); border-radius: 11px; color: #fff; background: rgba(0, 0, 0, 0.18); color-scheme: dark; }
    .finder-card .btn { min-height: 46px; }
    .range-feedback { margin: 12px 0 0; padding: 11px 12px; border-radius: 11px; color: #dce9eb; background: rgba(0, 0, 0, 0.15); font-size: 0.68rem; }
    .range-feedback[data-state="success"] { color: #062f32; background: var(--glow); }
    .range-feedback[data-state="error"] { color: #5b2a1d; background: #f7c7b5; }

    .calendar-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; margin-top: 18px; }
    .calendar-card { min-width: 0; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--rl); background: rgba(255, 255, 255, 0.08); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18); backdrop-filter: blur(10px); }
    .calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
    .month-copy span { display: block; color: #9ebac0; font-size: 0.61rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
    .calendar-month { margin: 2px 0 0; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.035em; }
    .calendar-controls { display: flex; gap: 8px; }
    .calendar-btn { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 11px; color: #fff; background: rgba(255, 255, 255, 0.08); cursor: pointer; }
    .calendar-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.17); }
    .calendar-btn:disabled { opacity: 0.36; cursor: not-allowed; }
    .calendar-btn.today-btn { width: auto; padding: 0 13px; font-size: 0.69rem; font-weight: 800; }
    .weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
    .weekday { padding: 5px; text-align: center; color: #a8c2c7; font-size: 0.61rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
    .weekday-short { display: none; }
    .day {
      position: relative;
      min-width: 0;
      min-height: 104px;
      padding: 9px;
      appearance: none;
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: 12px;
      color: #fff;
      background: rgba(255, 255, 255, 0.065);
      text-align: left;
      cursor: pointer;
      transition: background 0.16s, border-color 0.16s, transform 0.16s;
    }
    .day:hover:not(:disabled) { z-index: 1; transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); }
    .day.empty { border-color: transparent; background: transparent; cursor: default; pointer-events: none; }
    .day:disabled { opacity: 0.42; cursor: not-allowed; }
    .day.today { border-color: var(--glow); box-shadow: inset 0 0 0 1px var(--glow); }
    .day.selected { border-color: #fff; background: rgba(255, 255, 255, 0.17); box-shadow: inset 0 0 0 2px #fff, 0 10px 25px rgba(0, 0, 0, 0.18); }
    .day.in-range { background: rgba(118, 207, 230, 0.12); }
    .day.range-best::after { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--glow); box-shadow: 0 0 0 3px rgba(121, 240, 204, 0.16); }
    .day-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
    .date { font-size: 0.74rem; font-weight: 800; }
    .moon-icon { font-size: 0.9rem; line-height: 1; }
    .phase { display: block; overflow: hidden; margin-top: 8px; color: #d5e5e8; font-size: 0.55rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
    .illum { display: block; margin-top: 3px; color: #9db8be; font-size: 0.53rem; }
    .mini-scale { position: absolute; right: 9px; bottom: 9px; left: 9px; display: block; height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
    .mini-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--glow), var(--sky)); }
    .day[data-level="mixed"] .mini-fill { background: linear-gradient(90deg, #8bcde1, var(--gold)); }
    .day[data-level="bright"] .mini-fill { background: linear-gradient(90deg, #a4bcd0, var(--coral)); }
    .calendar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 16px; color: #bcd0d4; font-size: 0.65rem; }
    .legend { display: flex; align-items: center; gap: 7px; }
    .legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--glow); }
    .legend-dot.mixed { background: var(--gold); }
    .legend-dot.bright { background: var(--coral); }
    .legend-range { margin-left: auto; }
    .calendar-note { margin: 14px 0 0; color: #a8c2c7; font-size: 0.68rem; }
    .calendar-note strong { color: #e2edef; }

    .result-column { position: sticky; top: 132px; display: grid; gap: 14px; }
    .selected-date { padding: 22px; border-radius: var(--r); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
    .selected-date .result-tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #075a4d; background: var(--glow-soft); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
    .selected-date[data-level="mixed"] .result-tag { color: #6b4a11; background: var(--gold-soft); }
    .selected-date[data-level="bright"] .result-tag { color: #7f3e2c; background: var(--coral-soft); }
    .selected-date h3 { margin: 11px 0 5px; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.035em; }
    .selected-date > p { margin: 0; color: var(--muted); font-size: 0.73rem; }
    .result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
    .result-stat { min-width: 0; padding: 12px; border-radius: 12px; background: #f1f6f7; }
    .result-stat span { display: block; color: #718991; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
    .result-stat strong { display: block; margin-top: 4px; overflow-wrap: anywhere; font-size: 0.78rem; line-height: 1.28; }
    .light-scale { margin-top: 17px; }
    .scale-labels { display: flex; justify-content: space-between; gap: 12px; color: #6e858d; font-size: 0.54rem; font-weight: 800; text-transform: uppercase; }
    .scale-track { position: relative; height: 10px; margin-top: 7px; border-radius: 999px; background: linear-gradient(90deg, #72efd0 0%, #76cfe6 38%, #f1cd78 68%, #e7a58b 100%); }
    .scale-marker { position: absolute; top: 50%; left: 0; width: 17px; height: 17px; border: 3px solid #fff; border-radius: 50%; background: var(--night); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24); transform: translate(-50%, -50%); }
    .result-advice { margin-top: 16px; padding: 12px; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; color: #426068; background: #eaf6f6; font-size: 0.66rem; }
    .result-actions { display: grid; gap: 8px; margin-top: 16px; }
    .result-actions .btn { min-height: 44px; font-size: 0.72rem; }
    .top-dates { padding: 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); background: rgba(255, 255, 255, 0.07); }
    .top-dates h3 { margin: 0; font-size: 0.83rem; }
    .top-dates p { margin: 4px 0 12px; color: #abc3c8; font-size: 0.62rem; }
    .top-date-list { display: grid; gap: 7px; }
    .top-date { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px 11px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 10px; color: #fff; background: rgba(0, 0, 0, 0.12); text-align: left; cursor: pointer; }
    .top-date:hover { background: rgba(255, 255, 255, 0.1); }
    .top-date strong { display: block; font-size: 0.68rem; }
    .top-date span { color: #aac2c7; font-size: 0.57rem; }
    .top-date b { color: var(--glow); font-size: 0.66rem; }

    .read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
    .read-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
    .read-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #063435; background: var(--glow-soft); font-size: 1.05rem; }
    .read-card:nth-child(2) .read-icon { background: var(--gold-soft); }
    .read-card:nth-child(3) .read-icon { background: var(--sky-soft); }
    .read-card h3 { margin: 26px 0 7px; font-size: 1rem; }
    .read-card p { margin: 0; color: var(--muted); font-size: 0.75rem; }
    .accuracy { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--teal); border-radius: 0 13px 13px 0; color: #3d5d65; background: #eaf7f6; font-size: 0.76rem; }

    .phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 36px; }
    .phase-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--rl); background: #fff; box-shadow: 0 18px 45px rgba(19, 57, 68, 0.07); }
    .phase-media { position: relative; height: 230px; overflow: hidden; background: var(--night); }
    .phase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
    .phase-card:hover img { transform: scale(1.025); }
    .phase-badge { position: absolute; top: 15px; left: 15px; padding: 6px 10px; border-radius: 999px; color: #063234; background: var(--glow); font-size: 0.61rem; font-weight: 800; }
    .phase-card:nth-child(2) .phase-badge { color: #61440f; background: var(--gold); }
    .phase-card:nth-child(3) .phase-badge { color: #67321f; background: #f2b9a3; }
    .phase-copy { padding: 25px; }
    .phase-copy h3 { margin: 0; font-size: 1.45rem; letter-spacing: -0.04em; }
    .phase-copy p { margin: 10px 0 0; color: var(--muted); font-size: 0.75rem; }
    .phase-copy ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
    .phase-copy li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: #405d65; font-size: 0.69rem; }
    .phase-copy li::before { content: "✓"; color: var(--teal); font-weight: 900; }

    .plan-section { background: var(--sand); }
    .plan-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 68px; align-items: start; }
    .steps { display: grid; gap: 11px; }
    .step { display: grid; grid-template-columns: 43px 1fr; gap: 14px; padding: 18px; border: 1px solid #ead8b9; border-radius: 15px; background: rgba(255, 255, 255, 0.62); }
    .step-num { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; color: #063435; background: var(--glow-soft); font-size: 0.67rem; font-weight: 800; }
    .step strong { display: block; font-size: 0.87rem; }
    .step p { margin: 4px 0 0; color: #675b45; font-size: 0.73rem; }

    .faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 68px; align-items: start; }
    .faq-intro { position: sticky; top: 145px; }
    .faq-list { display: grid; gap: 10px; }
    details { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
    summary { position: relative; padding: 19px 52px 19px 19px; cursor: pointer; list-style: none; font-size: 0.87rem; font-weight: 800; }
    summary::-webkit-details-marker { display: none; }
    summary::after { position: absolute; top: 50%; right: 19px; width: 22px; height: 22px; border-radius: 50%; content: "+"; color: var(--teal-dark); background: var(--glow-soft); text-align: center; line-height: 21px; transform: translateY(-50%); }
    details[open] summary::after { content: "−"; }
    details p { margin: -2px 19px 19px; color: var(--muted); font-size: 0.78rem; }

    .guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 35px; }
    .guide { min-height: 178px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
    .guide:hover { transform: translateY(-4px); border-color: #b8d1d5; box-shadow: 0 16px 34px rgba(19, 57, 68, 0.08); }
    .guide-index { color: var(--teal); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.08em; }
    .guide strong { margin-top: auto; font-size: 0.94rem; }
    .guide span:last-child { margin-top: 4px; color: var(--muted); font-size: 0.67rem; line-height: 1.5; }

    .closing { padding: 72px 0; color: #fff; background: linear-gradient(135deg, #082331, #0a3a44); }
    .closing-grid { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
    .closing h2 { max-width: 650px; margin: 0; font-size: clamp(2rem, 4.5vw, 3.55rem); line-height: 1.05; letter-spacing: -0.05em; }
    .closing p { max-width: 610px; margin: 12px 0 0; color: #c7dde0; font-size: 0.86rem; }
    .closing .actions { flex: 0 0 auto; margin: 0; }
    .closing .btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
    .footer { padding: 58px 0 27px; color: #c6d6da; background: #041821; }
    .footer-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 0.8fr 0.9fr; gap: 50px; }
    .footer .brand { color: #fff; }
    .footer-brand p { max-width: 340px; margin: 16px 0 0; color: #8fa8ae; font-size: 0.72rem; }
    .footer-title { margin: 4px 0 15px; color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
    .footer-col a { display: block; margin: 8px 0; color: #a9c0c5; text-decoration: none; font-size: 0.71rem; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 43px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.09); color: #78939a; font-size: 0.64rem; }
    .mobile-cta { display: none; }
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1060px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: inline-flex; }
      .mobile-nav { position: fixed; z-index: 99; inset: 76px 0 auto; display: grid; max-height: 0; overflow: hidden; background: #fff; opacity: 0; pointer-events: none; transition: max-height 0.22s, opacity 0.18s; box-shadow: 0 20px 30px rgba(19, 57, 68, 0.12); }
      .mobile-nav.open { max-height: 520px; padding: 12px 20px 24px; opacity: 1; pointer-events: auto; }
      .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.86rem; font-weight: 750; }
      .mobile-nav .btn { margin-top: 11px; color: #063234; }
      .hero { min-height: auto; padding: 82px 0 76px; background-position: 59% center; }
      .hero-grid { grid-template-columns: 1fr; gap: 35px; }
      .answer-card { max-width: 620px; }
      .calendar-layout { grid-template-columns: 1fr; }
      .result-column { position: static; grid-template-columns: 1.15fr 0.85fr; }
      .selected-date { order: 1; }
      .top-dates { order: 2; }
      .phase-grid { grid-template-columns: 1fr 1fr; }
      .phase-card:last-child { grid-column: 1 / -1; }
      .phase-card:last-child .phase-media { height: 300px; }
      .guides { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
    }

    @media (max-width: 780px) {
      .wrap { width: min(calc(100% - 28px), var(--max)); }
      .section { padding: 65px 0; }
      .title { font-size: clamp(1.95rem, 9vw, 2.8rem); }
      .hero { padding: 72px 0 69px; background-position: 63% center; }
      .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
      .answer-card { padding: 22px; }
      .quick-grid { grid-template-columns: 1fr; }
      .quick + .quick { border-top: 1px solid var(--line); border-left: 0; }
      .page-nav { top: 76px; }
      .calendar-intro { display: block; }
      .method-note { max-width: none; margin-top: 20px; }
      .finder-row { grid-template-columns: 1fr; }
      .field-row.range { grid-template-columns: 1fr 1fr; }
      .field-row.range .btn { grid-column: 1 / -1; }
      .calendar-card { padding: 15px; border-radius: 20px; }
      .calendar-head { align-items: end; }
      .calendar-btn { width: 42px; height: 42px; }
      .calendar-btn.today-btn { display: none; }
      .weekdays, .days { gap: 4px; }
      .weekday { padding: 3px 0; }
      .weekday-long { display: none; }
      .weekday-short { display: inline; }
      .day { min-height: 70px; padding: 6px; border-radius: 10px; text-align: center; }
      .day-top { display: grid; justify-items: center; gap: 3px; }
      .date { font-size: 0.71rem; }
      .moon-icon { font-size: 0.82rem; }
      .phase, .illum { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
      .mini-scale { right: 6px; bottom: 6px; left: 6px; height: 4px; }
      .day.range-best::after { top: 5px; right: 5px; width: 6px; height: 6px; }
      .legend-range { width: 100%; margin-left: 0; }
      .result-column { grid-template-columns: 1fr; }
      .selected-date { order: 1; }
      .top-dates { order: 2; }
      .read-grid, .phase-grid { grid-template-columns: 1fr; }
      .phase-card:last-child { grid-column: auto; }
      .phase-card:last-child .phase-media { height: 230px; }
      .plan-grid, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
      .faq-intro { position: static; }
      .closing-grid { display: block; }
      .closing .actions { margin-top: 24px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
      .mobile-cta { position: fixed; z-index: 95; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); }
      .mobile-cta .btn { min-height: 45px; padding: 9px 11px; font-size: 0.72rem; }
      .footer { padding-bottom: 92px; }
    }

    @media (max-width: 480px) {
      .wrap { width: min(calc(100% - 22px), var(--max)); }
      .brand small { display: none; }
      .hero { background-position: 66% center; }
      .hero-copy { font-size: 0.95rem; }
      .field-row, .field-row.range { grid-template-columns: 1fr; }
      .field-row .btn, .field-row.range .btn { width: 100%; grid-column: auto; }
      .calendar-month { font-size: 1.2rem; }
      .calendar-controls { gap: 5px; }
      .calendar-btn { width: 39px; height: 39px; }
      .day { min-height: 63px; padding: 5px 2px; }
      .result-stats { grid-template-columns: 1fr 1fr; }
      .guides { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-brand { grid-column: auto; }
      .footer-bottom { display: grid; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
      .reveal { opacity: 1; transform: none; }
    }
