/* =========================================================
   Button Petite website
   Colours, type and shapes follow the Button Petite brand kit
   (brand/tokens.json). Rules: rounded rectangles only (radius
   below half the height, so no pills), flat colour, no shadows,
   no gradients, no borders. 3D = a top face on a darker side face.
   ========================================================= */

@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 400; font-display: swap; src: url("assets/fonts/rubik-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 600; font-display: swap; src: url("assets/fonts/rubik-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("assets/fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("assets/fonts/rubik-latin-800-normal.woff2") format("woff2"); }

:root {
  /* white edge around app logos, for contrast with coloured backgrounds */
  --logo-edge: #ffffff;
  /* brand tokens */
  --ink: #141210;
  --paper: #fff6ea;
  --page: #f3ede4;
  --t06: rgba(20, 18, 16, .06);
  --t09: rgba(20, 18, 16, .09);
  --t15: rgba(20, 18, 16, .15);

  --mint: #7fe0a8;    --mint-ink: #0f5a3a;
  --sky: #7fb7ff;     --sky-ink: #14306b;
  --lilac: #b98cff;   --lilac-ink: #2b1360;
  --cobalt: #2747c9;  --cobalt-ink: #d8e4ff;  --cobalt-depth: #14306b;
  --yellow: #ffcc2e;  --yellow-ink: #a3300f;
  --orange: #ff8a3d;  --orange-ink: #4a1a05;
  --red: #ff5a3c;     --red-ink: #3b0d06;
  --purple: #3a1a6b;  --purple-ink: #ff8fc8;
  --pink: #ff8fc8;    --pink-ink: #6b0f3a;
  --black: #141210;   --black-ink: #ffd84a;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --soft: cubic-bezier(.22, 1, .36, 1);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --depth: 8px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.disp {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .88;
}
.meta {
  font-family: var(--body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.noscript { padding: 80px var(--gutter); }

/* ---------- colour pairs ---------- */
[data-pair="mint"]   { --bg: var(--mint);   --fg: var(--mint-ink);   --side: var(--mint-ink); }
[data-pair="sky"]    { --bg: var(--sky);    --fg: var(--sky-ink);    --side: var(--sky-ink); }
[data-pair="lilac"]  { --bg: var(--lilac);  --fg: var(--lilac-ink);  --side: var(--lilac-ink); }
[data-pair="cobalt"] { --bg: var(--cobalt); --fg: var(--cobalt-ink); --side: var(--cobalt-depth); }
[data-pair="yellow"] { --bg: var(--yellow); --fg: var(--yellow-ink); --side: var(--yellow-ink); }
[data-pair="orange"] { --bg: var(--orange); --fg: var(--orange-ink); --side: var(--orange-ink); }
[data-pair="red"]    { --bg: var(--red);    --fg: var(--red-ink);    --side: var(--yellow-ink); }
[data-pair="purple"] { --bg: var(--purple); --fg: var(--purple-ink); --side: var(--ink); }
[data-pair="pink"]   { --bg: var(--pink);   --fg: var(--pink-ink);   --side: var(--pink-ink); }
[data-pair="black"]  { --bg: var(--black);  --fg: var(--black-ink);  --side: #3a1a6b; }
[data-pair="paper"]  { --bg: var(--paper);  --fg: var(--ink);        --side: var(--yellow-ink); }

/* ---------- smiley faces ---------- */
.face { display: block; width: 100%; height: auto; overflow: visible; }
.face .eyes { transform-box: fill-box; transform-origin: center; transition: transform .12s var(--soft); }
.face.blink .eyes { transform: scaleY(.08); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  transition: background .3s var(--soft);
}
.top.is-scrolled { background: var(--page); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  background: var(--bg); display: grid; place-items: center;
  box-shadow: 0 5px 0 var(--side);
  transform: translateY(-3px);
  transition: transform .4s var(--spring);
}
.brand__mark .face { width: 64%; }
@media (hover: hover) { .brand:hover .brand__mark { transform: translateY(-5px) rotate(-6deg); } }
.brand__name {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 28px; line-height: .9; letter-spacing: -.005em;
}
.brand__tag {
  display: inline-block; background: var(--yellow); color: var(--yellow-ink);
  font-size: .62em; padding: 4px 7px 2px; border-radius: 8px;
  transform: rotate(-4deg); vertical-align: .18em; margin-left: 2px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 10px 12px; border-radius: var(--r-sm);
  transition: background .2s var(--soft);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--t06); }
.nav .nav__cta { background: var(--ink); color: var(--paper); }
.nav .nav__cta:hover { background: var(--ink); }

/* ---------- buttons (3D slab) ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-side: #3a1a6b; --depth: 8px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px; border: 0; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 var(--depth) 0 var(--btn-side);
  transform: translateY(calc(var(--depth) * -1));
  margin-top: var(--depth);
  transition: transform .35s var(--spring), box-shadow .35s var(--spring), background .2s var(--soft);
}
/* The slab moves down when pressed. This invisible strip keeps the pointer on the button,
   so one click is always enough. */
.btn::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--depth) * -1 - 4px); bottom: calc(var(--depth) * -1 - 4px); }
@media (hover: hover) {
  .btn:hover { transform: translateY(calc(var(--depth) * -1 - 2px)); box-shadow: 0 calc(var(--depth) + 2px) 0 var(--btn-side); }
}
.btn:active { transform: translateY(-1px); box-shadow: 0 1px 0 var(--btn-side); transition-duration: .08s; }
.btn svg { width: 22px; height: 22px; flex: none; }
.facts a { font-weight: 700; text-underline-offset: 3px; }
.btn--small { min-height: 46px; font-size: 20px; padding: 0 16px; --depth: 6px; border-radius: 14px; }
.btn--soft, .btn--soft:hover, .btn--soft:active { --btn-bg: var(--t09); --btn-fg: currentColor; box-shadow: none; transform: none; margin-top: 0; }
@media (hover: hover) { .btn--soft:hover { --btn-bg: var(--t15); } }
.btn--soft:active { transform: scale(.97); }
.btn[aria-disabled="true"] { --btn-bg: var(--t09); --btn-fg: currentColor; box-shadow: none; transform: none; margin-top: 0; opacity: .75; cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__title { font-size: clamp(54px, 9vw, 104px); }
.section__lead { max-width: 520px; font-size: 18px; font-weight: 600; }
.eyebrow { display: block; margin-bottom: 14px; opacity: .8; }

/* ---------- hero ---------- */
.hero { background: var(--cobalt); color: var(--cobalt-ink); overflow: hidden; transition: background-color .45s cubic-bezier(.22,1,.36,1), color .45s cubic-bezier(.22,1,.36,1); }
/* The big button switches the hero to the colour pairs of the apps:
   cobalt (Caffeine), red (Lafbekken), orange (NotNow), mint (Chores) */
.hero[data-scheme="red"]    { background: var(--red);    color: var(--red-ink); }
.hero[data-scheme="orange"] { background: var(--orange); color: var(--orange-ink); }
.hero[data-scheme="mint"]   { background: var(--mint);   color: var(--mint-ink); }
.hero[data-scheme="red"] .hero__text strong,
.hero[data-scheme="orange"] .hero__text strong,
.hero[data-scheme="mint"] .hero__text strong { color: inherit; }
.hero[data-scheme="red"] .btn--soft,
.hero[data-scheme="orange"] .btn--soft,
.hero[data-scheme="mint"] .btn--soft { --btn-bg: rgba(20, 18, 16, .12); --btn-fg: currentColor; }
.hero[data-scheme="mint"] .btn { --btn-bg: var(--mint-ink); --btn-fg: var(--mint); --btn-side: var(--ink); }
.hero[data-scheme="mint"] .btn--soft { --btn-bg: rgba(20, 18, 16, .12); --btn-fg: var(--mint-ink); }
.hero[data-scheme="orange"] .btn { --btn-bg: var(--orange-ink); --btn-fg: var(--orange); --btn-side: var(--ink); }
.hero[data-scheme="orange"] .btn--soft { --btn-fg: var(--orange-ink); }
.hero[data-scheme="red"] .btn--soft { --btn-fg: var(--red-ink); }
@media (prefers-reduced-motion: reduce) { .hero { transition: none; } }
.hero__in {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 9vw, 112px);
}
.hero__title { font-size: clamp(64px, 12vw, 168px); }
.hero__title .tag {
  display: inline-block; background: var(--yellow); color: var(--yellow-ink);
  padding: .06em .14em 0; border-radius: .14em; transform: rotate(-3deg);
}
.hero__text { font-size: clamp(18px, 2vw, 21px); font-weight: 600; margin: 24px 0 32px; max-width: 560px; }
.hero__text strong { font-weight: 800; color: #fff; }
.hero .btn { --btn-bg: var(--yellow); --btn-fg: var(--yellow-ink); --btn-side: var(--yellow-ink); }
.hero .btn--soft { --btn-bg: rgba(216, 228, 255, .16); --btn-fg: var(--cobalt-ink); }
.hero .btn--soft:hover { --btn-bg: rgba(216, 228, 255, .26); }
.hero__art { display: grid; place-items: center; }

/* big 3D button with face */
.bigbutton {
  --bg: var(--yellow); --side: var(--yellow-ink); --fg: var(--yellow-ink);
  position: relative; width: min(100%, 420px); aspect-ratio: 1 / .88;
  cursor: pointer; border: 0; background: none; padding: 0;
  transform: rotate(-6deg);
}
.bigbutton__side, .bigbutton__top {
  position: absolute; left: 0; right: 0; height: 86.4%; border-radius: 22%/25%;
}
.bigbutton__side { bottom: 0; background: var(--side); }
.bigbutton__top {
  top: 0; background: var(--bg); display: grid; place-items: center;
  transition: transform .45s var(--spring);
}
.bigbutton__top .face { width: 58%; }
@media (hover: hover) { .bigbutton:hover .bigbutton__top { transform: translateY(-2%); } }
.bigbutton.is-pressed .bigbutton__top { transform: translateY(11%); transition-duration: .1s; }
.bigbutton__hint { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%) rotate(6deg); white-space: nowrap; opacity: .75; }

/* ---------- app cards ---------- */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); border-radius: var(--r-lg);
  padding: 22px; min-height: 100%;
  box-shadow: 0 10px 0 var(--side);
  margin-bottom: 10px;
  transition: transform .4s var(--spring), box-shadow .4s var(--spring);
}
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.card__foot { position: relative; z-index: 2; }
.card { cursor: pointer; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 0 var(--side); }
}
.card { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.card__icon { display: block; width: 84px; height: 84px; min-width: 84px; max-width: 84px; border-radius: 22px; flex: none; background: var(--t09); object-fit: cover; box-shadow: 0 0 0 5px var(--logo-edge); margin: 5px; }
.card__top { min-width: 0; }
.card__name { min-width: 0; overflow-wrap: normal; hyphens: none; font-size: clamp(36px, 3.4vw, 46px) !important; }
@media (max-width: 640px) { .card__name { font-size: 40px !important; } }
.card__name { font-size: 46px; }
.card__tagline { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.card__text { font-size: 16px; font-weight: 400; margin-bottom: 18px; }
.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.card .btn, .apphero .btn, .panel--color .btn { --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-side: var(--ink); }
[data-pair="black"] .btn, [data-pair="purple"] .btn, [data-pair="cobalt"] .btn { --btn-side: rgba(0,0,0,.45); }
.card .btn--soft, .apphero .btn--soft, .card .btn[aria-disabled="true"], .apphero .btn[aria-disabled="true"] { --btn-bg: var(--t09); --btn-fg: currentColor; }
[data-pair="black"] .btn--soft, [data-pair="purple"] .btn--soft, [data-pair="cobalt"] .btn--soft, [data-pair="black"] .btn[aria-disabled="true"], [data-pair="purple"] .btn[aria-disabled="true"], [data-pair="cobalt"] .btn[aria-disabled="true"] { --btn-bg: rgba(255,255,255,.16); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 9px; background: var(--t09); white-space: nowrap;
}
[data-pair="black"] .chip, [data-pair="purple"] .chip, [data-pair="cobalt"] .chip { background: rgba(255,255,255,.14); }
.chip.status, [data-pair] .chip.status { background: var(--fg); color: var(--bg); }

/* ---------- coming soon ---------- */
.soon { background: var(--page); }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.soon-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.soon-card__tile {
  width: 88px; height: 88px; border-radius: 22px; background: var(--bg); display: grid; place-items: center;
  box-shadow: 0 7px 0 var(--side); transform: rotate(-4deg); margin-bottom: 8px;
}
.soon-card__tile .face { width: 70%; }
.soon-card__tile img { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; box-shadow: 0 0 0 5px var(--logo-edge); }
.soon-card__name { font-size: 36px; }
.soon-card p { font-size: 16px; }

/* ---------- ideas form ---------- */
.ideas { background: var(--yellow); color: var(--yellow-ink); }
.ideas__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ideas__title { font-size: clamp(58px, 9vw, 112px); }
.ideas__text { font-size: 18px; font-weight: 600; margin-top: 20px; max-width: 460px; }
.ideas__face { width: 140px; margin-top: 32px; transform: rotate(-8deg); }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 10px 0 var(--yellow-ink); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 800; font-size: 15px; }
.field .hint { font-size: 14px; opacity: .7; font-weight: 400; }
.input, .textarea, .select {
  width: 100%; border: 0; border-radius: 14px; background: var(--t06);
  padding: 14px 16px; font-size: 17px; font-weight: 600;
  transition: background .2s var(--soft);
}
.input:focus, .textarea:focus, .select:focus { background: var(--t09); outline: 3px solid var(--cobalt); outline-offset: 0; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.45; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.choices legend { margin-bottom: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 10px 14px; border-radius: 12px; background: var(--t06);
  font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s var(--soft), transform .3s var(--spring);
}
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.choice span:active { transform: scale(.95); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-weight: 700; min-height: 1.5em; }
.form__status.ok { color: var(--mint-ink); }
.form__status.err { color: #a3300f; }
.form .btn { width: 100%; }

/* ---------- app detail page ---------- */
.apphero { background: var(--bg); color: var(--fg); }
.apphero__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(40px, 7vw, 88px); }
.apphero__icon {
  --s: 184px;
  display: block; flex: none; box-sizing: border-box;
  width: var(--s); height: var(--s); min-width: var(--s); max-width: var(--s);
  padding: calc(var(--s) * .08);
  justify-self: start; align-self: center;
  border-radius: calc(var(--s) * .26);
  background: var(--logo-edge); box-shadow: 0 12px 0 var(--side);
  transform: rotate(-4deg);
}
.apphero__icon img {
  display: block; width: 100%; height: 100%; max-width: none;
  border-radius: calc(var(--s) * .2); object-fit: cover;
}
.apphero__name { font-size: clamp(64px, 11vw, 150px); }
.apphero__tagline { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; margin: 14px 0 20px; max-width: 640px; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; opacity: .85; }
.back:hover { opacity: 1; }
.back svg { width: 18px; height: 18px; transform: rotate(180deg); }

.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.detail > * { min-width: 0; }
.prose h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5vw, 56px); line-height: .9; margin: 0 0 16px; }
.prose h3 { font-weight: 800; font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul.dots { display: grid; gap: 10px; margin: 8px 0 0; }
.prose ul.dots li { position: relative; padding-left: 26px; }
.prose ul.dots li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent, var(--ink)); }
.prose a { font-weight: 700; text-underline-offset: 3px; }
.block + .block { margin-top: clamp(36px, 5vw, 56px); }

