/* The WorkStation — public site. Tokens from the 2026-09 home page redesign: warm off-white
   ground, forest green panels, brand green, lime accent; Archivo with its width axis for
   display type, JetBrains Mono for labels and figures; rounded panels and pill buttons.
   blog.html and thai-scan-receipt.html share this file (header, footer, buttons, forms). */
:root {
  --bg: #f3f2ec;
  --card: #ffffff;
  --text: #10170f;
  --deep: #0f2413;
  --lime: #c8f26b;
  --accent: #1f7a2e;
  /* The accent ramp and neutral scale keep their old names: the blog and receipt pages'
     own styles use them. Neutrals are tinted green to sit on the warm ground. */
  --accent-100: #eef1e6; --accent-200: #d9e8cf; --accent-300: #b6d3a4;
  --accent-400: #7fb56b; --accent-500: #3f9446; --accent-600: #1f7a2e;
  --accent-700: #1a6727; --accent-800: #13501d; --accent-900: #0f2413;
  --surface: #e4e3da;
  --n-100: #f7f6f1; --n-200: #e4e3da; --n-300: #d3d4c9; --n-400: #aeb3a8;
  --n-500: #676f63; --n-600: #5b6358; --n-700: #4d554a; --n-800: #2c332a; --n-900: #1b2119;
  --line: color-mix(in srgb, var(--text) 10%, transparent);

  /* Text on the forest-green panels */
  --on-deep: #eef3e6;
  --on-deep-2: #c6d0bf;
  --on-deep-3: #93a08b;
  --on-deep-line: color-mix(in srgb, #eef3e6 16%, transparent);

  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--text) 10%, transparent);
  --shadow-md: 0 6px 18px color-mix(in srgb, var(--text) 10%, transparent);
  --shadow-lg: 0 18px 40px color-mix(in srgb, var(--text) 12%, transparent);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-panel: 28px;
  --r-card: 20px;
  --maxw: 1280px;
  --gutter: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* The UA's `[hidden] { display: none }` loses to any author `display` rule, so
   `.btn { display: inline-flex }` kept hidden buttons on screen as empty boxes. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* height: auto keeps the width/height attributes from fixing the height once CSS narrows
   the width; without it the Visit Us photo was drawn squashed. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.muted { color: var(--n-700); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100; border-radius: 999px;
  background: var(--text); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 8px; }

/* Buttons: pills. Primary is ink on the light ground; the lime and ghost variants are for
   the forest-green panels. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 14.5px; line-height: 1.1;
  padding: 14px 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap; text-align: center;
}
.btn-lg { padding: 17px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 28%, transparent); }
.btn-outline:hover { border-color: var(--text); }
.btn-lime { background: var(--lime); color: var(--deep); }
.btn-lime:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 32%, transparent); }
.btn-ghost:hover { border-color: var(--on-deep); color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); }
.link-arrow:hover { color: var(--text); }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 48px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links > a { font-weight: 500; font-size: 14.5px; color: var(--text); }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--accent); }
/* `.nav-links > a` outranks `.btn-primary`, so the button restates its own colours and weight
   (it rendered at the links' 500 beside a 700 account pill). */
