/* Inqlite public site (DESIGN §21). Tokens: a copy of docs/brand/uketsuke/tokens.css (generated by docs/brand/_build/uk_logos.py).
   Rules: the landing and slip rules of docs/brand/uketsuke/mocks/mock.css and layout 2 of docs/brand/waitlist/options/wl.css.
   No web fonts: the font stacks resolve to system faces (DESIGN §21.6, item 4). */
:root {
  color-scheme: light dark;
  --color-paper: oklch(98.7% 0.003 165); /* #F9FBFA */
  --color-paper-2: oklch(96.4% 0.008 180); /* #EEF5F3 */
  --color-paper-3: oklch(94.3% 0.018 185); /* #E0F0EE */
  --color-ink: oklch(22% 0.012 250); /* #161B20 */
  --color-ink-2: oklch(40% 0.014 240); /* #41494F */
  --color-muted: oklch(50% 0.016 230); /* #5A656B */
  --color-form: oklch(44% 0.066 195); /* #195E5E */
  --color-rule: oklch(83% 0.034 190); /* #AFCFCC */
  --color-rule-strong: oklch(57% 0.062 193); /* #488381 */
  --color-ink-on: oklch(98.7% 0.003 165); /* #F9FBFA */
  --color-seal: oklch(55% 0.205 31); /* #CE260F */
  --color-seal-on: oklch(98.7% 0.003 165); /* #F9FBFA */
  --color-focus: oklch(22% 0.012 250); /* #161B20 */
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-figures: "BIZ UDGothic", "Osaka-Mono", "MS Gothic", monospace;
  --font-hand: "Klee One", "YuKyokasho Yoko", "Yu Kyokasho N", "Hiragino Sans", sans-serif;
  --text-xs: 0.75rem; --text-sm: 0.8125rem; --text-md: 0.9375rem; --text-lg: 1.0625rem; --text-xl: 1.25rem;
  --text-2xl: 1.5rem; --text-3xl: 2rem; --text-4xl: 2.75rem; --text-5xl: 3.5rem;
  --leading-ui: 1.45; --leading-body: 1.75; --leading-head: 1.3;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --radius-none: 0px; --radius-seal: 50%;
  --rule-hair: 1px; --rule-heavy: 2px;
  --control-h: 40px; --hit: 44px;
  --seal-name: 40px; --seal-date: 68px; --seal-ring: 2px;
  --seal-turn: -6deg;
  --pad-offset: 4px;
  --dur-micro: 120ms; --dur-short: 200ms; --dur-stamp: 360ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-press: cubic-bezier(0.5, 0, 0.9, 0.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-paper: oklch(19% 0.008 200); /* #101515 */
    --color-paper-2: oklch(22.5% 0.011 200); /* #161D1E */
    --color-paper-3: oklch(27.5% 0.018 198); /* #1D2A2B */
    --color-ink: oklch(94% 0.004 180); /* #E8ECEB */
    --color-ink-2: oklch(81% 0.008 190); /* #BBC3C2 */
    --color-muted: oklch(69% 0.014 195); /* #929E9E */
    --color-form: oklch(76% 0.06 190); /* #84BEB9 */
    --color-rule: oklch(34% 0.028 196); /* #263D3D */
    --color-rule-strong: oklch(56% 0.05 194); /* #507E7D */
    --color-ink-on: oklch(19% 0.008 200); /* #101515 */
    --color-seal: oklch(72% 0.17 33); /* #FC765B */
    --color-seal-on: oklch(19% 0.008 200); /* #101515 */
    --color-focus: oklch(94% 0.004 180); /* #E8ECEB */
  }
}
:root[data-theme="dark"] {
  --color-paper: oklch(19% 0.008 200); /* #101515 */
  --color-paper-2: oklch(22.5% 0.011 200); /* #161D1E */
  --color-paper-3: oklch(27.5% 0.018 198); /* #1D2A2B */
  --color-ink: oklch(94% 0.004 180); /* #E8ECEB */
  --color-ink-2: oklch(81% 0.008 190); /* #BBC3C2 */
  --color-muted: oklch(69% 0.014 195); /* #929E9E */
  --color-form: oklch(76% 0.06 190); /* #84BEB9 */
  --color-rule: oklch(34% 0.028 196); /* #263D3D */
  --color-rule-strong: oklch(56% 0.05 194); /* #507E7D */
  --color-ink-on: oklch(19% 0.008 200); /* #101515 */
  --color-seal: oklch(72% 0.17 33); /* #FC765B */
  --color-seal-on: oklch(19% 0.008 200); /* #101515 */
  --color-focus: oklch(94% 0.004 180); /* #E8ECEB */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: var(--leading-body); font-synthesis: none; -webkit-font-smoothing: antialiased; line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; text-spacing-trim: trim-start; }
