/* Homepage layout. Loads after styles.css and home.css (which the guides share)
   and only on index.html. Always dark (Dusk). */

.landing {
  --glass: rgba(20, 23, 48, 0.62);
  --glass-line: rgba(255, 255, 255, 0.08);
  --violet: #7C6CFF;
  background:
    radial-gradient(1100px 700px at 50% -8%, rgba(110, 120, 255, 0.28), transparent 62%),
    radial-gradient(800px 500px at 95% 40%, rgba(86, 211, 100, 0.06), transparent 60%),
    radial-gradient(900px 600px at 0% 60%, rgba(60, 46, 140, 0.18), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: clip;
}

.landing section { padding: 0; }
.landing h2 { margin-bottom: 16px; }

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.sub { color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); margin: 0; max-width: 38em; }
.l-head { max-width: 760px; margin: 0 0 48px; }

.card-glass {
  background: linear-gradient(180deg, rgba(29, 33, 66, 0.72), rgba(20, 23, 48, 0.72));
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  border-radius: 28px;
}

/* ---------- Hero ---------- */
.l-hero { padding: 24px 0 0 !important; text-align: center; position: relative; }
.l-hero-copy { display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.eyebrow-tiles { display: inline-grid; grid-template-columns: repeat(4, 8px); gap: 3px; }
.eyebrow-tiles i { width: 8px; height: 8px; border-radius: 2px; background: var(--l1); }
.eyebrow-tiles i:nth-child(2) { background: var(--l2); }
.eyebrow-tiles i:nth-child(3) { background: var(--l3); }
.eyebrow-tiles i:nth-child(4) { background: var(--l4); }

.landing .l-hero h1 {
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0 auto 24px;
  max-width: 10em;
  text-wrap: balance;
}
.hl {
  background: linear-gradient(100deg, var(--l3) 0%, var(--l4) 45%, #B6F5A8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing .l-hero .lede { margin: 0 auto 28px; max-width: 36em; }
.landing .get { justify-content: center; }
.landing .qr img { padding: 6px; border-radius: 10px; }
.landing .qr p { text-align: left; max-width: 9em; }

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 20px 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-2);
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--l4); }

/* Phone stage */
.l-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 36px auto 0;
  height: 600px;
  max-width: 980px;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.stage-glow {
  position: absolute;
  inset: 40px 10% auto;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 255, 0.45), transparent);
  filter: blur(30px);
}
.l-stage .phone { position: relative; z-index: 1; }
.stage-main { --phone-w: 300px; z-index: 2 !important; }
.stage-side { --phone-w: 260px; margin-top: 70px; opacity: 0.9; }
.stage-left { transform: rotate(-7deg) translateX(60px); }
.stage-right { transform: rotate(7deg) translateX(-60px); }

.js .l-stage .phone { transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.1s ease; }
.js .l-stage:not(.in) .stage-main { transform: translateY(16px); }
.js .l-stage:not(.in) .stage-left { transform: rotate(0deg) translateX(200px) translateY(40px); opacity: 0; }
.js .l-stage:not(.in) .stage-right { transform: rotate(0deg) translateX(-200px) translateY(40px); opacity: 0; }

/* ---------- Works with marquee ---------- */
.l-works { padding: 8px 0 96px !important; position: relative; z-index: 2; }
.landing .l-works-title {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-3);
  margin: 0 0 20px;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  list-style: none;
  display: flex;
  flex: none;
  gap: 56px;
  margin: 0;
  padding: 0 28px;
  animation: marquee 32s linear infinite;
}
.marquee-track li {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
  opacity: 0.85;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Year ---------- */
.l-year { padding: 40px 0 120px !important; }
.landing .year { margin: 0; padding: 28px 32px 24px; }

/* ---------- Steps ---------- */
.l-steps { padding: 0 0 120px !important; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 28px 28px 30px;
  border-radius: 24px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--l4);
  color: #0B0D1A;
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 19px;
}
.step:nth-child(1) .step-n { background: var(--l2); }
.step:nth-child(2) .step-n { background: var(--l3); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--text-2); }

/* ---------- Bento ---------- */
.l-bento { padding: 0 0 120px !important; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}
.b-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(29, 33, 66, 0.78), rgba(20, 23, 48, 0.78));
  box-shadow: inset 0 0 0 1px var(--glass-line);
  display: flex;
  flex-direction: column;
}
.b-card h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 10px; text-wrap: balance; }
.b-card p { color: var(--text-2); margin: 0 0 18px; font-size: 16px; }
.b-link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--accent);
}
.b-link span { display: inline-block; transition: transform 0.2s ease; }
.b-link:hover span { transform: translateX(3px); }
.b-icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 18px; }

