/* Pharmswell company site. World: the modern pharmacy counter —
   mint counter ground, committed pharmacy-green fields, white label paper,
   a coral-red pen for circles and margin notes only. Bricolage Grotesque heavy
   display, Pretendard Variable text, Martian Mono labels. Capsules, die-cut
   labels, perforated queue tickets, a weekly pill organizer. */

:root {
  --mint: oklch(0.975 0.015 165);
  --mint-2: oklch(0.945 0.03 165);
  --mint-3: oklch(0.91 0.045 165);
  --paper: oklch(0.995 0.004 95);
  --ink: oklch(0.28 0.05 165);
  --ink-2: oklch(0.4 0.04 165);
  --ink-3: oklch(0.49 0.035 165);
  --line: oklch(0.89 0.025 165);
  --line-2: oklch(0.8 0.035 165);
  --green: oklch(0.45 0.1 162);
  --green-ink: oklch(0.42 0.09 162);
  --green-hi: oklch(0.64 0.13 158);
  --deep: oklch(0.3 0.06 165);
  --on-green: oklch(0.99 0.008 165);
  --on-green-2: oklch(0.9 0.04 165);
  --on-line: oklch(1 0 0 / 0.2);
  --marker: oklch(0.62 0.19 28);
  --marker-ink: oklch(0.53 0.18 28);
  --notice: oklch(0.99 0.003 250);
  --notice-line: oklch(0.9 0.006 250);
  --doc-ink: oklch(0.38 0.015 250);
  --lid: oklch(0.72 0.12 162 / 0.36);
  --lid-edge: oklch(0.5 0.1 162 / 0.42);

  --font-body: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Consolas, "Pretendard Variable", Pretendard, monospace;
  --font-doc: "Times New Roman", "Batang", "AppleMyungjo", serif;

  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1328px;
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 0 0 1px var(--line), 0 18px 34px -26px oklch(0.25 0.05 165 / 0.45);
}