a { color: inherit; text-underline-offset: 3px; }
p, h1, h2, h3, dl, dd { margin: 0; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; overflow-wrap: break-word; min-width: 0; line-height: var(--leading-head); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
::selection { background: var(--color-ink); color: var(--color-ink-on); }
input { caret-color: var(--color-ink); word-break: normal; }
.logo { display: block; }
.logo img { display: block; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo .on-light { display: none; }
  .logo .on-dark { display: block; }
}
.nb { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: var(--space-md); top: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--color-ink); color: var(--color-ink-on); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ── Seals. The only round things on the page. Pressed by hand: never level, heavier on one side. ── */
.seal-date { --turn: var(--seal-turn); display: inline-grid; flex: none; grid-template-rows: 1fr auto 1fr; justify-items: center; width: var(--seal-date); height: var(--seal-date); overflow: hidden; border: var(--seal-ring) solid var(--color-seal); border-radius: var(--radius-seal); box-shadow: inset 1px -1px 0 var(--color-seal); color: var(--color-seal); font-weight: 700; line-height: 1; text-align: center; transform: rotate(var(--turn)); }
.seal-date > span { white-space: nowrap; overflow-wrap: normal; }
.seal-date > :nth-child(1) { align-self: end; padding-bottom: var(--space-3xs); font-family: var(--font-figures); font-weight: 400; }
.seal-date > :nth-child(2) { justify-self: stretch; border-block: 2px solid var(--color-seal); }
.seal-date > :nth-child(3) { align-self: start; padding-top: var(--space-3xs); font-family: var(--font-figures); font-weight: 400; }
.seal-date.big { --seal-date: 84px; --seal-ring: 2.5px; }
.seal-date.big > :nth-child(1), .seal-date.big > :nth-child(3) { font-size: var(--text-xs); }
.seal-date.big > :nth-child(2) { padding: var(--space-2xs) 0; font-size: var(--text-md); }
.seal-date.big.long > :nth-child(2) { font-size: var(--text-sm); }
.seal-empty { display: inline-block; flex: none; width: var(--seal-name); height: var(--seal-name); border: var(--rule-hair) dashed var(--color-rule-strong); border-radius: var(--radius-seal); }
@keyframes stamp-press {
  0% { opacity: 0; transform: translateY(-16px) rotate(calc(var(--turn) - 10deg)) scale(1.5); }
  30% { opacity: 0.55; transform: translateY(-8px) rotate(calc(var(--turn) - 6deg)) scale(1.28); }
  55% { opacity: 1; transform: translateY(0) rotate(calc(var(--turn) - 1deg)) scale(0.93); }
  75% { opacity: 1; transform: rotate(var(--turn)) scale(1.03); }
  100% { opacity: 1; transform: rotate(var(--turn)) scale(1); }
}
@keyframes ink-settle {
  0%, 50% { opacity: 0; transform: scale(0.92); }
  55% { opacity: 0.7; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.3); }
}
.stamping { position: relative; overflow: visible; animation: stamp-press var(--dur-stamp) var(--ease-out) both; }
.stamping::after { content: ""; position: absolute; inset: -4px; border: 3px solid var(--color-seal); border-radius: var(--radius-seal); opacity: 0; animation: ink-settle var(--dur-stamp) linear both; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .stamping, .stamping::after { animation: none; }
}

/* ── Header and hero (the landing page's first view) ── */
.brand { display: flex; align-items: center; min-height: var(--hit); }
.lp-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); max-width: 72rem; margin-inline: auto; padding: var(--space-md) var(--space-xl); }
.lp-bar nav { display: flex; align-items: center; gap: var(--space-lg); }
.lp-bar nav a { display: inline-flex; align-items: center; min-height: var(--hit); text-decoration: none; }
.lp-bar nav a:hover, .lp-bar nav a[aria-current] { text-decoration: underline; }
.lp-bar nav a[aria-current] { font-weight: 700; text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-2xl); max-width: 72rem; margin-inline: auto; padding: var(--space-2xl) var(--space-xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-strong); }
.hero h1 { font-size: var(--text-5xl); font-weight: 700; line-height: 1.25; }
.hero h1:lang(en) { font-size: var(--text-4xl); }
.hero .lede { margin-top: var(--space-lg); max-width: 32rem; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.85; text-wrap: pretty; }

