/* potnote.com: the recipe-box look of Landing.dc.html (cards 3ak, 3l1–3l11). Tokens are the board's `T`, named as
   there and in design/README.md; sizes are the prototype's inline styles. One stylesheet for the pages Astro builds
   and the few the Worker writes (src/page.js). The CSP allows no inline style, so every look is a class here. */

@font-face { font-family: 'Young Serif'; src: url(/fonts/young_serif.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url(/fonts/atkinson_regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url(/fonts/atkinson_medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url(/fonts/atkinson_semibold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url(/fonts/atkinson_bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url(/fonts/atkinson_extrabold.ttf) format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url(/fonts/dm_mono_regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url(/fonts/dm_mono_medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --bg: oklch(0.962 0.018 85); --card: oklch(0.993 0.006 85); --s1: oklch(0.93 0.022 82);
  --ink: oklch(0.22 0.03 40); --ink2: oklch(0.45 0.03 45); --bd: oklch(0.22 0.03 40); --sh: oklch(0.22 0.03 40);
  --line: oklch(0.85 0.025 75); --accent: oklch(0.68 0.17 35); --onAccent: oklch(0.2 0.03 40);
  --mustard: oklch(0.85 0.13 88); --herb: oklch(0.66 0.14 150); --danger: oklch(0.53 0.19 25);
  --d1: oklch(0.93 0.04 45); --d2: oklch(0.93 0.04 150); --d3: oklch(0.93 0.035 235); --d4: oklch(0.94 0.06 92);
  --ph1: oklch(0.86 0.08 35); --ph2: oklch(0.82 0.09 35);
  --serif: 'Young Serif', Georgia, serif; --sans: 'Atkinson Hyperlegible Next', system-ui, sans-serif; --mono: 'DM Mono', ui-monospace, monospace;
  --pad: clamp(16px, 5cqi, 64px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: oklch(0.19 0.014 50); --card: oklch(0.235 0.016 50); --s1: oklch(0.22 0.016 50);
    --ink: oklch(0.95 0.015 85); --ink2: oklch(0.76 0.02 75); --bd: oklch(0.66 0.02 70); --sh: oklch(0.08 0.01 50);
    --line: oklch(0.36 0.018 50); --accent: oklch(0.7 0.16 35); --onAccent: oklch(0.18 0.03 40);
    --mustard: oklch(0.84 0.13 88); --herb: oklch(0.77 0.13 150); --danger: oklch(0.72 0.16 25);
    --d1: oklch(0.24 0.03 40); --d2: oklch(0.23 0.025 150); --d3: oklch(0.235 0.025 235); --d4: oklch(0.25 0.04 85);
    --ph1: oklch(0.36 0.06 35); --ph2: oklch(0.32 0.06 35);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: oklch(0.19 0.014 50); --card: oklch(0.235 0.016 50); --s1: oklch(0.22 0.016 50);
  --ink: oklch(0.95 0.015 85); --ink2: oklch(0.76 0.02 75); --bd: oklch(0.66 0.02 70); --sh: oklch(0.08 0.01 50);
  --line: oklch(0.36 0.018 50); --accent: oklch(0.7 0.16 35); --onAccent: oklch(0.18 0.03 40);
  --mustard: oklch(0.84 0.13 88); --herb: oklch(0.77 0.13 150); --danger: oklch(0.72 0.16 25);
  --d1: oklch(0.24 0.03 40); --d2: oklch(0.23 0.025 150); --d3: oklch(0.235 0.025 235); --d4: oklch(0.25 0.04 85);
  --ph1: oklch(0.36 0.06 35); --ph2: oklch(0.32 0.06 35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.5 var(--sans); }
.site { container-type: inline-size; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; outline: none; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { opacity: .75; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; hyphens: auto; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input::placeholder, textarea::placeholder { color: var(--ink2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { flex: none; vertical-align: middle; }
.mono { font-family: var(--mono); }
.soft { color: var(--ink2); }
.herb { color: var(--herb); }
.danger-text { color: var(--danger); }
.accent-text { color: var(--accent); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); font-weight: 700; }
.skip:focus { top: 8px; }
.mono-label { font: 500 12px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.mono-label.small { font-size: 11px; }
.mono-kicker { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mono-note { font: 500 12px/1.5 var(--mono); color: var(--ink2); letter-spacing: .04em; }
.mono-note.center { text-align: center; }
.lead { max-width: 500px; font: 500 18px/1.55 var(--sans); color: var(--ink2); text-wrap: pretty; }
.wordmark { display: inline-flex; align-items: center; gap: .22em; vertical-align: middle; font-family: var(--serif); letter-spacing: -0.03em; }
.pot { flex: none; }

/* Buttons: an ink outline and a hard shadow, never a blur; pressed moves into its shadow. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--bd); border-radius: 12px; font: 800 15px/1.1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--sh); text-align: center; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sh); }
.btn:hover { opacity: 1; filter: brightness(1.03); }
.btn.accent { background: var(--accent); color: var(--onAccent); }
.btn.danger { background: var(--danger); color: #fff; min-height: 54px; padding: 0 20px; border-radius: 14px; font-size: 16px; align-self: flex-start; }
.btn.ink { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: none; border-radius: 14px; font-weight: 700; min-height: 48px; align-self: flex-start; }
.btn.small { min-height: 44px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.big { min-height: 58px; border-radius: 14px; font-size: 17px; width: 100%; }
.btn.danger.big { align-self: stretch; }
.btn.wide { width: 100%; min-height: 56px; border-radius: 14px; font-size: 17px; margin-top: 12px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.link { border: 0; background: transparent; color: var(--ink); text-decoration: underline; font: 700 14px/1.3 var(--sans); cursor: pointer; padding: 12px 0; min-height: 44px; }
.underline { font: 700 16px/1.3 var(--sans); text-decoration: underline; }
.spinner { display: inline-block; width: 18px; height: 18px; border-radius: 9px; border: 2.5px solid currentColor; border-right-color: transparent; animation: pn-spin .8s linear infinite; flex: none; }
@keyframes pn-spin { to { transform: rotate(360deg); } }
@keyframes pn-pulse { 50% { opacity: .35; } }
.chip-btn, .icon-btn { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; font: 700 14px/1 var(--sans); }
.icon-btn { width: 44px; justify-content: center; padding: 0; }
.when-dark { display: none; }
:root[data-theme='dark'] .when-dark { display: inline; }
:root[data-theme='dark'] .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .when-dark { display: inline; }
  :root:not([data-theme='light']) .when-light { display: none; }
}

/* Header */
.top { position: relative; z-index: 45; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px var(--pad); border-bottom: 2px solid var(--bd); }
.home { font: 400 30px/1 var(--serif); text-decoration: none; margin-right: auto; }
.sections { display: flex; gap: 18px; flex-wrap: wrap; font: 700 15px/1 var(--sans); }
.sections a { text-decoration: none; padding: 12px 0; }

.get-app { font-size: 15px; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-pop { position: absolute; top: 50px; right: 0; width: 300px; max-width: 86vw; padding: 10px; border: 2px solid var(--bd); border-radius: 14px; background: var(--card); box-shadow: 4px 4px 0 var(--sh); display: flex; flex-direction: column; gap: 8px; }
.lang-search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 2px solid var(--bd); border-radius: 10px; background: var(--bg); color: var(--ink2); }
.lang-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); }
.lang-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; }
.lang-list a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--accent); }
.lang-list a[aria-current] { background: var(--s1); }
.lang-list a > span { flex: 1; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.lang-list b { font: 700 15px/1.1 var(--sans); }
.lang-list small { font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.lang-none { padding: 10px 8px; font-size: 14px; color: var(--ink2); }
.lang-missing { padding: 10px 8px 4px; border-top: 1.5px dashed var(--line); font: 700 13px/1.3 var(--sans); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding: clamp(36px, 6cqi, 88px) var(--pad) clamp(48px, 7cqi, 96px); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font: 400 clamp(54px, 8.6cqi, 118px)/0.92 var(--serif); letter-spacing: -0.045em; text-wrap: balance; }
.hero .lead { font-size: clamp(18px, 1.7cqi, 21px); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.get .badges { justify-content: center; }
.badge { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 20px 8px 14px; border: 2px solid var(--bd); border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 3px 3px 0 var(--accent); text-decoration: none; text-align: left; }
.badge span { display: flex; flex-direction: column; gap: 3px; }
.badge small { font: 500 11px/1 var(--sans); }
.badge b { font: 800 19px/1 var(--sans); }
.hero-art { display: flex; flex-direction: column; gap: 14px; }
.hero-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.blog { position: relative; height: 520px; border: 2px solid var(--bd); border-radius: 12px; background: var(--card); overflow: hidden; }
.blog-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-bottom: 2px solid var(--bd); background: var(--s1); }
.blog-bar span { width: 8px; height: 8px; border-radius: 4px; background: var(--line); }
.blog-bar b { flex: 1; margin-left: 6px; font: 400 10px/1 var(--mono); color: var(--ink2); white-space: nowrap; overflow: hidden; }
.blog-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; opacity: .75; }
.bl { height: 6px; border-radius: 3px; background: var(--line); }
.bl.tall { height: 14px; }
.gap { height: 6px; }
.w96 { width: 96%; } .w95 { width: 95%; } .w93 { width: 93%; } .w92 { width: 92%; } .w90 { width: 90%; } .w88 { width: 88%; } .w85 { width: 85%; } .w84 { width: 84%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.blog-ad { height: 56px; margin: 6px 0; border: 1.5px dashed var(--ink2); border-radius: 6px; background: repeating-linear-gradient(135deg, var(--s1) 0 6px, transparent 6px 12px); display: flex; align-items: center; justify-content: center; font: 500 11px/1 var(--mono); color: var(--ink2); }
.blog-ad.big { height: 70px; }
.blog-pop { position: absolute; left: 12px; right: 12px; top: 150px; padding: 12px; border: 2px solid var(--ink2); border-radius: 10px; background: var(--card); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.blog-pop span { display: flex; justify-content: space-between; align-items: center; font: 700 12px/1.2 var(--sans); color: var(--ink2); }
.blog-pop i { height: 22px; border-radius: 5px; border: 1.5px solid var(--line); }
.blog-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, var(--card) 70%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.hero-card { margin-top: 36px; transform: rotate(1.5deg); border: 2px solid var(--bd); border-radius: 6px 6px 14px 14px; background: var(--card); box-shadow: 5px 5px 0 var(--sh); overflow: hidden; }
.stripes { height: 96px; border-bottom: 2px solid var(--bd); background: repeating-linear-gradient(135deg, var(--ph1) 0 8px, var(--ph2) 8px 16px); }
.hc-head { padding: 12px 12px 6px; border-bottom: 2px solid var(--accent); display: flex; flex-direction: column; gap: 6px; }
.hc-head b { font: 400 20px/1.05 var(--serif); }
.hc-head span { font: 500 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.hc-body { padding: 4px 12px 10px; display: flex; flex-direction: column; }
.hc-ing { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1.5px dashed var(--line); font: 500 13px/1.25 var(--sans); }
.hc-ing .mono { flex: none; width: 48px; font-size: 12px; }
.hc-method { padding: 10px 0 4px; font: 400 14px/1 var(--serif); }
.hc-step { display: flex; gap: 8px; font: 500 12.5px/1.35 var(--sans); }
.hc-step b { font: 400 15px/1 var(--serif); color: var(--accent); }
.scissors { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 46px; height: 46px; border: 2px solid var(--bd); border-radius: 23px; background: var(--mustard); color: var(--onAccent); display: flex; align-items: center; justify-content: center; box-shadow: 3px 3px 0 var(--sh); }

/* Stamps: the rubber-stamp look, a little turned. */
.stamp { align-self: flex-start; display: inline-block; transform: rotate(-3deg); padding: 6px 10px; border: 2.5px solid currentColor; border-radius: 8px; font: 500 12.5px/1.1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.stamp.danger { color: var(--danger); }
.stamp.accent { color: var(--accent); }
.stamp.big { font-size: 15px; }
.blog-fade .stamp { font-size: 11px; letter-spacing: .05em; padding: 6px 8px; border-width: 2px; border-radius: 7px; text-align: center; align-self: auto; }

/* Divider cards: a tab sticking up over a coloured section, each further right. */
.divider { position: relative; }
.tab-row { display: flex; padding-left: clamp(16px, 6cqi, 80px); }
.tab-row.at2 { padding-left: clamp(110px, 22cqi, 300px); }
.tab-row.at3 { padding-left: clamp(200px, 38cqi, 520px); }
.tab-row.at4 { padding-left: clamp(290px, 54cqi, 740px); }
.tab-row.at5 { padding-left: clamp(140px, 30cqi, 420px); }
.tab-row.at6 { padding-left: clamp(60px, 12cqi, 160px); }
@container (max-width: 560px) { .tab-row, .tab-row[class*='at'] { padding-left: 16px; } }
.tab { max-width: calc(100% - 16px); margin-bottom: -2px; padding: 12px 20px; border: 2px solid var(--bd); border-bottom: 0; border-radius: 14px 14px 0 0; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.divider-body { border-top: 2px solid var(--bd); padding: clamp(32px, 5cqi, 72px) var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: center; }
.divider-body.column { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
.divider h2 { font: 400 clamp(38px, 5cqi, 64px)/1 var(--serif); letter-spacing: -0.035em; text-wrap: balance; }
.d1 .tab, .d1 .divider-body { background: var(--d1); }
.d2 .tab, .d2 .divider-body { background: var(--d2); }
.d3 .tab, .d3 .divider-body { background: var(--d3); }
.d4 .divider-body { background: var(--d4); }
.tab.pro { background: var(--mustard); color: var(--onAccent); }
.dink .tab, .dink .divider-body { background: var(--ink); color: var(--bg); }
.dplain .tab { background: var(--bg); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack .lead { max-width: 460px; }

/* Receipts: torn zig-zag edges, an ink outline drawn by drop shadows. */
.receipt { max-width: 440px; width: 100%; justify-self: center; }
.receipt.outlined { filter: drop-shadow(2px 0 0 var(--bd)) drop-shadow(-2px 0 0 var(--bd)) drop-shadow(0 2px 0 var(--bd)) drop-shadow(0 -2px 0 var(--bd)) drop-shadow(3px 3px 0 var(--sh)); }
.receipt.accent-shadow { filter: drop-shadow(4px 4px 0 var(--accent)); color: var(--ink); }
.tear { height: 10px; }
.tear.top { background: linear-gradient(135deg, transparent 7px, var(--card) 0) 0 0/14px 10px repeat-x, linear-gradient(-135deg, transparent 7px, var(--card) 0) 0 0/14px 10px repeat-x; }
.tear.bottom { background: linear-gradient(-45deg, transparent 7px, var(--card) 0) 0 0/14px 10px repeat-x, linear-gradient(45deg, transparent 7px, var(--card) 0) 0 0/14px 10px repeat-x; }
.paper { background: var(--card); color: var(--ink); padding: 14px 20px 18px; font: 500 13px/1.3 var(--mono); display: flex; flex-direction: column; }
.rc-mark { text-align: center; font: 400 22px/1 var(--serif); padding-bottom: 6px; }
.rc-site { text-align: center; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; color: var(--ink2); padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.rc-site.head { font-size: 13px; letter-spacing: .1em; color: var(--ink); }
.rc-rows li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1.5px dashed var(--line); text-transform: uppercase; letter-spacing: .04em; }
.rc-rows li .rc-label { color: var(--ink2); text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.rc-rows li.kept .rc-label { color: var(--ink); text-decoration: none; }
.rc-icon { color: var(--danger); }
.rc-rows li.kept .rc-icon { color: var(--herb); }
.paper .rc-rows:first-child li .rc-label, .rc-rows.kv li .rc-label { color: var(--ink); text-decoration: none; }
.rc-rows.kv .rc-label { flex: none; width: 44%; }
.rc-rows .right { flex: 1; text-align: right; text-transform: none; }
.dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-3px); }
.rc-total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.rc-total.big { font-size: 16px; }
.tilt-l1 { transform: rotate(-1deg); } .tilt-r1 { transform: rotate(1deg); } .tilt-l2 { transform: rotate(-2deg); } .tilt-r2 { transform: rotate(2deg); }

/* Cook */
.points { border-top: 2px solid var(--bd); display: flex; flex-direction: column; }
.points li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--bd); }
.points .n { flex: none; width: 36px; font: 400 34px/1 var(--serif); color: var(--accent); }
.points li > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.points b { font: 800 18px/1.25 var(--sans); }
.points li > span:last-child > span { font: 500 16px/1.5 var(--sans); color: var(--ink2); }
.phone-wrap, .phones { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.phone { position: relative; width: 300px; min-height: 620px; padding: 34px 18px 20px; border: 2px solid var(--bd); border-radius: 36px; background: var(--card); box-shadow: 5px 5px 0 var(--sh); display: flex; flex-direction: column; }
.phone.small { width: 250px; min-height: 520px; }
.phone.lower { margin-top: 30px; }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 80px; height: 14px; margin-left: -40px; border-radius: 7px; background: var(--ink); }
.screen { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cook-dots { display: flex; gap: 6px; }
.cook-dots span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.cook-dots .done { background: var(--herb); }
.cook-dots .now { background: var(--accent); }
.cook-n { font: 400 64px/1 var(--serif); color: var(--accent); margin-top: 18px; }
.cook-step { font: 400 30px/1.15 var(--serif); }
.cook-timer { align-self: flex-start; margin-top: auto; padding: 10px 14px; border: 2px solid var(--bd); border-radius: 12px; background: var(--mustard); color: var(--onAccent); font: 500 22px/1 var(--mono); box-shadow: 3px 3px 0 var(--sh); }
.cook-next { font: 700 14px/1.3 var(--sans); color: var(--ink2); }
.plan-day { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1.5px dashed var(--line); }
.plan-day b { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.plan-meal { padding: 8px 10px; border: 2px solid var(--bd); border-radius: 10px; background: var(--d1); font: 400 15px/1.1 var(--serif); }
.plan-empty { padding: 6px 10px; border: 1.5px dashed var(--line); border-radius: 10px; color: var(--ink2); font-weight: 700; }
.shop-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); font: 600 15px/1.2 var(--sans); }
.shop-row > span:nth-child(2) { flex: 1; }
.shop-row .mono { font-size: 12px; color: var(--ink2); }
.shop-box { width: 22px; height: 22px; border: 2px solid var(--bd); border-radius: 6px; flex: none; }
.shop-row.ticked > span:nth-child(2) { text-decoration: line-through; color: var(--ink2); }
.shop-row.ticked .shop-box { background: var(--herb); }

/* Any recipe */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { min-height: 38px; padding: 8px 14px; display: flex; align-items: center; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); font: 700 14px/1.2 var(--sans); }
.card-box { max-width: 480px; width: 100%; justify-self: center; padding: 18px 20px 8px; border: 2px solid var(--bd); border-radius: 6px 6px 16px 16px; background: var(--card); box-shadow: 4px 4px 0 var(--sh); }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.ledger-head b { font: 400 22px/1 var(--serif); }
.ledger-head .mono { font-size: 12px; letter-spacing: .06em; }
.ledger-group { padding: 14px 0 6px; font: 400 17px/1 var(--serif); }
.ledger li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1.5px dashed var(--line); font: 500 17px/1.3 var(--sans); }
.ledger .mono { flex: none; width: 96px; font-size: 16px; }
.grow { flex: 1; }
.opt { font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border: 1.5px dashed var(--bd); border-radius: 6px; }

/* Pricing */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.price-head h2 { max-width: 680px; }
.segmented { display: flex; border: 2px solid var(--bd); border-radius: 12px; overflow: hidden; }
.segmented button { min-height: 44px; padding: 0 16px; border: 0; background: var(--card); color: var(--ink); font: 800 14px/1 var(--sans); cursor: pointer; }
.segmented button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; max-width: 980px; }
.plan-card { position: relative; display: flex; flex-direction: column; border: 2px solid var(--bd); border-radius: 16px; background: var(--card); overflow: hidden; }
.plan-card.pro { background: var(--mustard); color: var(--onAccent); box-shadow: 6px 6px 0 var(--sh); }
.trial { position: absolute; top: 18px; right: 16px; transform: rotate(10deg); padding: 7px 9px; border: 3px solid var(--onAccent); border-radius: 9px; font: 500 12px/1.15 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; max-width: 110px; }
.plan-top { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.plan-top .mono-label { font-size: 13px; letter-spacing: .08em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 400 52px/1 var(--serif); letter-spacing: -0.03em; }
.price span { font: 500 15px/1 var(--sans); }
.plan-card:not(.pro) .price span, .plan-card:not(.pro) .sub { color: var(--ink2); }
.sub { font: 500 16px/1.5 var(--sans); }
.pro .sub, .pro .price span { font-weight: 600; }
.plan-list { position: relative; padding: 12px 22px 22px; border-top: 2px dashed var(--bd); display: flex; flex-direction: column; }
.punch { position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 10px; border: 2px solid var(--bd); background: var(--bg); }
.punch.l { left: -11px; } .punch.r { right: -11px; }
.li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font: 500 16px/1.4 var(--sans); }
.pro .li { font-weight: 600; }
.fine { margin-top: 10px; font: 500 13px/1.45 var(--sans); }
.plan-list .fine { text-align: center; }
.get { padding: clamp(48px, 8cqi, 110px) var(--pad); border-top: 2px solid var(--bd); background: var(--d1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.get h2 { font: 400 clamp(46px, 7cqi, 92px)/0.98 var(--serif); letter-spacing: -0.04em; text-wrap: balance; }

/* Footer */
.foot { padding: 36px var(--pad) 28px; border-top: 2px solid var(--bd); background: var(--s1); display: flex; flex-direction: column; gap: 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-mark { font: 400 28px/1 var(--serif); }
.foot-brand p { font: 500 15px/1.5 var(--sans); color: var(--ink2); }
.foot-lang { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.foot-lang .mono-label, .foot-links .mono-label { font-size: 11px; color: var(--ink2); }
.foot-lang select { min-height: 44px; padding: 0 10px; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); color: var(--ink); font: 700 15px/1 var(--sans); max-width: 220px; }
.foot-links { display: flex; flex-direction: column; gap: 4px; font: 600 15px/1.3 var(--sans); }
.foot-links a { padding: 6px 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 2px solid var(--bd); font: 400 12px/1.4 var(--mono); color: var(--ink2); }

/* Legal, contact and delete pages (3l1–3l11): an aside beside a ruled index card. */
.paper-page, .more { padding: clamp(28px, 5cqi, 64px) var(--pad) clamp(40px, 6cqi, 88px); display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.more { padding-top: 0; }
.aside { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.aside h1 { font: 400 clamp(44px, 6cqi, 76px)/0.98 var(--serif); letter-spacing: -0.04em; text-wrap: balance; }
.back { align-self: flex-start; display: flex; gap: 6px; align-items: center; min-height: 44px; font: 700 14px/1 var(--sans); text-decoration: none; }
.aside .receipt { margin-top: 6px; }
.aside .paper { padding: 10px 18px 14px; }
.aside .rc-rows li { padding: 9px 0; }
.index-card { flex: 2 1 460px; min-width: 0; border: 2px solid var(--bd); border-radius: 8px 8px 18px 18px; background: var(--card); box-shadow: 4px 4px 0 var(--sh); overflow: hidden; }
.ic-head { position: relative; padding: 26px 24px 14px; border-bottom: 2px solid var(--accent); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hole { position: absolute; top: 8px; left: 50%; margin-left: -8px; width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--bd); background: var(--bg); }
.ic-title { font: 400 26px/1.1 var(--serif); outline: none; min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.doc-sections li { display: flex; gap: 18px; padding: 20px 24px; border-bottom: 1.5px solid var(--line); }
.doc-sections .n { flex: none; width: 30px; font: 400 28px/1 var(--serif); color: var(--accent); }
.doc-sections li > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; font: 500 16px/1.6 var(--sans); }
.doc-sections h2 { font: 400 22px/1.15 var(--serif); }
.doc-sections p, .doc-sections ul, .doc-sections ol { text-wrap: pretty; }
.doc-sections ul { list-style: disc; padding-left: 20px; }
.doc-sections ol { list-style: decimal; padding-left: 20px; }
.doc-sections li li { display: list-item; padding: 2px 0; border: 0; }
.doc-sections a { overflow-wrap: anywhere; }
.ic-foot { padding: 18px 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.changes { padding: 18px 24px; border-bottom: 1.5px solid var(--line); background: var(--d4); display: flex; flex-direction: column; gap: 10px; }
.changes h2 { font: 400 22px/1.15 var(--serif); }
.emails { display: flex; flex-direction: column; border-top: 2px solid var(--bd); }
.emails a { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 2px solid var(--bd); text-decoration: none; }
.emails .mono-label.soft { font-size: 11px; }
.emails b { font: 800 18px/1.1 var(--sans); overflow-wrap: anywhere; }
.reply { display: flex; gap: 8px; align-items: center; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.reply .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--herb); flex: none; }
.imprint { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; font: 400 13px/1.6 var(--mono); color: var(--ink2); }
.imprint .mono-label { font-size: 11px; color: var(--ink); }
.what { display: flex; flex-direction: column; gap: 10px; }
.what .mono-label { font-size: 11px; }
.what li { display: flex; gap: 10px; align-items: flex-start; font: 500 16px/1.4 var(--sans); }

/* Forms (3l3–3l11) */
.form, .code-step, .done-state { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.done-state, .code-step { padding-top: 26px; }
.done-state h3, .code-step h3 { font: 400 30px/1.1 var(--serif); outline: none; }
.code-step h3 { font-size: 28px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span:first-child, .field legend { font: 700 14px/1.2 var(--sans); padding: 0; margin-bottom: 8px; }
.field > span:first-child { margin-bottom: 0; }
.field input, .field textarea { min-height: 52px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--bd); outline-offset: 2px; background: var(--bg); color: var(--ink); font: 500 16px/1.4 var(--sans); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; padding: 12px 14px; line-height: 1.5; }
.field input.bad, .field textarea.bad { border-color: var(--danger); }
.field-err { display: flex; gap: 6px; align-items: center; font: 700 13px/1.3 var(--sans); }
.field-err .icon { color: var(--danger); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); font: 700 14px/1 var(--sans); }
.chip-radio input:checked + span { background: var(--ink); color: var(--bg); }
.chip-radio input:focus-visible + span, .option input:focus-visible ~ .radio-dot, .check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 14px; margin-bottom: 8px; border: 2px solid var(--bd); border-radius: 12px; background: var(--card); cursor: pointer; }
.option:has(input:checked) { background: var(--bg); }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-dot { flex: none; width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--bd); box-shadow: inset 0 0 0 3px var(--card); }
.option input:checked ~ .radio-dot { background: var(--danger); }
.option b { display: block; font: 800 16px/1.2 var(--sans); }
.option small { display: block; margin-top: 4px; font: 500 13px/1.3 var(--sans); color: var(--ink2); }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font: 600 15px/1.4 var(--sans); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.check .box { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--bd); color: transparent; display: flex; align-items: center; justify-content: center; }
.check input:checked + .box { background: var(--ink); color: var(--card); }
.check input.bad + .box { border-color: var(--danger); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 2px dashed var(--line); border-radius: 12px; font: 500 15px/1.45 var(--sans); }
.notice.danger { border: 2px solid var(--danger); }
.step-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.step-dots li { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 6px; border: 2px solid var(--bd); border-radius: 10px; background: var(--card); font: 700 13px/1 var(--sans); }
.step-dots li.now, .step-dots li[aria-current] { background: var(--ink); color: var(--bg); }
.step-dots li.done { background: var(--herb); color: var(--ink); }
.num { width: 22px; height: 22px; border-radius: 11px; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font: 500 11px/1 var(--mono); }
.code-boxes { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 420px; }
.code-box { min-height: 60px; border: 2px solid var(--bd); border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; font: 500 26px/1 var(--mono); }
.code-box.active { border-color: var(--accent); }
.code-box.bad { border-color: var(--danger); }
.code-boxes input { position: absolute; inset: 0; opacity: 0; width: 100%; border: 0; font-size: 16px; }
.code-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.ref { align-self: flex-start; display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border: 1.5px dashed var(--line); border-radius: 10px; font: 500 13px/1 var(--mono); }
.notice-page, .notice { max-width: 640px; }
main.notice { margin: clamp(40px, 8cqi, 96px) auto; padding: 0 var(--pad); border: 0; gap: 18px; align-items: flex-start; }
main.notice h1 { font: 400 clamp(40px, 6cqi, 64px)/1 var(--serif); letter-spacing: -0.03em; }
main.notice p { font: 500 18px/1.55 var(--sans); color: var(--ink2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation: pn-pulse 1.6s ease-in-out infinite; border-right-color: currentColor; }
  .btn:active { transform: none; }
}
@media (max-width: 719px) {
  .hero-pair { grid-template-columns: 1fr; }
  .blog { height: 360px; }
  .hero-card { margin-top: 0; }
  .scissors { display: none; }
  .phone { width: 100%; max-width: 300px; }
}
