/* CKORA website. Warm "paper" palette built around the logo green. */
:root {
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --card: #fffdf8;
  --ink: #10241a;
  --body: #33443a;
  --muted: #66736a;
  --line: #ddd5c3;
  --green: #19a24a;
  --green-ink: #0f6e33;
  --green-tint: #dcf0e1;
  --deep: #0e2a1b;          /* principles band + buttons */
  --on-deep: #eef3ea;
  --amber: #e9a321;
  --amber-tint: #fbefd2;
  --red: #d9483b;
  --red-tint: #f9dfd9;
  --shadow: 0 1px 0 rgba(16, 36, 26, .04), 0 18px 40px -18px rgba(16, 36, 26, .22);
  --radius: 22px;
  --max: 1160px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1712;
    --paper-2: #141e17;
    --card: #18241c;
    --ink: #f1eee4;
    --body: #c8cfc5;
    --muted: #8e9a90;
    --line: #2a372e;
    --green: #34c26a;
    --green-ink: #7ddc9e;
    --green-tint: #1a3324;
    --deep: #142a1c;
    --on-deep: #e7ede3;
    --amber: #f0b440;
    --amber-tint: #3a2f16;
    --red: #ef6a5c;
    --red-tint: #3d1f1b;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .45em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-ink); margin: 0 0 18px;
}
.head { max-width: 720px; margin-bottom: 56px; }
.sub { color: var(--muted); font-size: 1.12rem; max-width: 56ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--card); padding: 8px 14px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(25, 162, 74, .7); }
.btn-green:hover { background: #15903f; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--body); font-size: .96rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { padding: 9px 18px; font-size: .92rem; color: var(--paper); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 120px; position: relative; overflow: clip; }
.hero::before { /* soft green glow behind the phone */
  content: ""; position: absolute; right: -10%; top: 4%; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 22%, transparent), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }
.flag { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(90deg, #169b62 33.3%, #fff 33.3% 66.6%, #ff883e 66.6%); box-shadow: 0 0 0 1px var(--line); }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--green); }
.scan-word {
  display: inline-block; position: relative; padding: 0 .12em; margin-left: -.12em;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--amber) 55%, transparent) 62% 92%, transparent 92%);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 30px; }
