/* ClevrFox website styles. One file for every page. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --navy: #0F172A;
  --navy-2: #1E293B;
  --orange: #ED4F09;
  --orange-ink: #C2410C;
  --orange-tint: #FFEDE3;
  --yellow: #FFD23F;
  --yellow-tint: #FFF6D1;
  --sky: #3AA6F2;
  --sky-ink: #0B6FB8;
  --sky-tint: #E6F4FE;
  --paper: #FFFFFF;
  --app-bg: #F4F6FA;
  --ink: #0F172A;
  --body: #334155;
  --muted: #5B6A80;
  --line: #E2E8F0;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.5em; font-weight: 800; }
h1 {
  font-size: clamp(2.35rem, 7.4vw, 5rem);
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-stretch: 115%;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.28rem; font-stretch: 108%; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-stretch: 104%; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--body); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--yellow); color: var(--navy); padding: 10px 14px; font-weight: 700; }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 38px; height: 38px; }
.wordmark { font-weight: 800; font-stretch: 112%; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--navy); }
.wordmark span { color: var(--orange); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav a:hover { color: var(--orange-ink); }
.nav .btn { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--navy); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: 108%; font-size: 1.08rem; line-height: 1.2;
  padding: 16px 26px; border-radius: 999px; border: 2px solid var(--orange);
  cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn .apple { width: 18px; height: 18px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -6vw; top: 0; bottom: 0; width: 46vw;
  background: var(--yellow); border-bottom-left-radius: 48px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; font-size: clamp(2rem, 3.9vw, 3.4rem); font-stretch: 112%; line-height: 1; }
.hero h1 .line { white-space: nowrap; }
@media (max-width: 980px) { .hero h1 { font-size: clamp(2rem, 5.6vw, 3.2rem); } }
.hero h1 .line { display: block; }
.hero .note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); max-width: 34em; }
.hero-visual { position: relative; padding: 0 84px 80px 0; }
.hero-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--sky); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .55); }
.hero-photo img, .who .ph img, .feat-photo img, .page-hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual .phone { position: absolute; right: -6px; bottom: 0; width: 206px; font-size: 11px; }
@media (max-width: 980px) {
  .hero::before { width: 100%; right: 0; top: auto; height: 46%; border-radius: 40px 40px 0 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; padding-bottom: 0; }
  .hero-visual .phone { position: relative; left: auto; bottom: auto; margin: -90px 6% 0 auto; width: 218px; }
}

/* App mock-up */
.phone {
  width: 248px; background: var(--navy); border-radius: 38px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .6);
}
.phone .screen { background: var(--app-bg); border-radius: 30px; overflow: hidden; font-size: 12px; line-height: 1.35; color: var(--ink); }
.phone .bar { display: flex; align-items: center; gap: 7px; padding: 16px 14px 10px; background: #fff; border-bottom: 1px solid var(--line); }
.phone .bar img { width: 22px; height: 22px; }
.phone .bar b { font-stretch: 112%; font-size: 15px; }
.phone .bar b span { color: var(--orange); }
.phone .title { padding: 12px 14px 4px; font-weight: 800; font-stretch: 110%; font-size: 17px; }
.phone .rows { padding: 6px 10px 10px; display: grid; gap: 7px; }
.phone .row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.phone .row .m { font-weight: 700; }
.phone .row .c { color: var(--orange-ink); font-size: 11px; font-weight: 600; }
.phone .row .a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; }
.phone .total { margin: 2px 10px 12px; background: var(--navy); color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; font-weight: 700; }
.phone .tabs { display: flex; justify-content: space-around; background: var(--navy); padding: 10px 0 14px; }
.phone .tabs i { width: 18px; height: 18px; border-radius: 5px; background: #475569; display: block; }
.phone .tabs i.on { background: var(--orange); }

/* Torn receipt edge where one band meets the next */
.tear { height: 16px; background: var(--c, var(--navy)); margin-top: -16px; position: relative;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 28px 100%;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 28px 100%; }

/* Who it is for */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.who { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.who .ph { position: relative; aspect-ratio: 4 / 3; background: var(--sky-tint); overflow: hidden; }
.who .tx { padding: 22px 24px 26px; border-top: 8px solid var(--orange); flex: 1; }
.who:nth-child(2) .tx { border-top-color: var(--sky); }
.who:nth-child(3) .tx { border-top-color: var(--yellow); }
.who p { margin: 0; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* Capture. Check. Send. */
.band-navy { background: var(--navy); color: #CBD5E1; }
.band-navy h2, .band-navy h3 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 48px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { font-size: clamp(4.5rem, 9vw, 7rem); line-height: 0.9; font-weight: 900; font-stretch: 125%; color: var(--yellow); display: block; margin-bottom: 10px; }
.step:nth-child(2) .num { color: var(--sky); }
.step:nth-child(3) .num { color: var(--orange); }
.step h3 { font-size: 1.7rem; font-stretch: 118%; margin-bottom: 0.35em; }
.step p { margin: 0; color: #CBD5E1; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 48px; }
.feat { border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.feat-orange { background: var(--orange-tint); }
.feat-sky { background: var(--sky-tint); }
.feat-yellow { background: var(--yellow-tint); }
.feat-slate { background: #EEF2F7; }
.feat h3 { font-size: 1.6rem; font-stretch: 116%; display: flex; align-items: center; gap: 12px; }
.feat h3 .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.feat-orange h3 .ico { background: var(--orange); }
.feat-sky h3 .ico { background: var(--sky-ink); }
.feat-yellow h3 .ico { background: var(--navy); }
.feat-slate h3 .ico { background: var(--navy-2); }
.feat h3 .ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-yellow h3 .ico svg { stroke: var(--yellow); }
.feat ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.feat li { padding-left: 26px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 11px; height: 11px; border-radius: 3px; background: var(--orange); transform: rotate(45deg); }
.feat-sky li::before { background: var(--sky-ink); }
.feat-yellow li::before { background: var(--navy); }
.feat-slate li::before { background: var(--navy-2); }
.feat li b { color: var(--ink); display: block; font-stretch: 104%; }
.feat-photo { position: relative; border-radius: 20px; overflow: hidden; background: var(--yellow); min-height: 320px; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; } }

/* Privacy band */
.band-yellow { background: var(--yellow); color: var(--navy); }
.band-yellow h2 { color: var(--navy); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 1.05rem; }
.ticks li svg { width: 30px; height: 30px; }
.ticks b { display: block; color: var(--ink); }
.band-yellow .ticks b { color: var(--navy); }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Accountant section */
.acct-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.sheet { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .45); overflow: hidden; }
.sheet .cap { background: #EEF2F7; padding: 10px 14px; font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.sheet .cap i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; display: inline-block; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 0.86rem; font-stretch: 92%; }
.sheet th, .sheet td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th { background: #F8FAFC; color: var(--ink); font-weight: 700; }
.sheet td.n, .sheet th.n { text-align: right; }
.sheet td.code { color: var(--sky-ink); font-weight: 700; }
.sheet-scroll { overflow-x: auto; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: 1fr; } }

/* Care costs */
.band-sky { background: var(--sky-tint); }
.care { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tag { display: inline-block; background: var(--sky-ink); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.care-card { background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 32px); border-left: 8px solid var(--sky); }
.care-card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .care { grid-template-columns: 1fr; } }

/* Pricing as till receipts */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; justify-content: center; margin-top: 48px; }
.receipt {
  background: #fff; color: var(--ink); padding: 30px 30px 40px; position: relative; display: flex; flex-direction: column;
  box-shadow: 0 26px 50px -30px rgba(15, 23, 42, .55);
  --zz: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zz) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zz) 100%;
}
.receipt.hi { background: var(--navy); color: #fff; }
.receipt .rname { font-weight: 800; font-stretch: 118%; font-size: 1.5rem; margin-bottom: 4px; }
.receipt.hi .rname { color: #fff; }
.receipt .rsub { font-size: 0.95rem; color: var(--muted); margin-bottom: 18px; }
.receipt.hi .rsub { color: #CBD5E1; }
.receipt .amount { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 900; font-stretch: 120%; line-height: 1; letter-spacing: -0.02em; }
.receipt .per { font-size: 1rem; font-weight: 600; margin-left: 6px; }
.receipt .lines { margin: 22px 0 0; padding: 18px 0 0; border-top: 2px dashed #CBD5E1; list-style: none; display: grid; gap: 10px; font-stretch: 94%; }
.receipt.hi .lines { border-top-color: #475569; }
.receipt .lines li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.receipt .lines li::before { content: ""; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); margin-top: 7px; }
.receipt.hi .lines li::before { border-color: var(--yellow); }
.receipt .small { font-size: 0.88rem; color: var(--muted); margin-top: 18px; }
.receipt.hi .small { color: #94A3B8; }
.receipt .btn { margin-top: auto; width: 100%; }
.receipt .lines { margin-bottom: 26px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 1.12rem; color: var(--ink); font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--orange-tint) linear-gradient(var(--orange), var(--orange)) center / 10px 2px no-repeat; }
.faq summary::before { content: ""; position: absolute; right: 16px; top: 50%; width: 2px; height: 10px; margin-top: -5px; background: var(--orange); z-index: 1; }
.faq details[open] summary::before { display: none; }
.faq details > div { padding: 0 0 22px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Closing call to action */
.band-orange { background: var(--orange); color: var(--navy); }
.band-orange h2 { color: var(--navy); }
.cta-final { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.cta-final img { width: clamp(96px, 14vw, 160px); height: auto; border-radius: 24px; }
.band-orange .lead { color: var(--navy); }
@media (max-width: 700px) { .cta-final { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--navy); color: #94A3B8; padding: 56px 0 36px; font-size: 0.95rem; }
.site-foot a { color: #E2E8F0; text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot .wordmark { color: #fff; }
.foot-legal { border-top: 1px solid #1E293B; margin-top: 40px; padding-top: 22px; font-size: 0.85rem; line-height: 1.6; }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { background: var(--navy); color: #CBD5E1; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.2rem); }
.page-hero .lead { color: #CBD5E1; }
.page-hero.split .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero .ph { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 460px; background: var(--orange); }
@media (max-width: 860px) { .page-hero.split .wrap { grid-template-columns: 1fr; } .page-hero .ph { aspect-ratio: 4 / 3; } }
.page-hero.orange { background: var(--orange); color: var(--navy); }
.page-hero.orange h1, .page-hero.orange .lead { color: var(--navy); }
.page-hero.sky { background: var(--sky-ink); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 1em 0 1.4em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #F8FAFC; color: var(--ink); }
.updated { color: var(--muted); font-size: 0.95rem; }
.toc { background: var(--app-bg); border-radius: 14px; padding: 18px 22px; margin: 0 0 32px; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.card.o { border-top: 8px solid var(--orange); }
.card.s { border-top: 8px solid var(--sky); }
.card.y { border-top: 8px solid var(--yellow); }
.card p:last-child { margin-bottom: 0; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

.callout { background: var(--yellow-tint); border-left: 8px solid var(--yellow); border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.quote-box { background: #fff; border: 2px dashed #CBD5E1; border-radius: 14px; padding: 20px 22px; font-size: 1rem; }

/* Setup code generator */
.gen { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .5); }
.field { margin-bottom: 18px; }
.field label, .field .lbl { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.field .hint { font-size: 0.9rem; color: var(--muted); margin: -2px 0 8px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 2px solid #CBD5E1; border-radius: 12px; background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px rgba(58, 166, 242, .25); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice label { border: 2px solid #CBD5E1; border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; margin: 0; }
.choice input { margin-top: 4px; accent-color: var(--orange); width: auto; }
.choice label:has(input:checked) { border-color: var(--orange); background: var(--orange-tint); }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr; } }
.map-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.map-table td { padding: 6px 0; vertical-align: middle; }
.map-table td:first-child { padding-right: 14px; font-weight: 600; color: var(--ink); width: 46%; }
.map-table input { padding: 9px 12px; }
.err { color: #B91C1C; font-weight: 600; margin: 8px 0 0; }
.result { display: none; margin-top: 30px; border-top: 2px dashed #CBD5E1; padding-top: 28px; }
.result.show { display: block; }
.result-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
@media (max-width: 700px) { .result-grid { grid-template-columns: 1fr; } }
.qr { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px; width: 300px; max-width: 100%; }
.qr svg { width: 100%; height: auto; display: block; shape-rendering: crispEdges; }
.codebox { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.82rem; word-break: break-all; background: var(--app-bg); border-radius: 12px; padding: 14px; color: var(--ink); max-height: 140px; overflow: auto; }
.mailbox { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.95rem; background: var(--app-bg); border-radius: 12px; padding: 16px; color: var(--ink); }
.copied { color: #15803D; font-weight: 700; margin-left: 10px; }

@media print {
  .site-head, .site-foot, .no-print, .page-hero { display: none !important; }
  .gen { box-shadow: none; border: 0; }
  body { font-size: 12pt; }
}