html:lang(ko) { --font-display: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--mint); }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:lang(ko) body { font-size: 16.5px; line-height: 1.75; word-break: keep-all; line-break: strict; }
:lang(ko) { word-break: keep-all; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, blockquote, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
mark { background: none; color: inherit; }

::selection { background: var(--mint-3); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.field :focus-visible, .close :focus-visible { outline-color: var(--paper); }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--back { transform: rotate(180deg); }

/* the capsule mark (header, footer, label, printer, closing art) */
.mark { width: 30px; height: 30px; flex: none; }
.mark__w { fill: var(--paper); stroke: var(--ink); stroke-width: 1.7; }
.mark__g { fill: var(--green); stroke: var(--ink); stroke-width: 1.7; }
.mark__s { fill: none; stroke: oklch(1 0 0 / 0.75); stroke-width: 1.6; stroke-linecap: round; }

/* ---------- type ---------- */
.display { font: 780 clamp(3rem, 1.5rem + 4.6vw, 6rem)/0.93 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
html:lang(ko) .display { font-weight: 800; font-size: clamp(2.5rem, 1.45rem + 3.4vw, 4.6rem); line-height: 1.14; letter-spacing: -0.045em; }
.h2 { font: 760 clamp(2.15rem, 1.4rem + 2.3vw, 3.6rem)/1 var(--font-display); letter-spacing: -0.032em; text-wrap: balance; }
html:lang(ko) .h2 { font-weight: 780; font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.8rem); line-height: 1.24; letter-spacing: -0.042em; }
h3 { font-family: var(--font-display); }
.lede { font-size: clamp(17px, 15.8px + 0.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
html:lang(ko) .lede { line-height: 1.8; max-width: 36em; }
.note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
/* two-tone capsule: white half with the words, green half with the arrow */
.btn { display: inline-flex; align-items: stretch; min-height: 54px; border: 2px solid var(--green); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 650; font-size: 16px; line-height: 1.2; overflow: hidden; transition: border-color .2s; }
.btn__txt { display: flex; align-items: center; padding: 0 18px 0 24px; }
.btn__cap { display: grid; place-items: center; padding: 0 20px 0 16px; background: var(--green); color: var(--on-green); }
.btn__cap .ico { width: 20px; height: 20px; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .btn__cap .ico { transform: translateX(3px); }
.btn:hover { border-color: var(--deep); }
.btn--light { border-color: var(--paper); background: transparent; color: var(--on-green); }
.btn--light .btn__cap { background: var(--paper); color: var(--green-ink); }
.btn--light:hover { border-color: var(--paper); background: oklch(1 0 0 / 0.08); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; padding: 8px 0; text-decoration: underline; text-decoration-color: var(--green-hi); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.textlink:hover { text-decoration-color: var(--ink); }
.textlink--light { color: var(--on-green); text-decoration-color: oklch(1 0 0 / 0.45); }
.textlink--light:hover { text-decoration-color: var(--on-green); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px 11px 20px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 15px; transition: border-color .2s; white-space: nowrap; }
.pill-link .ico { width: 18px; height: 18px; color: var(--green-ink); }
.pill-link:hover { border-color: var(--green); }
.round { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); transition: border-color .2s, opacity .2s; }
.round .ico { width: 20px; height: 20px; }
.round:hover { border-color: var(--green); }
.round[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.badge { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--green-ink); flex: none; }
.badge .ico { width: 22px; height: 22px; }

/* ---------- header ---------- */
.top { position: relative; z-index: 20; background: var(--mint); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__word { font: 800 25px/1 var(--font-display); letter-spacing: -0.045em; text-transform: lowercase; padding-bottom: 2px; }
html:lang(ko) .brand__word { font-size: 23px; letter-spacing: -0.05em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__a { position: relative; display: inline-block; padding: 8px 0; font-size: 15.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.nav__a:hover { color: var(--ink); }
.nav__a[aria-current="page"] { color: var(--ink); font-weight: 700; }
/* current page: a tiny two-tone capsule under the word */
.nav__a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 22px; height: 7px; margin-left: -11px; border-radius: 4px; border: 1.5px solid var(--green); background: linear-gradient(90deg, var(--paper) 50%, var(--green) 50%); }
.nav__ext { font: 500 9.5px/1 var(--font-mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 5px; margin-left: 6px; vertical-align: 2px; }
.lang { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 3px; font-size: 13.5px; }
.lang a { padding: 6px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--green); color: var(--on-green); font-weight: 650; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--paper); align-items: center; justify-content: center; }
.menu-btn .ico { width: 20px; height: 20px; }
.menu-btn .ico--close { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--mint); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__a { display: block; padding: 14px 0; font: 780 36px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); border-bottom: 1px solid var(--line); }
  html:lang(ko) .nav__a { font-size: 30px; font-weight: 750; letter-spacing: -0.04em; }
  .nav__a[aria-current="page"]::after { left: auto; right: 4px; bottom: auto; top: 50%; margin: -4px 0 0; width: 30px; height: 10px; border-radius: 6px; }
  .lang { align-self: flex-start; margin-top: 24px; font-size: 15px; }
  .top.is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .top.is-open .ico--menu { display: none; }
  .top.is-open .ico--close { display: block; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(32px, 4.4vw, 60px) 0 clamp(56px, 7vw, 104px); }
.hero__head { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(26px, 3.2vw, 44px); }
.hero__aside { display: grid; gap: 24px; padding-bottom: 6px; }
.hero__aside .lede { font-size: clamp(17px, 16px + 0.25vw, 18.5px); }
@media (max-width: 900px) {
  .hero__head { grid-template-columns: 1fr; }
}

/* the counter: notice | control | label printer */
.counter { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(190px, 214px) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); padding: clamp(16px, 2.4vw, 32px); background: var(--mint-2); border-radius: 32px; box-shadow: inset 0 0 0 1px var(--line); }
.counter__note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.sheet { align-self: start; transform: rotate(-0.8deg); padding: 6px 0; }
.notice { background: var(--notice); border-radius: 3px; color: var(--doc-ink); box-shadow: 0 0 0 1px var(--notice-line), 0 22px 34px -26px oklch(0.25 0.04 165 / 0.5); }
.notice__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px 12px; border-bottom: 1px solid var(--notice-line); font: 500 10.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.notice__flag { border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; letter-spacing: 0.04em; }
.notice__main { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 34px; padding: 18px 22px 20px; }
.notice__title { font: 700 15.5px/1.32 var(--font-doc); color: oklch(0.3 0.015 250); }
.notice__text { position: relative; margin-top: 12px; font: 400 13px/1.7 var(--font-doc); }
html:lang(ko) .notice__text { font-size: 12.8px; line-height: 1.78; }
.notice__foot { padding: 11px 22px 14px; border-top: 1px dashed var(--notice-line); font: 400 10px/1.3 var(--font-mono); color: oklch(0.48 0.012 250); }

/* the red pen: SVG loops around jargon, a brace along the wall of text, numbered notes */
.ring { position: relative; white-space: nowrap; }
.ring__pen { position: absolute; left: -9px; top: -6px; width: calc(100% + 18px); max-width: none; height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.ring__pen path, .brace path { fill: none; stroke: var(--marker); stroke-width: 1.9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pen-n, .notes li::before { font: 600 9px/15px var(--font-mono); width: 15px; height: 15px; border-radius: 50%; background: var(--marker-ink); color: var(--paper); text-align: center; letter-spacing: 0; }
.pen-n { display: inline-block; margin: 0 3px 0 10px; vertical-align: 3px; text-indent: 0; }
.brace { position: absolute; top: 2px; bottom: 2px; right: -24px; width: 13px; }
.brace svg { width: 100%; height: 100%; overflow: visible; }
.notes { counter-reset: n; display: grid; gap: 16px; align-content: start; padding-top: 30px; }
.notes li { counter-increment: n; display: grid; grid-template-columns: 15px 1fr; gap: 7px; align-items: start; font: 650 13.5px/1.25 var(--font-body); color: var(--marker-ink); transform: rotate(-2.5deg); }
.notes li::before { content: counter(n); }

/* Martian Mono has no Hangul: Korean in mono label slots falls back to Pretendard, so size it up */
.notice__bar:lang(ko), .notice__foot:lang(ko), .lb__mode:lang(ko), .lb__rows dt:lang(ko), .lb__code:lang(ko), .sp__id:lang(ko), .cell__rim:lang(ko), .tk__area:lang(ko), .tk__foot:lang(ko), .tk__no small:lang(ko), .stamp:lang(ko), .phone__mode:lang(ko), .msg small:lang(ko), .tl__when:lang(ko), .post__meta em:lang(ko) { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lb__rows dt:lang(ko) { line-height: 1.75; }

/* control */
.ctrl { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.btn--print { min-height: 60px; font-size: 17px; justify-content: space-between; text-align: left; }
.btn--print .btn__txt { flex: 1; padding: 0 14px 0 22px; }
.modes { display: grid; gap: 8px; }
.modes button { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 600; color: var(--ink-2); text-align: left; transition: border-color .2s, color .2s; }
.modes button::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-3); background: var(--paper); transition: border .2s; }
.modes button:hover { color: var(--ink); border-color: var(--green); }
.modes button[aria-checked="true"] { color: var(--ink); border-color: var(--green); }
.modes button[aria-checked="true"]::before { border: 4.5px solid var(--green); }

/* printer: the label rises out of the slot on top of the device */
.printer { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.printer__out { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; margin-bottom: -5px; clip-path: inset(-80px -60px 0 -60px); }
.printer__head { position: relative; height: 76px; border-radius: 20px; background: var(--deep); color: var(--on-green); display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 0; box-shadow: 0 22px 30px -24px oklch(0.2 0.05 165 / 0.7); }
.printer__head::before { content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 10px; border-radius: 0 0 6px 6px; background: oklch(0.17 0.03 165); }
.printer__brand { display: inline-flex; align-items: center; gap: 8px; font: 800 16px/1 var(--font-display); letter-spacing: -0.04em; text-transform: lowercase; }
.printer__brand .mark { width: 22px; height: 22px; }
.printer__brand .mark__w, .printer__brand .mark__g { stroke: var(--on-green); }
.printer__led { width: 10px; height: 10px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 3px oklch(0.64 0.13 158 / 0.25); }

.label { width: 88%; background: var(--paper); border-radius: 16px 16px 3px 3px; box-shadow: 0 0 0 1px var(--line), 0 24px 30px -24px oklch(0.25 0.05 165 / 0.45); }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1.5px dashed var(--line-2); }
.lb__brand { display: inline-flex; align-items: center; gap: 6px; font: 800 14.5px/1 var(--font-display); letter-spacing: -0.04em; text-transform: lowercase; }
.lb__brand .mark { width: 19px; height: 19px; }
.lb__mode { font: 500 9.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); background: var(--mint-2); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.lb__body { padding: 16px 18px 2px; }
.lb__title { font: 780 22px/1.12 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
html:lang(ko) .lb__title, .lb__body:lang(ko) .lb__title { font-family: "Pretendard Variable", Pretendard, sans-serif; font-weight: 750; font-size: 19.5px; line-height: 1.38; letter-spacing: -0.035em; }
.lb__rows { display: grid; gap: 8px; margin-top: 14px; }
.lb__rows div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.42; }
.lb__rows dt { font: 500 10px/2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); }
.lb__steps { counter-reset: s; display: grid; gap: 8px; margin-top: 14px; }
.lb__steps li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.42; }
.lb__steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--on-green); font: 600 10.5px/22px var(--font-mono); text-align: center; }
.lb__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 14px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.lb__ok { display: inline-flex; align-items: center; gap: 6px; }
.lb__ok .ico { width: 16px; height: 16px; color: var(--green-ink); stroke-width: 2.2; }
.lb__go { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1.5px solid var(--green); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 650; color: var(--ink); transition: background-color .2s; }
.lb__go:hover { background: var(--mint-2); }
.lb__go .ico { width: 15px; height: 15px; }
.lb__code { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 18px 14px; font: 400 9.5px/1 var(--font-mono); color: var(--ink-3); }
.lb__code i { width: 112px; height: 22px; opacity: 0.85; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 7px, var(--ink) 7px 10px, transparent 10px 11px, var(--ink) 11px 12px, transparent 12px 15px); }

/* the one authored moment: the label feeds out of the slot, its lines emerge in order */
.counter.is-armed .label { transform: translateY(calc(100% + 10px)); }
.counter.is-printing .label { animation: feed 1.45s cubic-bezier(0.3, 0.1, 0.3, 1) both; }
.counter.is-printing .printer__led { animation: blink 0.24s steps(2, jump-none) 6; }
@keyframes feed { from { transform: translateY(calc(100% + 10px)); } to { transform: none; } }
@keyframes blink { 50% { background: var(--paper); } }

/* mid widths: the notice column gets narrow, so the margin notes move under the text */
@media (min-width: 1101px) and (max-width: 1280px) {
  .notice__main { grid-template-columns: 1fr; gap: 18px; padding-right: 44px; }
  .notes { grid-template-columns: 1fr 1fr; padding-top: 0; gap: 10px 14px; }
}
@media (max-width: 1100px) {
  .counter { grid-template-columns: 1fr; }
  .sheet { max-width: 760px; }
  .ctrl { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .modes { display: flex; flex-wrap: wrap; }
  .printer { width: 100%; max-width: 460px; justify-self: center; }
}
@media (max-width: 600px) {
  .counter { border-radius: 24px; padding: 14px 12px 18px; }
  .sheet { transform: rotate(-0.6deg); }
  .notice__bar { padding: 12px 16px 10px; }
  .notice__main { grid-template-columns: 1fr; gap: 18px; padding: 14px 40px 16px 16px; }
  .notice__foot { padding: 10px 16px 12px; }
  .notes { grid-template-columns: 1fr 1fr; padding-top: 4px; gap: 10px 12px; }
  .ctrl { gap: 12px; }
  .btn--print { width: 100%; }
  .modes { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .modes button { padding: 9px 10px; font-size: 14px; gap: 7px; }
  .modes button::before { width: 13px; height: 13px; }
  .label { width: 92%; }
  .lb__title { font-size: 20px; }
}

/* ---------- questions: queue tickets ---------- */
.queue { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4.6vw, 64px); background: var(--mint-2); }
.queue__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.queue__nav { display: flex; gap: 10px; flex: none; }
.tickets { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.tickets:focus-visible { outline-offset: -3px; }
.tickets__row { display: flex; gap: 18px; width: max-content; padding: 10px var(--edge) 30px; }
.tk { flex: 0 0 auto; width: 300px; scroll-snap-align: start; filter: drop-shadow(0 1px 0 var(--line-2)) drop-shadow(0 14px 16px oklch(0.3 0.05 165 / 0.09)); }
/* perforation: notches cut at the tear line, dashed line between them */
.tk__in { --cut: 76px; height: 100%; min-height: 236px; display: grid; grid-template-rows: var(--cut) 1fr auto; background: var(--paper); border-radius: 16px;
  -webkit-mask: radial-gradient(circle 10px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat; }
.tk__stub { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 22px; border-bottom: 2px dashed var(--line-2); }
.tk__no { display: inline-flex; align-items: baseline; gap: 7px; font: 800 36px/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tk__no small { font: 500 10px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }
.tk__area { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--mint-2); font: 500 10.5px/1 var(--font-mono); color: var(--green-ink); white-space: nowrap; }
.tk__area .ico { width: 14px; height: 14px; }
.tk__q { padding: 18px 22px 10px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
html:lang(ko) .tk__q { font-size: 15.5px; line-height: 1.66; }
.tk__foot { padding: 0 22px 18px; font: 400 10px/1 var(--font-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 600px) { .tk { width: 272px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec--tight { padding-top: clamp(32px, 4vw, 60px); }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec__head > div { display: grid; gap: 18px; max-width: 760px; }
.sec__head .lede { font-size: 17px; }

/* plain-words switch: a capsule holding a toggle */
.switch { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 650; transition: border-color .2s; }
.switch:hover { border-color: var(--green); }
.switch__track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: oklch(0.6 0.03 165); transition: background-color .3s var(--ease); }
.switch__track i { position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px oklch(0.2 0.03 165 / 0.3); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--green); }
.switch[aria-checked="true"] .switch__track i { transform: translateX(22px); }

/* the weekly pill organizer: a tray of six lidded compartments */
.organizer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px; border-radius: 36px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 3px 0 1px var(--line), 0 44px 70px -54px oklch(0.25 0.06 165 / 0.5); }
.cell { display: grid; grid-template-rows: auto 1fr auto auto; padding: 12px 12px 24px; border-radius: 26px; background: var(--mint); }
.cell__rim { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-ink); }
.cell__rim .ico { width: 15px; height: 15px; }
.cell__n { color: var(--ink-3); }
.cell__well { position: relative; display: grid; min-height: 272px; border-radius: 20px; background: var(--mint-2); box-shadow: inset 0 3px 9px oklch(0.3 0.05 165 / 0.14), inset 0 0 0 1px var(--line); overflow: hidden; }
.cell__v { grid-area: 1 / 1; display: grid; place-items: center; padding: 30px 16px 20px; transition: opacity .35s var(--ease), visibility 0s; }
.cell h3 { margin-top: 20px; padding: 0 8px; font-size: 20px; font-weight: 720; line-height: 1.25; letter-spacing: -0.02em; }
html:lang(ko) .cell h3 { font-size: 19px; line-height: 1.4; letter-spacing: -0.03em; }
.cell__desc { margin-top: 6px; padding: 0 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
/* lids: translucent green plastic; open = slid up into the rim, a lip stays */
.lid { position: absolute; inset: 0; border-radius: inherit; background: var(--lid); box-shadow: inset 0 0 0 1.5px var(--lid-edge), inset 0 -12px 0 oklch(0.5 0.1 162 / 0.1); transform: translateY(calc(-100% + 16px)); transition: transform .55s var(--ease) calc(var(--i, 0) * 45ms); pointer-events: none; }
.lid i { position: absolute; left: 50%; bottom: 5px; width: 46px; height: 6px; margin-left: -23px; border-radius: 3px; background: var(--lid-edge); }
.v-hard { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.org-wrap[data-plain="false"] .lid { transform: none; }
.org-wrap[data-plain="false"] .v-hard { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.org-wrap[data-plain="false"] .v-clear { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
@media (max-width: 1000px) { .organizer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .organizer { grid-template-columns: 1fr; border-radius: 28px; padding: 10px; gap: 10px; }
  .cell { border-radius: 20px; }
  .cell__well { min-height: 0; }
}

/* specimen pieces: official paper (hard) and printed labels (clear) */
.sp { width: min(100%, 330px); font-size: 14px; line-height: 1.45; text-align: left; }
.sp--wide { width: 100%; }
.sp--doc { padding: 14px 16px 16px; background: var(--notice); color: var(--doc-ink); border-radius: 3px; box-shadow: 0 0 0 1px var(--notice-line), 0 10px 18px -14px oklch(0.25 0.04 165 / 0.4); }
.sp--label { padding: 16px 18px 18px; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-card); }
.sp__id { margin-bottom: 8px; font: 500 9.5px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.sp--doc .sp__id { color: oklch(0.48 0.012 250); }
.sp__id--go { color: var(--green-ink); }
.sp__dense { font: 400 12.5px/1.56 var(--font-doc); text-align: justify; }
html:lang(ko) .sp__dense, .sp__dense:lang(ko) { font-size: 12.5px; line-height: 1.7; }
.sp__big { font: 780 21px/1.15 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
html:lang(ko) .sp__big { font-weight: 750; font-size: 19px; line-height: 1.38; letter-spacing: -0.035em; }
.sp__mid { font-size: 16px; font-weight: 550; line-height: 1.5; }
.sp__sub { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sp-rows { display: grid; gap: 7px; margin-top: 12px; }
.sp-rows li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.sp-rows .ico { width: 17px; height: 17px; margin-top: 1px; color: var(--green-ink); stroke-width: 2; }
.sp-rows .warn .ico { color: var(--ink); }
.sp-rows .warn span { font-weight: 600; }
.sp__pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--green); color: var(--on-green); font-size: 12.5px; font-weight: 650; }
.sp__pill .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.sp--wide .sp__pill { margin-top: 0; }
.sp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin-top: 10px; }
.sp-form span { display: grid; gap: 4px; font-size: 11.5px; line-height: 1.3; }
.sp-form span::after { content: ""; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--paper); }
.sp--doc .sp-form span { font-family: var(--font-doc); font-size: 12px; }
.sp--doc .sp-form span::after { border-radius: 0; border-color: var(--notice-line); }
.sp-form .need { color: var(--ink); font-weight: 650; font-size: 12.5px; }
.sp-form .need::after { border: 1.5px solid var(--green); background: var(--mint); box-shadow: 0 0 0 3px var(--mint-3); }
.sp-form .off { color: var(--ink-3); }
.sp-form .off::after { border-style: dashed; background: transparent; }
.sp-grow { display: flex; align-items: flex-end; gap: 7px; height: 66px; margin-top: 14px; }
.sp-grow i { flex: 1; height: var(--h); min-height: 10px; border-radius: 999px; background: var(--green); }
.sp-grow i:nth-child(-n+3) { background: var(--mint-3); }
.sp-inbox li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.sp--doc .sp-inbox li { border-color: var(--notice-line); }
.sp-inbox li:first-child { border-top: 0; }
.sp-inbox li span { overflow: hidden; text-overflow: ellipsis; }
.sp-inbox li i { width: 7px; height: 7px; border-radius: 50%; background: var(--doc-ink); }
.sp-inbox time { font: 400 10.5px/1 var(--font-mono); color: var(--ink-3); }
.sp-inbox.is-sorted li { color: var(--ink-3); }
.sp-inbox.is-sorted li:not(.now) i { background: var(--line-2); }
.sp-inbox.is-sorted li.now { color: var(--ink); font-weight: 600; }
.sp-inbox.is-sorted li.now i { background: var(--green); }
@media (max-width: 420px) { .sp-form { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* ---------- green field: careful by design, beliefs ---------- */
.field { background: var(--green); color: var(--on-green); padding: clamp(80px, 10vw, 140px) 0; }
.field .lede { color: var(--on-green-2); }
.care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(40px, 6vw, 110px); align-items: center; }
.care__copy { display: grid; gap: 20px; justify-items: start; }
.rules { width: 100%; margin: 12px 0 18px; }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--on-line); }
.rules li:last-child { border-bottom: 1px solid var(--on-line); }
.rules .badge { grid-row: span 2; }
.rules h3 { font-size: 19px; font-weight: 720; line-height: 1.3; letter-spacing: -0.015em; padding-top: 2px; }
.rules p { font-size: 15.5px; line-height: 1.55; color: var(--on-green-2); max-width: 46ch; }
.phone { width: min(100%, 384px); justify-self: center; padding: 11px; border-radius: 50px; background: var(--paper); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.5), 0 50px 80px -40px oklch(0.15 0.06 165 / 0.75); color: var(--ink); }
.phone__screen { display: grid; gap: 14px; align-content: start; min-height: 560px; padding: 12px 16px 26px; border-radius: 40px; background: var(--mint); }
.phone__bar { display: grid; justify-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 650; }
.phone__island { width: 92px; height: 26px; margin-bottom: 6px; border-radius: 999px; background: var(--ink); }
.phone__mode { font: 500 9.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink); background: var(--mint-2); border-radius: 999px; padding: 5px 9px; }
.msg { max-width: 88%; padding: 11px 14px 12px; border-radius: 20px; font-size: 15px; line-height: 1.52; }
html:lang(ko) .msg { line-height: 1.68; }
.msg small { display: block; margin-bottom: 4px; font: 500 9.5px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.msg--me { justify-self: end; background: var(--green); color: var(--on-green); border-bottom-right-radius: 6px; }
.msg--me small { color: var(--on-green-2); }
.msg--ai { justify-self: start; background: var(--paper); border-bottom-left-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.msg--ai small { color: var(--ink-3); }
.slip { margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--notice); font: 400 14px/1.5 var(--font-doc); color: var(--doc-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; }
.chips .ico { width: 15px; height: 15px; color: var(--green-ink); }
@media (max-width: 900px) {
  .care { grid-template-columns: 1fr; }
  .phone__screen { min-height: 0; }
}

/* ---------- newsroom ---------- */
.news-count { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.post { min-width: 0; }
.post a { display: grid; grid-template-rows: auto auto 1fr; gap: 12px; height: 100%; padding: 10px 10px 20px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.post a:hover { box-shadow: 0 0 0 2px var(--green); }
.post__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--mint-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post a:hover .post__img img { transform: scale(1.03); }
.post__meta { display: flex; gap: 10px; align-items: center; padding: 0 8px; font: 400 11px/1 var(--font-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post__meta em { font-style: normal; padding: 4px 8px; border-radius: 999px; background: var(--mint-2); color: var(--green-ink); letter-spacing: 0.02em; }
.post__title { display: -webkit-box; padding: 0 8px; font: 600 16.5px/1.5 "Pretendard Variable", Pretendard, var(--font-body); letter-spacing: -0.02em; word-break: keep-all; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post a:hover .post__title { text-decoration: underline; text-decoration-color: var(--green-hi); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* ---------- closing band ---------- */
.close { background: var(--deep); color: var(--on-green); padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.close__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.close .display { max-width: 12ch; margin-bottom: 38px; }
html:lang(ko) .close .display { max-width: 11em; }
.close__art { width: clamp(150px, 22vw, 300px); }
.close__art .mark__w { fill: var(--paper); stroke: none; }
.close__art .mark__g { fill: var(--green-hi); stroke: none; }
.close__art .mark__s { stroke-width: 6; }
@media (max-width: 700px) {
  .close__in { grid-template-columns: 1fr; }
  .close__art { width: 120px; grid-row: 1; }
}

/* ---------- footer ---------- */
.foot { padding: 34px 0 42px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; }
.foot__nav a { padding: 4px 0; }
.foot__nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green-hi); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.foot__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.foot .mark { width: 26px; height: 26px; }
.foot .brand__word { font-size: 21px; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; justify-items: start; } .foot__nav { justify-content: flex-start; } }

/* ---------- inner pages ---------- */
.phero { padding: clamp(52px, 7.5vw, 116px) 0 clamp(44px, 5.5vw, 84px); border-bottom: 2px dashed var(--line-2); }
.phero__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.phero .display { max-width: 12ch; }
html:lang(ko) .phero .display { max-width: 12em; }
.phero .lede { padding-bottom: 8px; }
@media (max-width: 900px) { .phero__in { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px clamp(32px, 6vw, 96px); }
.split .prose { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 36em; }
html:lang(ko) .split .prose { font-size: 17px; line-height: 1.85; }
.split .prose strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, var(--mint-3) 62%); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* timeline: capsule nodes on a perforated line, label cards below */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 2px dashed var(--line-2); }
.tl { position: relative; display: grid; gap: 18px; align-content: start; }
.tl__when { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding-right: 14px; background: var(--mint); font: 500 11px/32px var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.tl__when i { width: 32px; height: 15px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }
.tl--now .tl__when i { border-color: var(--green); background: linear-gradient(90deg, var(--paper) 50%, var(--green) 50%); }
.tl--next .tl__when i { border-style: dashed; border-color: var(--ink-3); }
.tl__card { display: grid; gap: 10px; align-content: start; height: 100%; padding: 24px 24px 28px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.tl--now .tl__card { box-shadow: 0 0 0 2px var(--green); }
.tl h3 { font-size: 21px; font-weight: 740; line-height: 1.25; letter-spacing: -0.02em; }
html:lang(ko) .tl h3 { font-size: 20px; line-height: 1.4; letter-spacing: -0.035em; }
.tl p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 15px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--line-2); }
  .tl__when { background: transparent; }
  .tl__when i { width: 32px; position: relative; background-color: var(--paper); }
  .tl__card { margin-left: 44px; }
}

.field--band { padding: clamp(72px, 9vw, 130px) 0; }
.beliefs { margin-top: clamp(28px, 4vw, 48px); }
.beliefs li { display: grid; grid-template-columns: 56px minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px 40px; align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--on-line); }
.beliefs li:last-child { border-bottom: 1px solid var(--on-line); }
.beliefs__n { font: 500 12px/1 var(--font-mono); color: var(--on-green-2); }
.beliefs h3 { font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.9rem); font-weight: 780; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
html:lang(ko) .beliefs h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); line-height: 1.3; letter-spacing: -0.04em; }
.beliefs p { font-size: 16.5px; line-height: 1.65; color: var(--on-green-2); max-width: 38ch; }
@media (max-width: 800px) { .beliefs li { grid-template-columns: 1fr; gap: 10px; } }

/* what we do: capability rows with a printed-label specimen */
.caps { display: grid; gap: 18px; }
.cap { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 24px clamp(28px, 5vw, 72px); align-items: center; padding: clamp(14px, 1.6vw, 20px); padding-left: clamp(22px, 3.2vw, 48px); border-radius: 32px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.cap__txt { display: grid; gap: 14px; align-content: center; padding: 12px 0; }
.cap__name { font: 800 clamp(2.5rem, 1.7rem + 2.4vw, 4.4rem)/0.95 var(--font-display); letter-spacing: -0.04em; }
html:lang(ko) .cap__name { font-weight: 800; font-size: clamp(2.1rem, 1.6rem + 1.7vw, 3.2rem); line-height: 1.15; letter-spacing: -0.05em; }
.cap__txt p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34ch; }
html:lang(ko) .cap__txt p { line-height: 1.8; max-width: 26em; }
.cap__spec { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; justify-items: center; gap: 14px; min-height: 260px; padding: 56px clamp(16px, 2.6vw, 32px) 32px; border-radius: 24px; background: var(--mint-2); }
.cap--answer .cap__spec { grid-template-columns: 1fr; }
.stamp { position: absolute; left: 16px; top: 16px; padding: 6px 11px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); font: 500 9.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.cap__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--on-green); }
.cap__arrow .ico { width: 20px; height: 20px; stroke-width: 2; }
.cap__chat { display: grid; gap: 12px; width: min(100%, 440px); }
.cap__chat .msg { margin: 0; }
@media (max-width: 1100px) {
  .cap__spec { grid-template-columns: 1fr; }
  .cap__arrow { transform: rotate(90deg); }
}
@media (max-width: 860px) { .cap { grid-template-columns: 1fr; padding: 14px; } .cap__txt { padding: 14px 10px 4px; } }

.cards { display: grid; gap: 16px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: grid; gap: 10px; align-content: start; padding: 24px 24px 30px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.card .badge { margin-bottom: 14px; width: 50px; height: 50px; background: var(--mint-2); }
.card h3 { font-size: 20px; font-weight: 720; line-height: 1.28; letter-spacing: -0.015em; }
html:lang(ko) .card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -0.03em; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 1000px) { .cards--4, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }

/* limits: one label, two halves, a perforation between what AI can do and what stays with people */
.limits { display: grid; gap: 12px; }
.limits li { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.limits li > span { display: flex; gap: 12px; align-items: flex-start; padding: 22px 26px; font-size: 17.5px; line-height: 1.5; }
html:lang(ko) .limits li > span { font-size: 17px; line-height: 1.65; }
.limits__cant { background: var(--mint-2); border-left: 2px dashed var(--line-2); font-weight: 600; }
.limits .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--green-ink); stroke-width: 2; }
@media (max-width: 700px) {
  .limits li { grid-template-columns: 1fr; }
  .limits__cant { border-left: 0; border-top: 2px dashed var(--line-2); }
}

/* how we work: the path as a row of tickets */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tk--flow { width: auto; }
.tk--flow .tk__in { --cut: 92px; min-height: 0; grid-template-rows: var(--cut) 1fr; }
.tk__verb { font-size: clamp(1.9rem, 1.4rem + 1.1vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
html:lang(ko) .tk__verb { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem); line-height: 1.2; letter-spacing: -0.045em; }
.tk--flow .tk__no { padding: 6px 10px; border-radius: 999px; background: var(--mint-2); font: 500 11px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--green-ink); }
.tk--flow .tk__q { padding: 18px 22px 26px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* next page: one big two-tone capsule */
.next { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); }
.next__card { display: flex; align-items: stretch; border: 2px solid var(--green); border-radius: 999px; background: var(--paper); overflow: hidden; transition: border-color .2s; }
.next__card .h2 { flex: 1; min-width: 0; padding: clamp(24px, 3.4vw, 44px) clamp(28px, 4vw, 60px); }
.next__go { display: grid; place-items: center; width: clamp(88px, 12vw, 176px); background: var(--green); color: var(--on-green); flex: none; }
.next__go .ico { width: clamp(30px, 3.4vw, 44px); height: clamp(30px, 3.4vw, 44px); stroke-width: 1.8; transition: transform .4s var(--ease); }
.next__card:hover { border-color: var(--deep); }
.next__card:hover .next__go .ico { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .counter.is-armed .label { transform: none; }
}