/* ── The slip: the widget's form, one sheet from a pad ── */
.iq { background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); line-height: 1.6; }
.iq-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.iq-head h2 { font-size: var(--text-lg); font-weight: 700; }
.iq-form .line { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: var(--rule-hair) solid var(--color-rule-strong); }
/* The label is a printed band above its field (the second label is a whole question); its lower edge is rule-strong. */
.iq-form .line > span { padding: var(--space-2xs) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-strong); background: var(--color-paper-2); color: var(--color-form); font-size: var(--text-sm); }
.iq-form small { display: inline; margin-left: var(--space-xs); color: var(--color-muted); font-size: var(--text-xs); }
.iq-form input { display: block; width: 100%; min-width: 0; height: var(--hit); border: 0; border-radius: var(--radius-none); background: transparent; padding: var(--space-xs) var(--space-sm); font-size: 1rem; line-height: 1.7; }
.iq-form input:hover { background: var(--color-paper-2); }
.iq-form input:focus-visible { outline-offset: -2px; }
.iq-form input[aria-invalid="true"] { background: var(--color-paper-2); }
/* Errors are the red correction on a form. */
.field-error, .form-notice { padding: var(--space-xs) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-strong); color: var(--color-seal); font-size: var(--text-sm); font-weight: 700; }
.form-notice { color: var(--color-ink); font-weight: 400; }
.iq-send { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-md); }
.iq-send .hint { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-xs); line-height: 1.5; text-align: right; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: var(--control-h); padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-none); background: var(--color-ink); color: var(--color-ink-on); font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.iq-done { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding: var(--space-lg) var(--space-md); }
.iq-done h3 { font-size: var(--text-lg); font-weight: 700; }
.iq-done p { margin-top: var(--space-xs); }
.iq-done .addr { font-weight: 400; overflow-wrap: anywhere; }

/* ── Layout 2: the form is the slip ── */
.wl { align-items: start; row-gap: var(--space-xl); }
.wl-slip { grid-column: 2; grid-row: 1 / span 2; justify-self: end; width: min(100%, 29rem); margin-top: var(--space-xs); border: var(--rule-hair) solid var(--color-rule-strong); box-shadow: 4px 4px 0 -1px var(--color-paper), 4px 4px 0 0 var(--color-rule-strong), 8px 8px 0 -1px var(--color-paper), 8px 8px 0 0 var(--color-rule-strong); }
.wl-slip .iq-head { padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-heavy) solid var(--color-rule-strong); }
.wl-slip .iq-head span { color: var(--color-form); font-size: var(--text-sm); white-space: nowrap; }
.wl-facts { grid-column: 1; max-width: 32rem; border-block: var(--rule-hair) solid var(--color-rule-strong); }
.wl-facts > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); }
.wl-facts:lang(en) > div { grid-template-columns: 5.5rem minmax(0, 1fr); }
.wl-facts > div + div { border-top: var(--rule-hair) solid var(--color-rule); }
.wl-facts dt { padding: var(--space-sm); border-right: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-form); font-size: var(--text-sm); font-weight: 700; }
.wl-facts dd { padding: var(--space-sm) var(--space-md); line-height: 1.7; text-wrap: pretty; }
.wl-privacy { grid-column: 1 / -1; max-width: 58rem; color: var(--color-ink-2); font-size: var(--text-xs); line-height: 1.8; }
.wl-error { grid-template-columns: minmax(0, 1fr); min-height: 60vh; }
.wl-back { margin-top: var(--space-xl); }

@media (max-width: 56rem) {
  .btn { height: var(--hit); }
  .lp-bar { padding: var(--space-sm) var(--space-md); }
  .hero { grid-template-columns: minmax(0, 1fr); padding: var(--space-xl) var(--space-md) var(--space-2xl); }
  .hero h1, .hero h1:lang(en) { font-size: var(--text-3xl); }
  .hero .lede { font-size: 1rem; }
  .wl-facts, .wl-slip { grid-column: 1; grid-row: auto; }
  .wl-slip { justify-self: start; width: calc(100% - 8px); margin-top: 0; }
  .wl-slip .iq-send { flex-wrap: wrap; }
  .wl-slip .iq-send .btn { flex: 1 1 100%; }
  .wl-slip .iq-send .hint { flex: 1 1 100%; justify-content: space-between; text-align: left; }
}
@media (max-width: 30rem) {
  .lp-bar nav { gap: var(--space-md); }
  /* Keeps 「フォームとメールのお問い合わせを、」 on one line at 375 px. */
  .wl-facts > div { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .wl-facts:lang(en) > div { grid-template-columns: 5rem minmax(0, 1fr); }
  .wl-facts dt { padding-inline: var(--space-xs); }
  .wl-facts dd { padding-inline: var(--space-sm); }
}