/* One fixed height for every header button, so a pill with an avatar lines up with the rest. */
.nav-links .btn { height: 40px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--bg); }
.nav-links .btn:hover { color: #fff; }
/* Member account: a "Member login" pill, or when signed in a pill with the first name that
   opens a small menu under it (My account, Sign out). */
/* Paired with "Book a desk": 10px apart instead of the 26px between links. */
.nav-account { position: relative; display: flex; margin-right: -16px; }
.nav-links .nav-account .btn-outline { color: var(--text); background: transparent; }
.nav-links .nav-account .btn-outline:hover, .nav-account .btn[aria-expanded="true"] { color: var(--text); border-color: var(--text); }
/* The initial sits 6px in from the top, bottom and left edge (1px border + 5px); the chevron
   keeps a matching optical margin on the right. */
.nav-links .nav-account-btn { gap: 8px; padding: 0 14px 0 5px; }
.nav-account-initial {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--deep); color: var(--lime); font-size: 12.5px; font-weight: 800;
}
.nav-account-name { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }
.nav-account-chev { display: inline-flex; transition: transform .2s var(--ease-out); }
.nav-account-chev svg { width: 15px; height: 15px; }
.nav-account-btn[aria-expanded="true"] .nav-account-chev { transform: rotate(180deg); }
.nav-account-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 220px;
  display: flex; flex-direction: column; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  transform-origin: top right;
  /* display and overlay step at the end, so the menu stays drawn while it fades out. */
  transition: opacity .16s var(--ease-out), transform .16s var(--ease-out),
    display .16s allow-discrete, overlay .16s allow-discrete;
}
/* Opening grows it out of the pill's corner; closing settles it back, a little quicker. */
@starting-style { .nav-account-menu { opacity: 0; transform: translateY(-4px) scale(.97); } }
.nav-account-menu[hidden] { opacity: 0; transform: translateY(-4px) scale(.97); transition-duration: .12s; }
/* Invisible bridge over the gap, so the pointer can travel from the pill into the menu. */
.nav-account-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.nav-account-who { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--n-700); overflow-wrap: anywhere; }
.nav-account-who b { display: block; color: var(--text); font-weight: 600; }
/* The plan and its time left, under who is signed in; the dashboard's Overview wording. */
.nav-account-planbox { display: contents; }
.nav-account-plan { padding: 6px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.nav-account-plan b { display: block; color: var(--text); font-weight: 700; font-size: 14px; }
.nav-account-left { color: var(--n-700); }
.nav-account-left.is-active { color: var(--accent-700); font-weight: 600; }
.nav-account-left.is-ended { color: #b3261e; font-weight: 600; }
.nav-account-menu a, .nav-account-menu button {
  display: flex; align-items: center; min-height: 42px; padding: 10px 12px; border-radius: 10px;
  font: 600 14.5px var(--font); color: var(--text); background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.nav-account-menu button:disabled { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .nav-account-menu a:hover, .nav-account-menu button:hover { background: var(--accent-100); }
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); cursor: pointer; padding: 9px; border-radius: 10px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Between the site's pages (home, blog, terms, receipt upload, the member dashboard): the
   browser's own crossfade, with the header held still. Browsers without it change page as
   before; with reduced motion it is off. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Shared section rhythm (home) */
.sec { padding-top: clamp(72px, 9vw, 120px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-title { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.sec-title.wide { max-width: none; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: .95; font-weight: 800; font-stretch: 115%; letter-spacing: -0.03em; }
.lede { max-width: 360px; font-size: 16px; line-height: 1.6; color: var(--n-700); text-wrap: pretty; }

/* Hero: one forest-green panel, copy left and storefront right. It sits on the same rail as
   the header and every section (.wrap's width and gutters), so its edges line up with them. */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 0; }
.hero-panel {
  background: var(--deep); color: var(--on-deep);
  border-radius: var(--r-panel); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero-copy {
  padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  container-type: inline-size;
}
.hero-top { display: flex; flex-direction: column; gap: 28px; }
.status {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 7px 14px 7px 11px; border: 1px solid var(--on-deep-line); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
/* The ring is a pseudo-element scaled and faded on the compositor; animating box-shadow
   (as the mockup did) repaints every frame. */
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #aee65a; flex: none; }
.status-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #aee65a;
  /* Two pulses say "live" and then it rests: endless motion keeps pulling the eye, and
     WCAG 2.2.2 wants anything moving for over 5 seconds to be pausable. */
  animation: ping 2s cubic-bezier(0, 0, .2, 1) 2;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status-dot::after { animation: none; opacity: 0; } }
/* Sized from the column, not the viewport: at 1024px the column is half the screen and a
   vw size ran "together." past its edge. */
.hero h1 {
  font-size: clamp(44px, 19cqi, 112px); line-height: .9; font-weight: 850; font-stretch: 118%; letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-lead { max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--on-deep-2); text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  border-top: 1px solid var(--on-deep-line); padding-top: 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-n { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-l { white-space: nowrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-3); }
.hero-media { position: relative; min-height: 520px; }
.hero-media img {
  position: absolute; top: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 32px);
  object-fit: cover; border-radius: 18px;
  /* The column is taller than the photo is wide, so only part of the sign fits: this keeps
     "WorkStation" and "Coworking & Education Center" whole and drops the icon on the left. */
  object-position: 72% 0;
}
.rating-badge {
  position: absolute; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 14px;
  background: var(--bg); color: var(--text); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.rating-score { font-size: 30px; font-weight: 850; font-stretch: 115%; color: var(--accent); line-height: 1; }
.rating-meta { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.3; color: var(--n-600); }
.rating-meta .stars { color: var(--text); font-weight: 700; letter-spacing: 0.05em; }

/* 01 The space: 12-column bento. Rows are 240px, not the mockup's 220: at 220 the wide
   tile became a 2.3:1 strip that cut the portrait lounge photo down to a band. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-main { grid-column: span 7; grid-row: span 2; }
.tile-main img { object-position: 50% 62%; }
.tile-wide { grid-column: span 5; }
.tile-wide img { object-position: 50% 64%; }
.tile-small { grid-column: span 3; }
.tile-small img { object-position: 38% 58%; }
.tile-note {
  grid-column: span 2; background: var(--lime); color: var(--deep); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.tile-note .eyebrow { color: var(--deep); font-size: 11px; }
.tile-note p { font-size: 17px; font-weight: 700; line-height: 1.25; }
.tile-label {
  position: absolute; top: 16px; left: 16px; background: var(--bg); color: var(--text);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3;
}

/* 02 Services: heading sticks while the cards scroll past it. */
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.services-head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; align-self: start; }
.svc-list { list-style: none; display: grid; gap: 14px; }
.svc-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 230px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}
.svc-card:has(a:focus-visible) { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.svc-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-100); display: grid; place-items: center; }
.svc-icon svg { width: 16px; height: 16px; }
.svc-card h3 { margin-top: auto; font-size: 24px; font-weight: 750; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.1; }
.svc-card p { font-size: 14.5px; line-height: 1.55; color: var(--n-700); text-wrap: pretty; max-width: 58ch; }
/* The link is the card's one control; its ::after stretches over the whole card so every
   part of it is clickable without wrapping the heading and text in the link's name. */
.svc-card .link-arrow { font-size: 14px; }
/* Where :has() works the whole card carries the focus ring, so the link's own ring would be a second one. */
@supports selector(:has(a)) { .svc-card .link-arrow:focus-visible { outline: none; } }
.svc-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* 03 Membership */
.plan-tabs { display: flex; background: var(--surface); border-radius: 999px; padding: 5px; gap: 4px; }
.plan-tabs button {
  border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; background: transparent; color: var(--text);
  font-family: var(--font); font-size: 14px; font-weight: 650; transition: background-color .15s, color .15s;
}
.plan-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
/* Forced colours drop the fill that marks the chosen tab, so draw it with a system colour. */
@media (forced-colors: active) { .plan-tabs button[aria-pressed="true"] { outline: 2px solid Highlight; } }
.plan-tabs button:not([aria-pressed="true"]):hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* The empty/error note is a message, not a card — let it span the grid. */
.plan-grid:has(.plan-note) { grid-template-columns: 1fr; }
.plan-card {
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px; display: flex; flex-direction: column; gap: 22px; min-height: 340px;
}
.plan-card.is-popular { background: var(--deep); color: var(--on-deep); border-color: transparent; }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-name { font-size: 18px; font-weight: 750; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.2; }
/* Holds its line when empty, so prices line up across a row. */
.plan-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; min-height: 1lh; color: var(--n-600); }
.is-popular .plan-sub, .is-popular .plan-period { color: var(--on-deep-2); }
.plan-badge {
  flex: none; background: var(--lime); color: var(--deep); font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan-amount { font-size: clamp(40px, 4vw, 52px); font-weight: 850; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-period { font-size: 14px; color: var(--n-600); }
.plan-feats {
  list-style: none; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; flex: 1;
}
.is-popular .plan-feats { border-top-color: var(--on-deep-line); }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feats svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.is-popular .plan-feats svg { color: var(--lime); }
.plan-actions { display: flex; flex-direction: column; gap: 8px; }
.plan-note { grid-column: 1 / -1; color: var(--n-700); font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.plan-note a { color: var(--accent); font-weight: 700; }
.plan-fee {
  margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--n-700); padding: 16px 22px; border: 1px dashed color-mix(in srgb, var(--text) 22%, transparent); border-radius: 16px;
}
.plan-fee strong { color: var(--text); }
.plan-fee-pay { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.plan-fee .btn { padding: 10px 16px; font-size: 13.5px; }

/* Registration dialog (Select plan): steps, then payment by card or Thai QR. */
.pp {
  width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto;
  padding: 24px 24px 26px; border: 0; border-radius: 22px;
  background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  overscroll-behavior: contain;
}
.pp::backdrop { background: color-mix(in srgb, var(--deep) 60%, transparent); backdrop-filter: blur(3px); }
.pp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.pp-head h2 { font-size: 26px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; margin-top: 6px; }
.pp-plan { color: var(--n-700); font-size: 15px; margin-top: 4px; }
.pp-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--text);
}
.pp-close svg { width: 18px; height: 18px; }
.pp-close:hover { border-color: var(--text); }
.pp-step { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pp-member { border: 0; margin-bottom: 18px; display: grid; gap: 8px; }
.pp-member legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pp-choice {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 15px;
}
.pp-choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pp-choice input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.pp-qr { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 20px; }
.pp-wait { color: var(--n-700); font-size: 14.5px; }
.pp-code { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.pp-code canvas { width: 220px; height: 220px; image-rendering: pixelated; }
.pp-amount { font-size: 34px; font-weight: 850; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-shop { font-size: 14px; font-weight: 600; color: var(--n-700); }
.pp-howto { font-size: 13.5px; color: var(--n-700); max-width: 34ch; }
.pp-code .btn { margin-top: 6px; padding: 10px 16px; font-size: 13.5px; }
.pp-form { gap: 12px; }
.pp-form input[type="file"] { padding: 10px 12px; background: var(--surface); cursor: pointer; }
.pp-form .hint { color: var(--n-700); font-weight: 400; font-size: 13px; }
.pp-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pp-done h3 { font-size: 24px; font-weight: 800; font-stretch: 112%; }
.pp-done h3:focus { outline: none; }
.pp-done p { color: var(--n-700); }

.join-progress {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--n-600);
}
.join-progress li { padding-top: 8px; border-top: 3px solid var(--n-300); text-align: center; }
.join-progress li.is-done { border-top-color: var(--accent); color: var(--accent); }
.join-progress li[aria-current="step"] { border-top-color: var(--text); color: var(--text); font-weight: 500; }
.join-form { gap: 14px; }
.join-step { display: flex; flex-direction: column; gap: 12px; }
.join-step h3:focus { outline: none; }
.join-form textarea { min-height: 0; }
.join-terms { border: 0; display: grid; gap: 8px; }
/* Choice cards inside the form: the form's label grid and full-width inputs do not apply. */
.contact-form .pp-choice, .contact-form .join-check {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  font-size: 14.5px; font-weight: 400; line-height: 1.45; color: var(--text);
}
.contact-form .pp-choice input, .contact-form .join-check input {
  width: 18px; height: 18px; margin-top: 2px; padding: 0; flex: none; accent-color: var(--accent);
}
.contact-form .join-check { font-size: 14px; }
.contact-form .join-check:has(input:checked) { border-color: var(--accent); }
.join-summary {
  display: grid; grid-template-columns: auto 1fr; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; font-size: 14.5px;
}
.join-summary dt, .join-summary dd { padding: 9px 0; border-top: 1px solid var(--line); }
.join-summary dt:first-of-type, .join-summary dd:first-of-type { border-top: 0; }
.join-summary dt { color: var(--n-600); }
/* No column gap: the rule between rows runs unbroken; dd keeps its distance with padding. */
.join-summary dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; padding-left: 16px; }
.join-fine { font-size: 13px; color: var(--n-700); }
.join-fine a, .contact-form .join-check a { color: var(--accent-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.join-method .join-method-sub { font-size: 13px; color: var(--n-700); font-weight: 400; }
.join-method b { font-weight: 700; }
.join-slip { margin-top: 16px; }
.join-form .hint { color: var(--n-700); font-weight: 400; font-size: 13px; }
/* The member account tick at the end of the contact step, with its password fields. */
.join-account { border: 0; display: grid; gap: 14px; margin-top: 6px; }
.join-account-fields { display: grid; gap: 14px; }
.join-signed { font-size: 14px; color: var(--n-800); background: var(--accent-100); border-radius: 12px; padding: 10px 14px; }
.join-slip input[type="file"] { padding: 10px 12px; background: var(--surface); cursor: pointer; }
.join-slip .hint { color: var(--n-700); font-weight: 400; font-size: 13px; }
/* Bank transfer: the amount, the account to pay into, and the bank's receipt. */
.join-bank { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.join-bank .pp-howto { max-width: none; }
.join-bank .btn { padding: 10px 16px; font-size: 13.5px; }
.join-bank .join-slip { margin-top: 6px; align-self: stretch; }
.bank-details {
  display: grid; grid-template-columns: auto 1fr; align-self: stretch; margin: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; font-size: 14.5px;
}
.bank-details dt, .bank-details dd { padding: 8px 0; border-top: 1px solid var(--line); }
.bank-details dt:first-of-type, .bank-details dd:first-of-type { border-top: 0; }
.bank-details dt { color: var(--n-600); padding-right: 16px; }
.bank-details dd { font-weight: 600; overflow-wrap: anywhere; }
.bank-details dd.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; }
.join-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.join-nav .btn { flex: 1; }
.join-nav #joinBack[hidden] + #joinNext { flex: 1; }
.pp-done .btn { align-self: stretch; }

/* Skeletons */
.sk { background: var(--n-200); border-radius: 8px; animation: pulse 1.3s ease-in-out infinite; }
.is-skeleton { pointer-events: none; }
.sk-1 { height: 16px; width: 55%; }
.sk-2 { height: 44px; width: 70%; }
.sk-3 { height: 46px; width: 100%; margin-top: auto; border-radius: 999px; }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* 04 Visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.visit-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px;
}
/* overflow-wrap lets the long email address break on a 320px phone instead of widening the card. */
.visit-card address { overflow-wrap: anywhere; font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.55; color: var(--n-700); }
.visit-card address strong { color: var(--text); font-weight: 700; }
.visit-card address a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.visit-card address a:hover { color: var(--accent); }
/* dt/dd sit directly in the <dl> (no wrapper divs, which some screen readers mis-read);
   the two-column grid pairs them into rows. */
/* Cells stretch to the row's height and centre their own content, so the rule above a
   row stays one straight line when the TODAY badge makes one cell taller. */
.hours { display: grid; grid-template-columns: 1fr auto; font-size: 15px; }
.hours dt, .hours dd { padding: 14px 0; border-top: 1px solid var(--line); display: flex; align-items: center; }
.hours dt { font-weight: 600; gap: 10px; }
.hours dd { font-family: var(--mono); font-size: 13.5px; justify-content: flex-end; padding-left: 16px; }
.today {
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
}
.hours-note { margin-top: 6px; font-size: 13px; color: var(--n-600); }
.visit-card .btn { align-self: flex-start; }
.visit-map { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; background: #e7e9dd; }
.visit-map > a { position: absolute; inset: 0; }
.visit-map img { width: 100%; height: 100%; object-fit: cover; }
.map-credit {
  position: absolute; right: 10px; bottom: 10px; font-size: 11px; line-height: 1.3; color: var(--n-700);
  background: color-mix(in srgb, var(--bg) 88%, transparent); padding: 3px 8px; border-radius: 999px;
}
.map-credit a { text-decoration: underline; }

/* 05 Contact */
.contact { padding-bottom: clamp(72px, 9vw, 120px); }
.contact-panel {
  background: var(--deep); color: var(--on-deep); border-radius: var(--r-panel);
  padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
}
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy .eyebrow { color: var(--lime); }
.contact-copy p { max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--on-deep-2); }
.contact-done { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; border: 1px solid var(--on-deep-line); border-radius: 18px; padding: 32px; }
.contact-done h3 { font-size: 28px; font-weight: 800; font-stretch: 112%; color: var(--lime); }
.contact-done h3:focus { outline: none; }
.contact-done p { color: var(--on-deep-2); margin-bottom: 8px; }

/* Forms. Light by default (the receipt page); the contact panel restyles them for dark. */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Grid, not a flex column: in a column every child is its own row, so "(optional)" fell
   onto a line of its own under "Phone". Here the label text and .opt share the first row
   and the field (plus any hint) takes the full width beneath. */
.contact-form label { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 5px; font-weight: 600; font-size: 14px; color: var(--n-800); }
.contact-form label > :not(.opt) { grid-column: 1 / -1; }
.contact-form .opt { color: var(--n-600); font-weight: 400; }
.contact-form input, .contact-form textarea {
  font-family: var(--font); font-size: 16px; color: var(--text);
  background: var(--card); border: 1px solid var(--n-500); border-radius: 12px; padding: 13px 15px; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--accent-500); outline-offset: 0; border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; font-weight: 600; }
.form-status.ok { color: var(--accent-700); }
.form-status.err { color: #b3261e; }
.contact-panel .contact-form { gap: 14px; }
.contact-panel .contact-form label { color: var(--on-deep-2); font-size: 13px; }
.contact-panel .contact-form .opt { color: var(--on-deep-3); }
.contact-panel .contact-form input, .contact-panel .contact-form textarea {
  background: color-mix(in srgb, var(--on-deep) 6%, transparent); color: var(--on-deep);
  /* 42% keeps the field's edge at 3:1 against the panel (WCAG 1.4.11); the mockup's 18% was 1.6:1. */
  border-color: color-mix(in srgb, var(--on-deep) 42%, transparent);
}
.contact-panel .contact-form input:focus, .contact-panel .contact-form textarea:focus { outline-color: var(--lime); border-color: var(--lime); }
.contact-panel .form-status.ok { color: var(--lime); }
.contact-panel .form-status.err { color: #ffb4a8; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; font-size: 14px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--n-600); max-width: 300px; line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n-600); margin-bottom: 2px; }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding-block: 18px 28px; font-family: var(--mono); font-size: 11.5px; color: var(--n-600);
}
.footer-legal a:hover { color: var(--text); }
.footer-legal-links { display: flex; gap: 20px; }

/* Responsive */
@media (max-width: 1100px) {
  .tile-small { grid-column: span 3; }
  .tile-note { grid-column: span 2; padding: 16px; }
  .tile-note p { font-size: 15px; }
}
@media (max-width: 960px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy { gap: 40px; }
  /* Stacked, the photo takes its own shape: the desktop min-height on a narrow column
     cropped the sign down to its middle third. */
  .hero-media { min-height: 0; padding: 0 16px 16px; }
  .hero-media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .rating-badge { left: 32px; bottom: 32px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .tile-wide, .tile-small { grid-column: span 1; aspect-ratio: 4 / 3; }
  .tile-note { grid-column: 1 / -1; flex-direction: row; align-items: baseline; padding: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-head { position: static; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  /* Side by side, cards share a row height: titles pinned under the number and links at the
     foot line up across the row, where bottom-stacked content stepped up and down. */
  .svc-card h3 { margin-top: 0; }
  .svc-card .link-arrow { margin-top: auto; align-self: flex-start; }
  /* Two columns left the third pass alone on a row. One card per row, laid out sideways:
     name and price left, what's included right, both checkout buttons beneath. */
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px 32px; min-height: 0; }
  .plan-top { grid-column: 1; grid-row: 1; }
  .plan-price { grid-column: 1; grid-row: 2; align-self: start; }
  .plan-feats { grid-column: 2; grid-row: 1 / span 2; border-top: 0; padding-top: 0; }
  .plan-actions { grid-column: 1 / -1; flex-direction: row; }
  .plan-actions .btn { flex: 1; }
  .plan-card.is-skeleton { display: flex; }
  .visit-grid, .contact-panel { grid-template-columns: 1fr; }
  .visit-map { min-height: 0; aspect-ratio: 4 / 3; }
  .contact-panel { gap: 32px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; margin: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .btn { margin-top: 12px; height: 48px; padding: 0 18px; font-size: 15px; }
  /* In the phone menu the account block is a full-width row, and its menu opens in place. */
  .nav-account { flex-direction: column; margin-right: 0; }
  .nav-account .btn { width: 100%; }
  .nav-links .nav-account-btn { justify-content: flex-start; padding: 0 16px 0 9px; }  /* initial 10px in, as on desktop's 6 */
  .nav-account-chev { margin-left: auto; }
  .nav-account-menu { position: static; margin-top: 8px; box-shadow: none; min-width: 0; }
  .nav-account-menu::before { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .hero { padding-top: 10px; }
  .hero-panel { border-radius: 22px; }
  .hero-copy { padding: 26px 22px; }
  .hero-media { padding: 0 10px 10px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .rating-badge { left: 22px; bottom: 22px; padding: 11px 13px; gap: 11px; }
  .rating-score { font-size: 26px; }
  .bento { grid-template-columns: 1fr; }
  .tile-main { aspect-ratio: 4 / 3; }
  .tile-wide, .tile-small { grid-column: 1 / -1; }
  .tile-note { flex-direction: column; gap: 10px; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; padding: 24px; }
  .plan-tabs { width: 100%; }
  /* Grow from each label's own width, so the long label keeps one line. */
  .plan-tabs button { flex: 1 1 auto; padding-inline: 12px; }
  .plan-card { display: flex; padding: 26px 24px; }
  .plan-feats { border-top: 1px solid var(--line); padding-top: 18px; }
  .is-popular .plan-feats { border-top-color: var(--on-deep-line); }
  .plan-actions { flex-direction: column; }
  .plan-actions .btn { flex: none; }
  /* One card per row: nothing to line up with, so the reserved line would only be a gap. */
  .plan-sub:empty { display: none; }
  .contact-panel { border-radius: 22px; padding: 26px 22px; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
