/* =====================================================
     Burp homepage mockup — direction 11 (Ink Line) + 01B (violet night)
     Every color is a BurpTheme token or a night-deepened member of the ramp.
     The page commits to its own world: night hero → white day → night footer.
     ===================================================== */
  :root {
    --inkline: #4A3F8A;        /* icon ink — all drawings */
    --text: #1c1a24;
    --muted: #636366;          /* neutral500 */
    --faint: #8E8E93;          /* neutral400 */
    --p300: #B3A7DE;
    --p400: #8A7BC5;
    --p500: #7B6FC1;
    --p600: #554691;
    --canvas: #F2F2F7;         /* lightCanvas */
    --card: #FFFFFF;
    --night-deep: #120f26;
    --night-mid: #1b1638;
    --night-hi: #2a2352;
    --moonlight: #EDEBF7;
    --hairline: rgba(60, 60, 67, 0.16);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; background: #FFFFFF; }
  body {
    margin: 0; background: #FFFFFF; color: var(--text);
    font-family: -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", sans-serif;
    line-height: 1.6;
  }
  img { max-width: 100%; }
  .inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

  h1, h2, h3 { letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
  .kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--p600); margin: 0 0 14px;
  }
  .squiggle { display: block; margin: 10px 0 18px; }

  /* ---------- reveal on scroll ---------- */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* =====================================================
     NIGHT HERO (01B)
     ===================================================== */
  .hero {
    position: relative; overflow: hidden; color: var(--moonlight);
    background: radial-gradient(130% 120% at 72% -4%, var(--night-hi) 0%, var(--night-mid) 52%, var(--night-deep) 100%);
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    padding-bottom: 0;
  }
  .hero > .inner { display: flex; flex-direction: column; flex: 1; width: 100%; }
  .hero .stars { position: absolute; inset: 0; pointer-events: none; }
  .hero .stars i {
    position: absolute; width: 2px; height: 2px; border-radius: 50%;
    background: var(--moonlight); opacity: 0.5;
  }
  @media (prefers-reduced-motion: no-preference) {
    .hero .stars i { animation: twinkle 3.8s ease-in-out infinite; }
    @keyframes twinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.15; } }
  }
  .hero .doodle-star { position: absolute; pointer-events: none; opacity: 0.8; }

  .nav {
    position: relative; z-index: 3;
    display: flex; align-items: center; gap: 28px;
    padding: 22px 0 0;
  }
  .nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
  .nav .links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
  .nav .links a {
    color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14.5px; font-weight: 600;
  }
  .nav .links a:hover, .nav .links a:focus-visible { color: #fff; }
  .nav .cta {
    background: #fff; color: var(--p600) !important; font-weight: 700 !important;
    padding: 8px 18px; border-radius: 999px; font-size: 14px;
  }
  @media (max-width: 860px) { .nav .links { gap: 14px; } .nav .links a { font-size: 13.5px; } }
  @media (max-width: 520px) { .nav .links a:not(.cta) { display: none; } }

  .hero-body {
    position: relative; z-index: 2; text-align: center; flex: 1;
    padding: 28px 0 48px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  }
  .hero .clock {
    font-family: "SF Mono", ui-monospace, Menlo, monospace;
    font-size: 13px; letter-spacing: 0.12em; color: rgba(179, 167, 222, 0.55);
  }
  /* The app's actual home card — dark mode, faithfully recreated */
  .appcard {
    width: min(400px, 88vw); border-radius: 30px; padding: 36px 24px 16px;
    background: linear-gradient(180deg, var(--p600) 0%, var(--p500) 100%);
    box-shadow: 0 0 54px rgba(179, 167, 222, 0.3), 0 18px 44px rgba(0, 0, 0, 0.4);
    text-align: center; color: #fff;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
  }
  @media (prefers-reduced-motion: no-preference) {
    .appcard { animation: breathe 4.5s ease-in-out infinite; }
    @keyframes breathe {
      0%, 100% { box-shadow: 0 0 54px rgba(179,167,222,0.3), 0 18px 44px rgba(0,0,0,0.4); }
      50% { box-shadow: 0 0 76px rgba(179,167,222,0.45), 0 18px 44px rgba(0,0,0,0.4); }
    }
  }
  .appcard .big {
    font-size: 68px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .appcard .big small { font-size: 26px; font-weight: 700; margin-left: 6px; }
  .appcard .since { font-size: 15px; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; }
  .appcard .sidecircle {
    width: 46px; height: 46px; border-radius: 50%; background: #fff;
    color: var(--p600); font-size: 19px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .appcard .lastside { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }
  .appcard .swipe { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 20px; }

  /* live timer hero card */
  .timercard {
    width: min(290px, 76vw); aspect-ratio: 1; position: relative; overflow: visible;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .timercard .tst { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #EDEBF7; opacity: 0.5; }
  @media (prefers-reduced-motion: no-preference) {
    .timercard .tst { animation: twinkle 4.2s ease-in-out infinite; }
    .timercard .tst:nth-of-type(2) { animation-delay: 1.2s; }
    .timercard .tst:nth-of-type(3) { animation-delay: 2.1s; }
    .timercard .tst:nth-of-type(4) { animation-delay: 0.6s; }
    .timercard .tst:nth-of-type(5) { animation-delay: 2.8s; }
  }
  .thalo {
    position: absolute; width: 380px; height: 380px; border-radius: 50%; left: 50%; top: 46%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(179, 167, 222, 0.52) 0%, rgba(179, 167, 222, 0.17) 48%, transparent 72%);
  }
  @media (prefers-reduced-motion: no-preference) {
    .thalo { animation: hb2 6s ease-in-out infinite; }
    @keyframes hb2 {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.72; }
      50% { transform: translate(-50%, -50%) scale(1.14); opacity: 1; }
    }
  }
  .tbig { color: #fff; font-size: 64px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; position: relative; }
  .tsub { color: rgba(179, 167, 222, 0.7); font-size: 11px; letter-spacing: 0.24em; position: relative; margin-top: 2px; }

  /* widget tiles (HTML recreations on light ground) */
  .widrow { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
  .widcol { display: flex; flex-direction: column; align-items: center; width: 216px; }
  .widtile {
    width: 200px; height: 200px; border-radius: 44px; position: relative; overflow: hidden; padding: 18px;
    background: radial-gradient(150% 140% at 70% -10%, #2a2352 0%, #1b1638 55%, #120f26 100%);
    border: 1px solid rgba(179, 167, 222, 0.2); box-shadow: 0 16px 38px rgba(43, 35, 82, 0.32);
    color: #fff; display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  }
  .widtile i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #EDEBF7; opacity: 0.5; }
  @media (prefers-reduced-motion: no-preference) { .widtile i { animation: twinkle 4.4s ease-in-out infinite; } }
  .widtile .wname { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.92); position: relative; }
  .widtile .wbig { font-size: 24px; font-weight: 800; line-height: 1.1; position: relative; }
  .widtile .wbig small { font-size: 12px; font-weight: 600; }
  .widtile .wsub { font-size: 12px; color: rgba(237, 235, 247, 0.55); position: relative; }
  .widtile .wrowline { display: flex; align-items: center; gap: 9px; position: relative; }
  .widtile .wdot { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #554691; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
  .widcap { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; max-width: 220px; }
  .widcap b { color: var(--ink); display: block; font-size: 13.5px; }
  .dipill { display: flex; align-items: center; gap: 8px; background: #000; border-radius: 999px; padding: 6px 14px 6px 7px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
  .dipill .wdot { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #554691; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .dipill span { color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; font-weight: 600; }
  .badge.both {
    /* the both-sides crescent: a second (white) badge peeking out behind, drawn as an
       offset solid shadow so it paints beneath the purple circle */
    box-shadow: -8px 0 0 0 #fff, -9px 0 0 1px rgba(60, 60, 67, 0.12);
  }

  /* real screenshots */
  .appshot { display: block; border-radius: 32px; height: auto; }
  .appshot.night {
    width: min(300px, 82vw);
    border: 1px solid rgba(179, 167, 222, 0.28);
    box-shadow: 0 0 54px rgba(179, 167, 222, 0.24), 0 26px 60px rgba(0, 0, 0, 0.5);
  }
  .appshot.day {
    width: min(330px, 86vw);
    border: 1px solid rgba(60, 60, 67, 0.14);
    box-shadow: 0 18px 44px rgba(85, 70, 145, 0.16);
  }
  .pdfshot {
    display: block; width: min(260px, 70vw); border-radius: 6px;
    border: 1px solid rgba(60, 60, 67, 0.14);
    box-shadow: 0 14px 34px rgba(85, 70, 145, 0.18);
    transform: rotate(-1.2deg); margin-top: 22px;
  }

  /* widgets night band */
  .nightband {
    background: radial-gradient(140% 120% at 70% -5%, #2a2352 0%, #1b1638 55%, #120f26 100%);
    color: #EDEBF7; padding: 92px 0; position: relative; overflow: hidden;
  }
  .nightband .stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #EDEBF7; opacity: 0.5; }
  @media (prefers-reduced-motion: no-preference) {
    .nightband .stars i { animation: twinkle 4.2s ease-in-out infinite; }
  }
  .nightband .kicker2 { color: var(--p300); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px; }
  .nightband h2 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0; max-width: 24ch; }
  .nightband .lead2 { color: rgba(237, 235, 247, 0.62); font-size: 15.5px; max-width: 58ch; margin: 18px 0 0; }
  .nightband .lead2 b { color: #fff; }
  .widgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 44px; align-items: start; }
  .widcell { text-align: center; }
  .widcell img { width: 100%; max-width: 270px; border-radius: 22px; border: 1px solid rgba(179, 167, 222, 0.2); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
  .widcell .wc { margin-top: 12px; font-size: 12.5px; color: rgba(179, 167, 222, 0.78); }
  .widcell .wc b { color: #fff; display: block; font-size: 13.5px; margin-bottom: 2px; }

  .hero .pre {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(179, 167, 222, 0.75); margin: 0 0 -14px;
  }
  .hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; color: #fff; line-height: 1.08; max-width: 24ch; }

  /* one-thing manifesto band */
  .focus { background: var(--night-mid); color: #EDEBF7; text-align: center; padding: 84px 0; overflow: hidden; }
  .focus .kicker2 {
    color: var(--p300); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; margin: 0 0 14px;
  }
  .focus h2 { color: #fff; font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; max-width: 24ch; margin: 0 auto; letter-spacing: -0.02em; }
  .focus .fsub { color: rgba(237, 235, 247, 0.62); font-size: 15.5px; max-width: 56ch; margin: 20px auto 38px; }
  .focus .fsub b { color: #fff; }
  .focus .nolist { display: flex; gap: 12px 22px; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0 0 28px; padding: 0; }
  .focus .nolist li { position: relative; font-size: 16.5px; color: rgba(179, 167, 222, 0.7); padding: 2px 4px; }
  .focus .nolist li svg { position: absolute; left: -3%; top: 54%; width: 106%; height: 10px; transform: translateY(-50%); }
  .focus .yes { font-size: 19px; font-weight: 700; color: #fff; margin: 0; }
  .focus .yes .dropchar { color: var(--p300); }
  .hero .sub {
    max-width: 56ch; margin: 0; font-size: 17px; color: rgba(255, 255, 255, 0.8);
  }
  .hero .ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
  .btn-store { display: inline-block; transition: transform 0.15s ease; }
  .btn-store:hover { transform: translateY(-2px); }
  .btn-store img { display: block; height: 54px; width: auto; }
  .hero .free-note { font-size: 13px; color: rgba(179, 167, 222, 0.85); }


  /* =====================================================
     DAY SECTIONS — Ink Line (11)
     ===================================================== */
  section.day { padding: 88px 0; position: relative; overflow: hidden; }
  section.day.on-canvas { background: var(--canvas); }
  .sect-head { max-width: 640px; margin-bottom: 48px; }
  .sect-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
  .sect-head .lead { font-size: 16.5px; color: var(--muted); margin: 0; max-width: 58ch; }

  /* morning log — the app's real list, stacked like the app, copy alongside */
  .morngrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  @media (max-width: 860px) { .morngrid { grid-template-columns: 1fr; } }
  .morning .say { font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.015em; color: var(--text); margin: 0 0 14px; line-height: 1.2; }
  .morning .sub { font-size: 16.5px; color: var(--muted); margin: 0; max-width: 58ch; }
  .morning .sub b { color: var(--p600); }
  .stack { display: flex; flex-direction: column; gap: 10px; max-width: 440px; width: 100%; margin-left: auto;
    background: #ECE7F7; border-radius: 24px; padding: 16px 16px 18px; }
  @media (max-width: 860px) { .stack { margin: 0 auto; } }
  .ldate { font-size: 13px; font-weight: 650; color: #706D84; margin: 2px 2px 0; text-align: left; }
  .lspine { border-left: 2px dashed #8A7BC5; padding-left: 13px; margin-left: 6px; display: flex; flex-direction: column; gap: 12px; }
  .sumled { background: #4A3F8A; color: #fff; border-radius: 16px; padding: 13px 18px; }
  .sumled .lrow { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; margin: 4px 0; }
  .sumled .lrow .lead { flex: 1; border-bottom: 2px dotted rgba(255,255,255,0.35); transform: translateY(-4px); }
  .sumled .lrow b { font-size: 16px; font-variant-numeric: tabular-nums; }
  .approw {
    background: #fff; border-radius: 16px; padding: 12px 16px 13px 18px;
    display: flex; align-items: center; gap: 22px; justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  .bypill {
    display: inline-block; background: #4A3F8A; color: #fff; border-radius: 999px;
    font-size: 12px; font-weight: 500; padding: 2.5px 11px; margin-top: 5px;
  }
  .approw .rt { text-align: left; }
  .approw .time { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
  .approw .val { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .approw .val sup { font-size: 55%; font-weight: 700; }
  .approw .note { font-size: 12.5px; color: var(--faint); }
  .approw .badge {
    width: 38px; height: 38px; border-radius: 50%; background: var(--p600);
    color: #fff; font-size: 15px; font-weight: 700; flex: none;
    display: flex; align-items: center; justify-content: center;
  }
  .morning .whonote { font-size: 13px; color: var(--faint); margin: 16px 0 0; }
  .morning .whonote b { color: var(--p600); }

  /* feature cards */
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
  @media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
  .card.nightcard { background: var(--night-mid); border-color: transparent; }
  .card.nightcard h3 { color: #fff; }
  .card.nightcard p { color: rgba(237, 235, 247, 0.65); }
  .card.nightcard p b { color: var(--p300); }
  .card {
    background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
    padding: 30px 28px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 12px 30px rgba(85, 70, 145, 0.1); }
  .card:nth-child(2):hover { transform: translateY(-4px) rotate(0.4deg); }
  .card svg.draw { display: block; margin-bottom: 18px; }
  .card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
  .card p { font-size: 14.5px; color: var(--muted); margin: 0; }
  .card p b { color: var(--text); font-weight: 600; }
  .tested {
    margin: 36px 0 0; font-size: 13.5px; color: var(--muted);
    border-left: 3px solid var(--p300); padding: 6px 0 6px 14px; max-width: 52ch;
    display: flex; align-items: center; gap: 10px;
  }
  .tested b { color: var(--text); }

  /* sharing */
  .share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  @media (max-width: 860px) { .share-grid { grid-template-columns: 1fr; } }
  .share-art { display: flex; justify-content: center; }
  .share-art svg { width: min(470px, 100%); height: auto; }
  .ioshonesty {
    margin: 24px 0 0; font-size: 13.5px; color: var(--muted);
    border-left: 3px solid var(--p300); padding: 6px 0 6px 14px; max-width: 52ch;
  }
  .ioshonesty b { color: var(--text); }
  .notif {
    background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
    padding: 12px 16px; max-width: 360px; margin-top: 26px;
    display: flex; gap: 12px; align-items: center;
    box-shadow: 0 8px 24px rgba(85, 70, 145, 0.1);
    transform: rotate(-1deg);
  }
  .notif img { width: 38px; height: 38px; border-radius: 9px; }
  .notif .nt { font-size: 13.5px; }
  .notif .nt b { display: block; font-size: 14px; }
  .notif .nt span { color: var(--muted); }
  .notif .now { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--faint); }
  .checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .checks li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
  .checks li svg { flex: none; transform: translateY(2px); }
  .checks li b { font-weight: 600; }
  .checks li span { color: var(--muted); }

  /* trends / chart */
  .chart-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  @media (max-width: 860px) { .chart-grid { grid-template-columns: 1fr; } }
  /* Trends — the app's actual Trends screen, recreated */
  .trendsphone {
    background: var(--canvas); border-radius: 22px; padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 10px 28px rgba(85, 70, 145, 0.1);
    display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin-left: auto;
  }
  @media (max-width: 860px) { .trendsphone { margin: 0 auto; } }
  .seg { display: flex; background: rgba(118, 118, 128, 0.12); border-radius: 999px; padding: 3px; }
  .seg span {
    flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 0;
    border-radius: 999px; color: var(--text);
  }
  .seg .on { background: var(--p400); color: #fff; }
  .avgcard { background: #3D3D3D; border-radius: 14px; color: #fff; padding: 13px 16px 14px; }
  .avgcard .at { font-size: 13.5px; font-weight: 600; text-align: center; margin-bottom: 10px; }
  .avgcard .cols { display: flex; justify-content: space-between; }
  .avgcard .lab { font-size: 11px; color: rgba(255,255,255,0.5); }
  .avgcard .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .avgcard .v small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.55); margin-left: 3px; }
  .avgcard .sub { font-size: 11px; color: rgba(255,255,255,0.45); }
  .avgcard .cols > div:last-child { text-align: right; }
  .statcard { background: #fff; border-radius: 14px; padding: 14px 12px; }
  .statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; text-align: center; }
  .statgrid .sv { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .statgrid .sl { font-size: 11px; color: var(--faint); }
  .barcard { background: #fff; border-radius: 14px; padding: 14px 14px 10px; }
  .barcard .bt { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
  .barcard .bt small { font-weight: 500; color: var(--faint); margin-left: 5px; }
  .bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
  .bars i { flex: 1; border-radius: 3px 3px 1px 1px; display: block; }
  .bars.breast i { background: var(--p300); }
  .bars.bottle i { background: var(--p500); }
  .baxis { display: flex; justify-content: space-between; font-size: 10px; color: var(--faint); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .export-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
  .filechip {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--inkline); color: var(--inkline);
    border-radius: 10px; padding: 7px 14px; font-size: 13px; font-weight: 600;
    transform: rotate(-0.8deg);
  }
  .filechip + .filechip { transform: rotate(0.9deg); }

  /* privacy */
  .privacy { text-align: center; padding-top: 40px; }
  .privacy .sect-head { margin: 0 auto 8px; }
  .privacy .art { margin: 0 auto 26px; width: min(300px, 80vw); }
  .privacy .art svg { width: 100%; height: auto; }
  .nos {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none;
  }
  .nos li {
    border: 1.5px solid var(--inkline); color: var(--inkline); border-radius: 999px;
    padding: 8px 18px; font-size: 14px; font-weight: 600; background: #fff;
  }
  .nos li:nth-child(odd) { transform: rotate(-1deg); }
  .nos li:nth-child(even) { transform: rotate(1deg); }
  .privacy .honesty { margin: 30px 0 0; font-size: 13.5px; color: var(--muted); max-width: 52ch; border-left: 3px solid var(--p300); padding: 6px 0 6px 14px; text-align: left; }
  .privacy .honesty b { color: var(--text); }

  /* pricing */
  .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  @media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
  .paper {
    background: #FFFFFF; width: 290px; padding: 20px 22px 16px; margin: 0 auto;
    font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 11.5px;
    color: var(--p600); box-shadow: 0 10px 30px rgba(85, 70, 145, 0.18);
    transform: rotate(1.2deg);
    mask: radial-gradient(circle at 8px 100%, transparent 5px, #000 5.5px) 0 0 / 16px 100%;
    -webkit-mask: radial-gradient(circle at 8px 100%, transparent 5px, #000 5.5px) 0 0 / 16px 100%;
  }
  .paper .c { text-align: center; }
  .paper .big { font-size: 16px; font-weight: 700; letter-spacing: 0.14em; }
  .paper hr { border: 0; border-top: 1px dashed var(--p300); margin: 9px 0; }
  .paper .r { display: flex; justify-content: space-between; padding: 2px 0; font-variant-numeric: tabular-nums; }
  .paper .tot { font-weight: 700; }
  .price-copy h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
  .price-copy p { color: var(--muted); font-size: 16.5px; }
  .price-copy .sect-head + p { margin-top: 0; }
  .price-copy p b { color: var(--text); }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(180deg, var(--p600), var(--p500));
    color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
    padding: 14px 28px; border-radius: 999px; margin-top: 10px;
    box-shadow: 0 10px 24px rgba(123, 111, 193, 0.35);
    transition: transform 0.15s ease;
  }
  .btn-primary:hover { transform: translateY(-2px); }

  /* =====================================================
     NIGHT FOOTER — bookend
     ===================================================== */
  footer {
    position: relative; overflow: hidden; color: rgba(237, 235, 247, 0.75);
    background: radial-gradient(130% 140% at 50% 120%, var(--night-hi) 0%, var(--night-mid) 55%, var(--night-deep) 100%);
    padding: 88px 0 46px; text-align: center; font-size: 14px;
  }
  footer .seeyou { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: #fff; margin-bottom: 8px; }
  footer .tag { color: rgba(179, 167, 222, 0.9); margin: 0 0 34px; }
  footer .fnav { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
  footer .fnav a { color: rgba(237, 235, 247, 0.75); text-decoration: none; }
  footer .fnav a:hover { color: #fff; }
  footer .brandline { display: flex; align-items: center; gap: 10px; justify-content: center; color: rgba(237,235,247,0.55); font-size: 13px; }
  footer .copyright { margin-top: 18px; font-size: 12px; color: rgba(237, 235, 247, 0.35); }
  footer .brandline img { width: 30px; height: 30px; }
  footer .stars i {
    position: absolute; width: 2px; height: 2px; border-radius: 50%;
    background: var(--moonlight); opacity: 0.5;
  }
  @media (prefers-reduced-motion: no-preference) {
    footer .stars i { animation: twinkle 4.4s ease-in-out infinite; }
  }