/* Cards with a screenshot peeking up from the bottom */
.b-shot {
  margin: 8px auto -30px;
  width: min(300px, 90%);
  padding: 8px 8px 0;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(160deg, #2C3163, #141730 55%, #1D2142);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  height: 340px;
  overflow: hidden;
}
.b-shot img { display: block; width: 100%; height: auto; border-radius: 32px 32px 0 0; }

.b-score { grid-column: span 4; grid-row: span 2; flex-direction: row; gap: 28px; align-items: stretch; }
.b-score .b-copy { display: flex; flex-direction: column; flex: 1; padding-bottom: 0; }
.b-score .b-shot { margin: 0 0 -30px; height: auto; flex: none; width: 280px; align-self: flex-end; }
.b-score { background: radial-gradient(500px 400px at 100% 100%, rgba(86, 211, 100, 0.14), transparent 60%), linear-gradient(180deg, rgba(29, 33, 66, 0.78), rgba(20, 23, 48, 0.78)); }

.b-streak { grid-column: span 2; }
.b-habits { grid-column: span 2; }
.b-widgets { grid-column: span 3; }
.b-stats { grid-column: span 3; }
.b-debt { grid-column: span 2; }
.b-private { grid-column: span 2; }
.b-remind { grid-column: span 2; }

.milestones { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: auto 0 0; padding: 0; }
.milestones li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px 8px;
  border-radius: 14px;
  background: var(--l0);
  color: var(--text-3);
}
.milestones b { font-family: var(--rounded); font-size: 24px; line-height: 1.1; }
.milestones span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.milestones .hit { background: var(--l3); color: #0B0D1A; }
.milestones .now { background: var(--l4); color: #0B0D1A; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--l4), 0 0 30px rgba(86, 211, 100, 0.45); }

.b-habits .habit-chart { margin-top: auto; padding: 16px 16px 12px; background: rgba(11, 13, 26, 0.5); }
.b-habits .hc-row { grid-template-columns: 7.5em 1fr 2.6em; font-size: 14px; gap: 8px; }

.debt { margin-top: auto; margin-bottom: 16px; }
.debt-bars { display: flex; align-items: flex-end; gap: 4px; height: 72px; }
.debt-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px; background: var(--l3); opacity: 0.9; }
.debt-bars i:nth-child(2), .debt-bars i:nth-child(5), .debt-bars i:nth-child(12) { background: var(--loss); }
.debt-line { margin: 10px 0 0 !important; font-size: 14px !important; color: var(--text-3) !important; }
.debt-line b { color: var(--text); font-family: var(--rounded); font-size: 18px; }

.b-private { background: radial-gradient(400px 260px at 0% 0%, rgba(154, 166, 255, 0.16), transparent 60%), linear-gradient(180deg, rgba(29, 33, 66, 0.78), rgba(20, 23, 48, 0.78)); }

/* ---------- Calculator ---------- */
.l-calc { padding: 0 0 120px !important; }
.calc-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.calc-note { margin: 22px 0 0; color: var(--text-3); font-size: 15px; }
.calc { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding: 32px; align-items: center; }
.calc-controls { display: grid; gap: 20px; }
.ctl { display: grid; gap: 10px; cursor: pointer; }
.ctl-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.ctl-top output { font-family: var(--rounded); font-variant-numeric: tabular-nums; color: var(--accent); }

.ctl input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 6px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--l0) var(--fill, 50%));
  cursor: pointer;
}
.ctl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(154, 166, 255, 0.25);
  transition: transform 0.15s ease;
}
.ctl input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(154, 166, 255, 0.25);
}
.ctl input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc-result { width: 230px; display: flex; flex-direction: column; align-items: center; }
.ring { --c: var(--l4); position: relative; width: 190px; height: 190px; margin-bottom: 22px; }
.ring[data-l="1"] { --c: var(--l1); }
.ring[data-l="2"] { --c: var(--l2); }
.ring[data-l="3"] { --c: var(--l3); }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring-bg { stroke: var(--l0); }
.ring-fg { stroke: var(--c); stroke-dasharray: var(--p) 100; transition: stroke-dasharray 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), stroke 0.3s ease; }
.ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num output { font-family: var(--rounded); font-weight: 800; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-num span { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: 0.06em; }

.parts { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 10px; }
.parts li { display: grid; grid-template-columns: 6.2em 1fr 3.2em; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.parts b { text-align: right; font-family: var(--rounded); font-variant-numeric: tabular-nums; color: var(--text); }
.part-bar { height: 6px; border-radius: 999px; background: var(--l0); overflow: hidden; }
.part-bar i { display: block; height: 100%; width: calc(var(--w, 0) * 100%); border-radius: inherit; background: var(--accent); transition: width 0.35s ease; }
.calc-verdict { margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--text-2); text-align: center; min-height: 2.6em; }

/* ---------- Made for ---------- */
.l-for { padding: 0 0 120px !important; }
.for-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.for-cards a {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 24px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.for-cards a:hover { transform: translateY(-4px); background: rgba(29, 33, 66, 0.85); box-shadow: inset 0 0 0 1px rgba(154, 166, 255, 0.35); }
.for-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(154, 166, 255, 0.14); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.for-cards strong { font-family: var(--display); font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.for-cards span:not(.for-tag):not([aria-hidden]) { color: var(--text-2); font-size: 15px; }
.for-cards em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--accent); }

/* ---------- FAQ ---------- */
.l-faq { padding: 0 0 120px !important; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-list details {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  transition: background 0.2s ease;
}
.faq-list details[open] { background: rgba(29, 33, 66, 0.85); }
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- Closing ---------- */
.l-close { padding: 0 0 100px !important; }
.close-card {
  position: relative;
  overflow: hidden;
  padding: 88px 32px;
  border-radius: 36px;
  text-align: center;
  background: radial-gradient(600px 360px at 50% 110%, rgba(86, 211, 100, 0.22), transparent 70%), #10132A;
  box-shadow: inset 0 0 0 1px var(--glass-line);
}
.close-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26px, 1fr));
  grid-auto-rows: 26px;
  gap: 6px;
  padding: 6px;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 22%, #000 75%);
  mask-image: radial-gradient(ellipse at center, transparent 22%, #000 75%);
}
.close-tiles i { border-radius: 6px; background: var(--l0); }
.close-tiles i[data-l="1"] { background: var(--l1); }
.close-tiles i[data-l="2"] { background: var(--l2); }
.close-tiles i[data-l="3"] { background: var(--l3); }
.close-tiles i[data-l="4"] { background: var(--l4); }
.close-copy { position: relative; }
.close-icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 20px 50px -10px rgba(86, 211, 100, 0.4); margin-bottom: 26px; }
.landing .close-card h2 { font-size: clamp(38px, 5.6vw, 68px); margin: 0 0 14px; }
.close-copy > p { color: var(--text-2); font-size: 18px; margin: 0 auto 30px; max-width: 30em; }