.prose p.lead { font-size: clamp(18px, 2vw, 21px); font-weight: 600; line-height: 1.45; }
.why { background: var(--bg); color: var(--fg); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 10px 0 var(--side); margin-bottom: 10px; }
.why h2 { margin-bottom: 12px; }
.why p { font-size: 18px; font-weight: 600; line-height: 1.5; }
.cando { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.cando li { background: var(--t06); border-radius: var(--r-md); padding: 18px; }
.cando__n {
  display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 8px; margin-bottom: 12px;
  border-radius: 10px; background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1;
}
.prose .cando h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: .95; margin: 0 0 8px; }
.prose .cando p { font-size: 16px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--t06); border-radius: var(--r-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 800; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 3.5px solid currentColor; border-bottom: 3.5px solid currentColor; border-radius: 2px;
  transform: rotate(45deg); transition: transform .35s var(--spring);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .faq__a { padding: 0 18px 18px; }

.side { display: grid; gap: 20px; position: sticky; top: 96px; }
.panel { border-radius: var(--r-lg); padding: 22px; background: var(--t06); }
.panel h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .9; margin-bottom: 10px; }
.panel p { font-size: 16px; }
.panel .btn { margin-top: 16px; }
.panel--color { background: var(--bg); color: var(--fg); }
.facts { display: grid; gap: 10px; margin-top: 6px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-radius: 10px; }
.facts dt { font-weight: 800; }
.facts dd { text-align: right; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; }
.shots img { width: 200px; flex: none; border-radius: 22px; scroll-snap-align: start; background: var(--t06); }
@media (max-width: 640px) { .shots img { width: 46vw; } }

