/*
  Fold: language learning app landing page (Screenery template)
  The page is a sheet of warm washi with folded coloured papers on it: faceted SVG, light from the top-left, crisp creases.
  Contents: 1 tokens · 2 base and browser surfaces · 3 buttons and fields · 4 header · 5 hero and the phone lesson
            6 path map · 7 how it works · 8 zoo · 9 pricing · 10 download · 11 faq, footer · 12 motion · 13 narrow screens
*/

/* ---------- 1. Tokens ---------- */
:root {
  /* Ground: warm white washi and its folds */
  --washi: #f6f1e7;
  --paper-l: #fbf8f1;
  --paper-m: #efe8da;
  --paper-d: #e6dccb;
  --paper-dd: #cfc2ab;
  --crease: rgb(35 33 31 / .14);

  /* Ink */
  --ink: #23211f;
  --ink-m: #3b3835;
  --ink-l: #57524c;
  --ink-soft: #5a544d;      /* secondary text, 6.6:1 on washi */

  /* Coloured papers, each with a lit, mid and shaded face */
  --red-l: #ec6c52; --red-m: #d8452f; --red-d: #b23523; --red-dd: #8c2618;
  --orange-l: #f2a25a; --orange-m: #e3823a; --orange-d: #bf6324;
  --green-l: #93bb8c; --green-m: #6c9a68; --green-d: #4d7a4b;
  --blue-l: #7d9cc9; --blue-m: #4f73a8; --blue-d: #34548a;
  --mustard-l: #f0cb6c; --mustard-m: #ddaa3e; --mustard-d: #b8862a;
  --red-text: #b02f1c;      /* red on washi for small text, 5.5:1 */
  --green-text: #3f6b3d;

  /* Type */
  --font: "Kumbh Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Kumbh Sans", sans-serif;

  /* Space and shape */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 5rem; --s9: 7rem;
  --r-s: 6px; --r-m: 12px; --r-l: 22px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;

  /* Folded paper depth: a short offset shadow with soft blur */
  --lift: 0 1px 1px rgb(35 33 31 / .08), 0 6px 18px -8px rgb(35 33 31 / .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--red-d) var(--paper-m); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--washi); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  accent-color: var(--red-m); caret-color: var(--red-m);
}
::selection { background: var(--red-m); color: var(--paper-l); }
:focus-visible { outline: 2.5px solid var(--blue-d); outline-offset: 3px; border-radius: 4px; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
[lang="ja"] { font-family: var(--jp); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -4rem; z-index: 50; background: var(--ink); color: var(--paper-l); padding: var(--s3) var(--s4); border-radius: var(--r-s); }
.skip:focus { top: var(--s4); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-lede { max-width: 62ch; color: var(--ink-soft); margin-top: var(--s4); }
.fine { font-size: .875rem; color: var(--ink-soft); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- 3. Buttons and fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.35rem; border-radius: var(--r-s); border: 1.5px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-red { background: var(--red-d); color: #fff; }
.btn-red:hover { background: var(--red-dd); }
.btn-ink { background: var(--ink); color: var(--paper-l); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 1rem; font-size: .9375rem; }
.btn-wide { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }

/* ---------- 4. Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s6);
  padding: var(--s3) var(--gutter); background: color-mix(in srgb, var(--washi) 94%, transparent);
  border-bottom: 1px solid var(--crease);
}
.logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.top nav { display: flex; gap: var(--s5); margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .6rem 0; }
.top nav a:hover { text-decoration: underline; }

/* ---------- 5. Hero and the phone ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7);
  align-items: center; max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter) var(--s8);
  isolation: isolate;
}
.hero-ground { position: absolute; inset: 0 calc(50% - 50vw); width: 100vw; height: 100%; z-index: -1; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.04em; max-width: 11ch; }
.lede { margin-top: var(--s5); max-width: 52ch; font-size: 1.15rem; color: var(--ink-m); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0 var(--s4); }

.phone {
  justify-self: center; width: min(360px, 100%); aspect-ratio: 9 / 18.5; padding: 12px;
  border-radius: 46px; background: linear-gradient(145deg, #3a3633, var(--ink) 40%);
  box-shadow: 0 2px 3px rgb(35 33 31 / .2), 0 30px 60px -24px rgb(35 33 31 / .55);
  position: relative;
}
.phone::before { /* speaker slot */
  content: ""; position: absolute; top: 22px; left: 50%; width: 84px; height: 22px; translate: -50% 0;
  background: var(--ink); border-radius: 12px; z-index: 2;
}
.phone-screen {
  height: 100%; border-radius: 36px; background: var(--paper-l); overflow: hidden;
  display: flex; flex-direction: column; padding: 52px 18px 18px; gap: 10px;
}
.app-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font-size: .8125rem; font-weight: 700; }
.app-title { color: var(--ink); }
.xp { background: var(--mustard-l); padding: .2rem .55rem; border-radius: 999px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.folds { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; color: var(--ink-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.fold-dots { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.fold-dots li { width: 16px; height: 16px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--paper-d); transition: background-color .4s var(--ease); }
.fold-dots li.on { background: var(--red-m); }

.crane { width: 100%; height: auto; max-height: 150px; flex: none; filter: drop-shadow(1px 3px 3px rgb(35 33 31 / .18)); }
.crane .f { stroke: var(--red-dd); stroke-width: .6; stroke-linejoin: round; }

.view { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.view[hidden] { display: none; }
.card {
  position: relative; display: block; width: 100%; flex: 1; min-height: 120px; max-height: 170px;
  border: 0; padding: 0; background: none; cursor: pointer; perspective: 800px; font: inherit; color: inherit;
}
.card-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--r-m); background: var(--washi); border: 1.5px solid var(--paper-dd);
  backface-visibility: hidden; transition: transform .6s var(--ease); padding: var(--s3);
}
.card-back { transform: rotateY(180deg); background: var(--paper-m); }
.card[aria-pressed="true"] .card-front { transform: rotateY(-180deg); }
.card[aria-pressed="true"] .card-back { transform: rotateY(0); }
.kana { font-size: 4.2rem; line-height: 1; font-weight: 600; }
.card-tip { display: inline-flex; gap: .35rem; align-items: center; font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.hint { font-size: .875rem; text-align: center; color: var(--ink-m); max-width: 26ch; }
.romaji { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--red-text); }
.word { font-size: .8125rem; color: var(--ink-m); text-align: center; }
.prompt { font-size: .8125rem; font-weight: 700; color: var(--ink-soft); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice {
  min-height: 46px; border-radius: var(--r-s); border: 1.5px solid var(--paper-dd); background: var(--washi);
  font: 700 1.05rem/1 var(--font); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, transform .3s var(--ease);
}
.choice:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.choice:disabled { cursor: default; color: var(--ink-soft); }
.choice.right { background: var(--green-l); border-color: var(--green-d); color: var(--ink); }
.choice.missed { background: var(--paper-m); border-color: var(--paper-dd); text-decoration: line-through; text-decoration-color: var(--ink-soft); }
.feedback { font-size: .8125rem; min-height: 2.6em; color: var(--ink-m); line-height: 1.35; }
.feedback.good { color: var(--green-text); font-weight: 700; }
.next { min-height: 46px; }

.done-title { font-size: 1.5rem; }
.done-sub { font-size: .9rem; color: var(--ink-m); }
.xp-list { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 4px 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.xp-list dt { color: var(--ink-m); }
.xp-list dd { margin: 0; font-weight: 700; text-align: right; }
.xp-list .total { border-top: 1px solid var(--paper-dd); padding-top: 6px; font-weight: 800; color: var(--ink); }
.view-done .btn, .view-empty .btn, .view-error .btn { margin-top: auto; }

/* ---------- 6. Path map ---------- */
.path { padding: var(--s8) 0; background: var(--paper-m); border-block: 1px solid var(--crease); }
.path-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: end; }
.path-head p { color: var(--ink-soft); max-width: 48ch; }
.map { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--s3); position: relative; }
.map::before { /* the dashed path the lessons sit on */
  content: ""; position: absolute; left: 6%; right: 6%; top: 46px; border-top: 2px dashed var(--paper-dd); z-index: 0;
}
.map li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .8125rem; color: var(--ink-soft); }
.map li b { color: var(--ink); font-size: .9375rem; margin-top: var(--s2); }
.map svg { width: 92px; height: 92px; --k: var(--ink); }
.map .sheet { --l: var(--paper-l); --m: var(--paper-d); --crease: rgb(35 33 31 / .22); filter: drop-shadow(0 1px 1px rgb(35 33 31 / .15)); }
.map .beast { display: none; filter: drop-shadow(1px 3px 2px rgb(35 33 31 / .2)); }
.map li.done .beast, .map li.now .beast { display: block; }
.map li.done .sheet, .map li.now .sheet { display: none; }
.map li.now .beast { animation: bob 3.2s var(--ease) infinite alternate; }
.map li.now b::after { content: " · now"; color: var(--red-text); }
.map li.done b::after { content: " · folded"; color: var(--green-text); font-weight: 600; }
.map li.fresh .beast { animation: unfold .9s var(--ease); }

/* ---------- 7. How it works ---------- */
.how { padding: var(--s9) 0 var(--s8); }
.diagram { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); counter-reset: step; }
.diagram li { counter-increment: step; position: relative; padding-top: var(--s2); }
.diagram svg { width: 100%; max-width: 260px; height: auto; display: block; margin-bottom: var(--s4); }
.diagram h3::before { content: counter(step) ". "; color: var(--red-text); }
.diagram p { margin-top: var(--s2); color: var(--ink-soft); max-width: 40ch; }
.dia-kana { font: 600 40px var(--jp); fill: var(--ink); }
.dia-txt { font: 700 15px var(--font); fill: var(--ink); }

/* ---------- 8. Paper zoo ---------- */
.zoo { padding: var(--s8) 0; background: linear-gradient(180deg, var(--washi), var(--paper-m)); }
.shelf { margin-top: var(--s7); }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-bottom: var(--s3); border-bottom: 2px solid var(--ink); }
.shelf-head p { color: var(--ink-soft); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.shelf-row { list-style: none; margin: 0; padding: var(--s5) 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--s4); }
.shelf-row li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; --k: var(--ink); }
.shelf-row svg { width: 100%; max-width: 96px; aspect-ratio: 1; filter: drop-shadow(1px 4px 3px rgb(35 33 31 / .18)); transition: transform .5s var(--ease); }
.shelf-row li:hover svg { transform: translateY(-4px) rotate(-3deg); }
.shelf-row b { font-size: .9375rem; margin-top: var(--s2); }
.shelf-row span { font-size: .875rem; color: var(--ink-soft); }
.shelf-row.locked li { --l: var(--paper-l); --m: var(--paper-d); --crease: rgb(35 33 31 / .22); }
.shelf-row.locked svg { filter: none; opacity: .95; }