.hero-promises { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.hero-promises li { display: flex; align-items: center; gap: 8px; }
.hero-promises li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone {
  width: 300px; border-radius: 46px; padding: 11px; background: #0d1510; position: relative; z-index: 2;
  box-shadow: 0 0 0 1.5px #2a332d, 0 50px 80px -30px rgba(16, 36, 26, .55);
  transform: rotate(2.5deg);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 20px; background: #0d1510; z-index: 3;
}
.screen { background: #f7f8f5; border-radius: 36px; overflow: hidden; padding: 56px 16px 18px; color: #10241a; font-size: 14px; line-height: 1.4; }
.s-top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b766e; }
.s-x { font-size: .8rem; }
.s-name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 4px 0 14px; }
.dial {
  --v: 50; --c: var(--green);
  width: 136px; height: 136px; margin: 0 auto 14px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), #e4e7e1 0);
  display: grid; place-items: center;
}
.screen .dial { --c: #19a24a; }
.dial > div {
  width: 108px; height: 108px; border-radius: 50%; background: #f7f8f5;
  display: grid; place-content: center; text-align: center; line-height: 1;
}
.dial b { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--c); }
.dial small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b766e; margin-top: 4px; }
.s-chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pill { font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill.good { background: #dcf0e1; color: #0f6e33; }
.pill.warn { background: #fbefd2; color: #8a5a00; }
.s-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e6e8e2; border-radius: 12px; padding: 8px 12px; margin-bottom: 6px; font-size: .8rem; }
.tl { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 7px; }
.tl.g { background: #19a24a; } .tl.a { background: #e9a321; } .tl.r { background: #d9483b; }
.s-btn { margin-top: 12px; background: #10241a; color: #fff; text-align: center; border-radius: 14px; padding: 11px; font-weight: 700; font-size: .85rem; }

.barcode-tag {
  position: absolute; left: -9%; top: 36%; z-index: 3; width: 160px;
  background: #fffdf8; border: 1px solid #ddd5c3; border-radius: 16px; padding: 16px 16px 10px;
  box-shadow: var(--shadow); transform: rotate(-7deg); overflow: hidden;
}
.barcode-tag .bars {
  height: 64px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, #10241a 4px 5px, transparent 5px 8px,
    #10241a 8px 11px, transparent 11px 12px, #10241a 12px 13px, transparent 13px 16px,
    #10241a 16px 18px, transparent 18px 21px, #10241a 21px 22px, transparent 22px 23px);
}
.barcode-tag span { display: block; text-align: center; font: 600 .74rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; white-space: nowrap; color: #10241a; margin-top: 8px; }
.beam {
  position: absolute; left: 8px; right: 8px; top: 16px; height: 3px; border-radius: 3px;
  background: var(--red); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--red) 70%, transparent);
  animation: beam 2.4s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(62px); } }

.float-note {
  position: absolute; right: -2%; bottom: 13%; z-index: 3;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 16px;
  font-size: .88rem; box-shadow: var(--shadow); transform: rotate(4deg);
}
.float-note b { color: var(--green); font-family: var(--display); font-size: 1.05rem; margin-right: 2px; }
@media (prefers-color-scheme: dark) { .float-note b { color: #1a8a43; } }

/* ---------- label -> verdict ---------- */
.translate { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.compare figure { margin: 0; }
.compare figcaption { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.nlabel {
  background: #fff; color: #111; border: 2px solid #111; padding: 16px 18px;
  font: 14px/1.35 Helvetica, Arial, sans-serif; transform: rotate(-1.2deg); box-shadow: var(--shadow);
}
.nl-title { font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; border-bottom: 8px solid #111; padding-bottom: 4px; }
.nl-sub { font-size: .78rem; padding: 6px 0; border-bottom: 1px solid #111; }
.nlabel table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.nlabel td { padding: 5px 0; border-bottom: 1px solid #bbb; }
.nlabel td:last-child { text-align: right; font-weight: 700; }
.nlabel tr.ind td:first-child { padding-left: 14px; }
.nl-ing { font-size: .74rem; color: #333; margin: 10px 0 0; line-height: 1.45; }
.arrow { color: var(--green); width: 64px; }
.v-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.v-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.dial-sm { width: 84px; height: 84px; margin: 0; flex: none; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line) 0); }
.dial-sm > div { width: 66px; height: 66px; background: var(--card); }
.dial-sm b { font-size: 1.75rem; }
.v-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); line-height: 1.15; }
.v-grade { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.v-grade.bad { background: var(--red-tint); color: var(--red); }
.v-why { list-style: none; padding: 0; margin: 0 0 18px; }
.v-why li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; font-size: .96rem; color: var(--ink); }
.v-why li::before { position: absolute; left: 2px; top: 9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; line-height: 1; }
.v-why .minus::before { content: "–"; background: var(--red-tint); color: var(--red); }
.v-why .plus::before { content: "+"; background: var(--green-tint); color: var(--green-ink); }
.v-swap { background: var(--green-tint); border-radius: 14px; padding: 12px 14px; }
.v-swap > span { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.swap-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; color: var(--ink); }
.note { margin: 28px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

.score-badge {
  font-style: normal; font-family: var(--display); font-weight: 800; font-size: .9rem;
  min-width: 38px; text-align: center; padding: 3px 8px; border-radius: 9px; flex: none;
}
.score-badge.good { background: var(--green); color: #fff; }
.score-badge.warn { background: var(--amber); color: #3a2600; }
.score-badge.bad { background: var(--red); color: #fff; }

/* ---------- how ---------- */
.how { padding: 96px 0; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.how-steps li { padding: 8px 36px 8px 0; border-left: 0; }
.how-steps li + li { padding-left: 36px; border-left: 1px solid var(--line); }
.how-steps .n { font-family: var(--display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--green); display: block; margin-bottom: 18px; }
.how-steps h3 { font-size: 1.7rem; }
.how-steps p { color: var(--muted); margin: 0; }

/* ---------- features bento ---------- */
.features { padding-top: 40px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.tile p { color: var(--muted); font-size: .98rem; margin: 0; }
.t-trolley { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--deep); border-color: var(--deep); }
.t-trolley h3 { color: var(--on-deep); font-size: 1.9rem; }
.t-trolley p { color: color-mix(in srgb, var(--on-deep) 70%, transparent); }
.t-top { grid-column: span 2; }
.t-near { grid-column: span 2; }
.t-goals { grid-column: span 2; background: var(--green); border-color: var(--green); }
.t-goals h3 { color: #fff; }
.t-goals p { color: rgba(255, 255, 255, .85); }
.t-history { grid-column: span 2; }

.mini-trolley { background: #f7f8f5; border-radius: 16px; padding: 12px; color: #10241a; font-size: .86rem; }
.mt-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 800; font-size: 1.05rem; padding: 4px 4px 10px; }
.mt-head .score-badge { font-size: 1.15rem; padding: 4px 10px; }
.mt-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e6e8e2; border-radius: 10px; padding: 7px 10px; margin-top: 6px; }
.mt-row:last-child { box-shadow: 0 0 0 2px #d9483b inset; }

.mini-rank { list-style: none; padding: 0; margin: 20px 0 0; }
.mini-rank li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; }
.mini-rank li span { width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }
.mini-rank li em { margin-left: auto; }

.mini-search { margin-top: 20px; display: grid; gap: 8px; }
.ms-bar { background: var(--paper-2); border-radius: 999px; padding: 9px 14px; font-size: .88rem; color: var(--muted); }
.ms-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; }
.ms-row i { font-style: normal; color: var(--green); margin-right: 8px; }

.goal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.goal-chips span { font-size: .85rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.goal-chips span.on { background: #fff; color: #0f6e33; border-color: #fff; }

.mini-hist { margin-top: 20px; display: grid; gap: 8px; }
.mini-hist div { display: flex; justify-content: space-between; background: var(--paper-2); border-radius: 10px; padding: 9px 12px; font-size: .88rem; }
.mini-hist b { color: var(--ink); }
.mini-hist span { color: var(--muted); }

/* ---------- principles ---------- */
.principles { background: var(--deep); color: var(--on-deep); }
.principles h2 { color: var(--on-deep); }
.principles .kicker { color: #6fd393; }
.rules { list-style: none; padding: 0; margin: 0; counter-reset: r; border-top: 1px solid rgba(255, 255, 255, .14); }
.rules li {
  counter-increment: r; display: grid; grid-template-columns: 70px 1fr 1.1fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.rules li::before { content: "0" counter(r); font-family: var(--display); font-weight: 700; color: #6fd393; font-size: 1rem; }
.rules b { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.rules span { color: rgba(238, 243, 234, .72); font-size: 1.02rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 1.12rem; }
.about-copy strong { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 0; border-top: 2px solid var(--ink); }
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); line-height: 1.25; }

/* ---------- download ---------- */
.download { padding: 0 0 112px; }
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: var(--green); color: #effaf2; border-radius: 32px; padding: 72px 32px;
}
.cta::before, .cta::after { /* big faint rings echoing the score dial */
  content: ""; position: absolute; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); pointer-events: none;
}
.cta::before { width: 460px; height: 460px; left: -160px; top: -200px; }
.cta::after { width: 380px; height: 380px; right: -120px; bottom: -220px; }
.cta > * { position: relative; }
.cta-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); }
.cta h2 { color: #fff; }
.cta p { max-width: 50ch; margin: 0 auto 32px; font-size: 1.1rem; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store {
  display: flex; align-items: center; gap: 12px; background: #0d1510; color: #fff; text-decoration: none;
  border-radius: 14px; padding: 11px 20px; min-width: 186px; text-align: left; transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .7rem; opacity: .75; line-height: 1.15; }
.store b { display: block; font-size: 1.05rem; line-height: 1.2; }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.mail {
  display: inline-block; margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--green); padding-bottom: 2px; word-break: break-all;
}
.mail:hover { color: var(--green-ink); }
.contact-cards { display: grid; gap: 14px; }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.c-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.c-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 44px; font-size: .92rem; color: var(--muted); background: var(--paper-2); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer a { color: var(--body); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.legal-line { margin: 28px 0 0; font-size: .82rem; line-height: 1.65; }

/* ---------- reveal on scroll ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam { animation: none; top: 46px; }
  .btn, .store { transition: none; }
}

/* ---------- legal pages (privacy) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .back { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal .intro { color: var(--muted); font-size: 1.12rem; margin-bottom: 8px; }
.legal .legal-meta { color: var(--muted); font-size: .9rem; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 8px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal p, .legal li { color: var(--body); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  section { padding: 84px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 560px; }
  .compare { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .arrow { transform: rotate(90deg); margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-trolley { grid-column: span 2; }
  .t-top, .t-near, .t-goals, .t-history { grid-column: span 1; }
  .rules li { grid-template-columns: 50px 1fr; }
  .rules span { grid-column: 2; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { height: 64px; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; border-bottom: 0; padding: 13px; }
  .menu-btn { display: block; }
  .hero-visual { min-height: 520px; }
  .phone { width: 262px; }
  .barcode-tag { width: 136px; left: -2%; top: 34%; padding: 10px 10px 6px; }
  .barcode-tag span { font-size: .6rem; letter-spacing: .02em; }
  .barcode-tag .bars { height: 48px; }
  @keyframes beam { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(46px); } }
  .float-note { right: 0; bottom: -1%; font-size: .8rem; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-steps li, .how-steps li + li { padding: 0; border-left: 0; }
  .how-steps .n { font-size: 3.2rem; margin-bottom: 10px; }
  .bento { grid-template-columns: 1fr; }
  .t-trolley, .t-top, .t-near, .t-goals, .t-history { grid-column: span 1; }
  .t-trolley { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .rules li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .rules span { grid-column: 1; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cta { padding: 56px 20px; border-radius: 24px; }
  .store { min-width: 0; flex: 1 1 180px; }
}