/* legal pages */
.legal { max-width: 760px; }
.legal .updated { margin: 8px 0 28px; opacity: .7; }
.legal .summary { background: var(--bg, var(--t06)); color: var(--fg, inherit); border-radius: var(--r-lg); padding: 22px; margin-bottom: 32px; }
.legal .summary p { font-weight: 700; font-size: 19px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--black-ink); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 48px; }
.foot__brand { display: flex; gap: 16px; align-items: center; }
.foot__brand .brand__mark { width: 60px; height: 60px; border-radius: 17px; }
.foot__line { font-weight: 700; font-size: 17px; line-height: 1.35; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__cols h2 { margin-bottom: 12px; opacity: .7; }
.foot__cols li + li { margin-top: 8px; }
.foot__cols a { text-decoration: none; font-weight: 600; color: #fff6ea; }
.foot__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__small { grid-column: 1 / -1; font-size: 14px; color: #fff6ea; opacity: .6; padding-top: 8px; }

/* ---------- entrance motion ---------- */
.in { animation: in .6s var(--spring) both; }
@keyframes in { from { opacity: 0; transform: translateY(22px) scale(.96); } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .apphero__icon { --s: 150px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .bigbutton { width: min(62vw, 300px); }
  .bigbutton__hint { display: none; }
  .ideas__in, .detail { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__in { min-height: 64px; }
  .brand__name { font-size: 24px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; }
  .nav a:not(.nav__cta) { display: none; }
  .nav .nav__cta { font-size: 14px; padding: 9px 11px; }
  .apphero__in { grid-template-columns: 1fr; }
  .apphero__icon { --s: 112px; margin: 8px 0 8px 6px; box-shadow: 0 8px 0 var(--side); }
  .card__name { font-size: 40px; }
  .card__icon { width: 72px; height: 72px; min-width: 72px; max-width: 72px; border-radius: 19px; box-shadow: 0 0 0 4px var(--logo-edge); }
  .btn { font-size: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .ideas__face { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