/* ---------- 9. Pricing ---------- */
.pricing { padding: var(--s9) 0 var(--s8); }
.pricing-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-m); border: 1px solid var(--paper-dd); }
.billing label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9375rem; cursor: pointer; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label:has(input:checked) { background: var(--ink); color: var(--paper-l); }
.billing label:has(input:focus-visible) { outline: 2.5px solid var(--blue-d); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6);
  background: var(--paper-l); border: 1px solid var(--paper-dd); border-radius: var(--r-s);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); /* a dog-eared corner */
}
.plan::after { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: linear-gradient(225deg, transparent 50%, var(--paper-d) 50%); }
.plan-plus { background: var(--ink); color: var(--paper-l); border-color: var(--ink); }
.plan-plus::after { background: linear-gradient(225deg, transparent 50%, var(--red-m) 50%); }
.plan-plus .plan-note, .plan-plus .price span { color: #d9d1c4; }
.plan-plus .ic { color: var(--red-l); }
.price { font-variant-numeric: tabular-nums; }
.price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price span, .plan-note { color: var(--ink-soft); font-size: .9375rem; }
.plan ul { list-style: none; margin: var(--s3) 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .975rem; }
.plan li .ic { margin-top: .2em; color: var(--red-d); }
.plan .btn { margin-top: auto; }
.plan-plus .btn-red { background: var(--red-l); color: var(--ink); }
.plan-plus .btn-red:hover { background: var(--orange-l); }

/* ---------- 10. Download ---------- */
.download { padding: var(--s8) 0; background: var(--paper-m); border-block: 1px solid var(--crease); }
.dl-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: var(--s7); align-items: start; }
.dl-copy p { margin-top: var(--s4); max-width: 48ch; color: var(--ink-m); }
.dl-crane { width: min(320px, 70%); margin-top: var(--s6); filter: drop-shadow(2px 6px 5px rgb(35 33 31 / .2)); }
.dl-form { background: var(--paper-l); border: 1px solid var(--paper-dd); border-radius: var(--r-m); padding: var(--s6); display: grid; gap: var(--s5); box-shadow: var(--lift); }
.field { margin: 0; padding: 0; border: 0; display: grid; gap: var(--s2); min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: .9375rem; padding: 0; margin-bottom: var(--s2); }
.field input[type="email"] {
  min-height: 50px; padding: 0 var(--s4); border-radius: var(--r-s); border: 1.5px solid var(--paper-dd);
  background: var(--washi); font: 500 1rem var(--font); color: var(--ink); width: 100%;
}
.field input::placeholder { color: var(--ink-soft); }
.field input[type="email"]:focus-visible { outline: 2.5px solid var(--blue-d); outline-offset: 1px; border-color: var(--blue-d); }
.field.invalid input[type="email"] { border-color: var(--red-text); }
.err { color: var(--red-text); font-size: .875rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1.5px solid var(--paper-dd); border-radius: var(--r-s); background: var(--washi); font-weight: 600; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper-l); border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2.5px solid var(--blue-d); outline-offset: 2px; }
.field.invalid .chip { border-color: var(--red-text); }
.form-msg { border-radius: var(--r-s); padding: var(--s4); font-size: .9375rem; display: flex; gap: var(--s3); align-items: flex-start; }
.form-msg.ok { background: var(--green-l); color: var(--ink); }
.form-msg.bad { background: #f6d6cd; color: var(--ink); }
.form-msg .btn { min-height: 44px; margin-left: auto; flex: none; }
.spinner { width: 18px; height: 18px; animation: spin .9s linear infinite; }

/* ---------- 11. FAQ, footer ---------- */
.faq { padding: var(--s9) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s7); }
.qs details { border-bottom: 1px solid var(--paper-dd); }
.qs details:first-child { border-top: 1px solid var(--paper-dd); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); align-items: center; padding: var(--s5) 0; font-weight: 700; font-size: 1.075rem; min-height: 44px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; width: 14px; height: 14px; flex: none; background: var(--red-m); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .4s var(--ease); }
.qs details[open] summary::after { transform: rotate(180deg); }
.qs details p { padding: 0 0 var(--s5); color: var(--ink-m); max-width: 64ch; }
.foot { background: var(--ink); color: #e9e2d6; padding: var(--s7) 0; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4) var(--s6); align-items: center; }
.foot .logo { color: var(--paper-l); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s4); }
.foot nav a { font-size: .9375rem; padding: .5rem 0; }
.foot .fine { grid-column: 1 / -1; color: #c8bfb1; }

/* ---------- 12. Motion ---------- */
@keyframes bob { to { translate: 0 -5px; rotate: -2deg; } }
@keyframes unfold { from { transform: scale(.4) rotate(-30deg); opacity: .2; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes nudge { 0%, 100% { translate: 0; } 30% { translate: -4px; } 60% { translate: 3px; } }
.choice.wrong { animation: nudge .4s var(--ease); background: #f6d6cd; border-color: var(--red-text); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}

/* ---------- 13. Narrow screens ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: var(--s7); }
  .hero h1 { max-width: 14ch; }
  .map { grid-template-columns: repeat(4, 1fr); row-gap: var(--s6); }
  .map::before { display: none; }
  .shelf-row { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .dl-grid, .faq-grid, .path-head { grid-template-columns: 1fr; }
  .dl-crane { display: none; }
  .diagram { grid-template-columns: 1fr; }
  .diagram li { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 0 var(--s5); align-items: center; }
  .diagram svg { grid-row: span 2; margin: 0; }
}
@media (max-width: 720px) {
  .top nav { display: none; }
  .top { justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: var(--s7); }
  .lede { font-size: 1.05rem; }
  .map svg { width: 68px; height: 68px; }
  .map li span { font-size: .75rem; }
  .shelf-row { gap: var(--s3); }
  .shelf-row span { font-size: .8125rem; }
  .diagram li { grid-template-columns: 1fr; }
  .diagram svg { max-width: 200px; grid-row: auto; margin-bottom: var(--s3); }
  .dl-form { padding: var(--s5); }
  .billing { width: 100%; }
  .billing label { flex: 1; justify-content: center; padding: 0 .6rem; font-size: .875rem; }
  .phone { width: min(340px, 100%); }
}