/* ---------- Footer ---------- */
.l-footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; }
.l-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 40px; }
.l-footer .footer-guides { flex-basis: auto; padding: 0; margin: 0; border: 0; }
.l-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.l-footer .footer-guides ul { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.l-footer a { margin: 0 !important; }
.l-footer a:hover { color: var(--text) !important; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { margin: 0; color: var(--text-3); max-width: 20em; }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hairline); }

/* Anchor jumps clear the sticky header */
.landing [id] { scroll-margin-top: 96px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .for-cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .steps .reveal:nth-child(3), .js .for-cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .for-cards .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-score { grid-column: span 2; grid-row: auto; }
  .b-streak, .b-habits, .b-widgets, .b-stats, .b-debt, .b-private, .b-remind { grid-column: span 1; }
  .b-remind { grid-column: span 2; }
  .for-cards { grid-template-columns: repeat(2, 1fr); }
  .calc-inner { grid-template-columns: 1fr; gap: 36px; }
  .calc-copy { max-width: 640px; }
}

/* Phones can't scan their own screen. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .landing .qr { display: none; }
}

@media (max-width: 860px) {
  .l-stage { height: 520px; }
  .stage-side { display: none; }
  .stage-main { --phone-w: 280px; }
  .steps { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .l-footer .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    border-radius: 20px;
    background: rgba(20, 23, 48, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    color: var(--text);
    text-decoration: none;
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta img { border-radius: 9px; }
  .sticky-cta > span:not(.sticky-btn) { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
  .sticky-cta b { font-size: 15px; }
  .sticky-cta small { font-size: 12px; color: var(--text-3); }
  .sticky-btn { padding: 8px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px; }
  .l-footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
  .l-hero { padding-top: 28px !important; }
  .l-stage { height: 440px; margin-top: 48px; }
  .stage-main { --phone-w: 248px; }
  .l-head { margin-bottom: 32px; }
  .l-year, .l-steps, .l-bento, .l-calc, .l-for, .l-faq { padding-bottom: 88px !important; }
  .l-works { padding-bottom: 72px !important; }
  .landing .year { padding: 20px 18px 18px; border-radius: 22px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .b-card, .b-score, .b-remind { grid-column: auto !important; padding: 24px; border-radius: 24px; }
  .b-score { flex-direction: column; }
  .b-score .b-shot { width: min(280px, 90%); margin: 8px auto -24px; height: 340px; align-self: center; }
  .b-shot { margin-bottom: -24px; }
  .calc { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .calc-result { width: 100%; order: -1; }
  .ring { width: 160px; height: 160px; margin-bottom: 18px; }
  .ring-num output { font-size: 50px; }
  .for-cards { grid-template-columns: 1fr; gap: 14px; }
  .close-card { padding: 64px 20px; border-radius: 28px; }
  .close-tiles { opacity: 0.2; -webkit-mask-image: radial-gradient(ellipse 90% 70% at center, transparent 40%, #000 90%); mask-image: radial-gradient(ellipse 90% 70% at center, transparent 40%, #000 90%); }
  .l-footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .l-footer .footer-guides ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
  .js .reveal, .js .l-stage .phone { opacity: 1 !important; transform: none; transition: none; }
  .js .l-stage .stage-left { transform: rotate(-7deg) translateX(60px); }
  .js .l-stage .stage-right { transform: rotate(7deg) translateX(-60px); }
  .ring-fg, .part-bar i, .sticky-cta, .for-cards a { transition: none; }
}
