:root {
  --paper: #ebe9e7;
  --ink: #111111;
  --coral: #ff5247;
  --pink: #f6c9c4;
  --muted: #605957;
  --line: #b8afab;
  --error: #aa2920;
  font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(255 82 71 / 22%) .8px, transparent 1px);
  background-size: 26px 26px;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--error); }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
p { margin: 0; }
.mono { font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 10px; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; }
.visually-hidden, .website-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 14px 20px; transform: translateY(-150%); background: white; z-index: 10; }
.skip-link:focus { transform: none; }

.site-header { height: 88px; padding: 0 48px; margin: 0 auto; max-width: 1536px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 14px; font-size: 27px; font-weight: 600; letter-spacing: -.045em; }
.brand .mono { font-weight: 400; letter-spacing: .06em; }
.language-switch { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.language-switch a { padding: 7px 0; color: var(--muted); }
.language-switch a[aria-current] { color: var(--ink); box-shadow: 0 1px 0 var(--coral); }
.language-switch span { color: #9a8e89; }

.waitlist-layout { width: calc(100% - 96px); max-width: 1232px; margin: 52px auto 100px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(48px, 6.4vw, 104px); }
.introduction { padding: 0 0 36px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; }
.fold-mark { display: block; margin: 58px 0 34px; overflow: visible; }
.eyebrow { color: var(--muted); margin-bottom: 16px; }
h1 { font-weight: 500; font-size: clamp(48px, 4.85vw, 72px); line-height: .99; letter-spacing: -.055em; margin: 0 0 28px; }
.lead { font-size: 19px; line-height: 1.6; max-width: 26em; }
.preview-note { margin-top: 45px; padding: 23px 0 0; border-top: 1px solid var(--line); max-width: 29em; }
.preview-note > .mono { color: var(--muted); }
.preview-date { font-size: 27px; letter-spacing: -.03em; margin: 6px 0 17px; }
.preview-note > p:not(.mono, .preview-date) { font-size: 14px; line-height: 1.7; }
.preview-note > p.priority-heading { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: .01em; text-transform: uppercase; }
.priority-heading strong { font-weight: 700; }
.preview-note > p.priority-copy { margin-top: 12px; color: var(--ink); font-weight: 500; }
.join-formas { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 100%; margin-top: 18px; padding: 11px 14px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 13px; font-weight: 600; line-height: 1.5; }
.join-formas span { flex: 0 0 auto; font-size: 18px; }
.join-formas:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.preview-note .fine-print { margin-top: 16px; }
.fine-print { color: var(--muted); }

.form-sheet { min-width: 0; background: #fff; padding: 35px 36px 36px; border-top: 4px solid var(--coral); box-shadow: 0 12px 50px -38px rgb(37 24 19 / 35%); }
.form-heading { margin-bottom: 31px; }
.form-heading h2 { font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 9px; }
.form-heading .mono { color: var(--muted); font-size: 9px; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { min-width: 0; margin-bottom: 23px; }
.field label { display: block; font-size: 14px; font-weight: 500; line-height: 1.45; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #fff; padding: 12px 13px; font-size: 16px; line-height: 1.35; transition: border-color .15s; }
.field input { height: 47px; }
.field select { min-height: 47px; padding-right: 34px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select:has(option[value='']:checked) { color: var(--muted); }
.field textarea { min-height: 135px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field [aria-invalid='true'] { border-color: var(--error); }
.field [aria-invalid='true']:focus { outline-color: var(--error); }
.field-hint, .field-error { margin-top: 7px; font-size: 12px; line-height: 1.5; }
.field-hint { color: var(--muted); }
.field-error { color: var(--error); }
.use-case-field { margin-bottom: 0; }
.use-case-field label { max-width: 31em; }
.privacy-note { margin: 23px 0 21px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.privacy-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.privacy-note a:hover { color: var(--error); }
.submit-button { border: 0; width: 100%; min-height: 58px; padding: 17px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between; background: var(--ink); color: white; cursor: pointer; text-align: left; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 10px; line-height: 1.6; letter-spacing: .07em; text-transform: uppercase; transition: color .2s, background-color .2s; }
.submit-button:hover:enabled { background: var(--coral); color: var(--ink); }
.submit-button:disabled { cursor: wait; background: #5c5653; }
.button-arrow { font-size: 23px; line-height: 1; flex: 0 0 auto; }
form[aria-busy='true'] .button-arrow { opacity: .4; }
fieldset:disabled { opacity: .7; }
.form-status { margin: 0 0 24px; padding: 14px 16px; background: #fff0ee; border-left: 3px solid var(--coral); color: #7c201a; font-size: 14px; line-height: 1.55; }
.form-status:focus { outline: 2px solid var(--error); outline-offset: 3px; }
noscript .form-status { margin: 18px 0 0; }

.success-panel { min-height: 505px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; }
.success-panel:focus { outline: 0; }
.success-symbol { display: grid; place-items: center; height: 66px; width: 66px; background: var(--pink); font-size: 43px; margin-bottom: 34px; }
.success-panel > .mono { color: var(--muted); }
.success-panel h2 { font-size: clamp(34px, 3.1vw, 48px); line-height: 1.07; font-weight: 500; letter-spacing: -.045em; margin: 16px 0 24px; }
.success-panel > p:not(.mono) { font-size: 16px; line-height: 1.7; }
.success-panel .fine-print { font-size: 13px !important; margin-top: 15px; }
.success-panel .back-link { margin-top: 35px; }
.site-footer { padding: 28px 48px; max-width: 1536px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }

html[lang='ja'] { font-family: 'Instrument Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif; }
html[lang='ja'] .mono { letter-spacing: .04em; text-transform: none; }
html[lang='ja'] h1 { font-size: clamp(35px, 3.65vw, 53px); line-height: 1.35; letter-spacing: -.05em; }
html[lang='ja'] .lead { line-height: 1.85; }
html[lang='ja'] .preview-note > p:not(.mono, .preview-date) { line-height: 1.85; }
html[lang='ja'] .submit-button { font-family: inherit; font-size: 13px; letter-spacing: .01em; }
html[lang='ja'] .success-panel h2 { font-size: clamp(26px, 2.35vw, 35px); line-height: 1.5; }

@media (min-width: 1060px) {
  .introduction { position: sticky; top: 32px; }
}
@media (max-width: 1059px) {
  .site-header { padding: 0 32px; }
  .waitlist-layout { width: calc(100% - 64px); gap: 38px; margin-top: 36px; }
  .form-sheet { padding: 29px 26px 28px; }
  h1 { font-size: 48px; }
  .lead { font-size: 17px; }
  .preview-date { font-size: 24px; }
  .site-footer { padding: 28px 32px; }
}
@media (max-width: 799px) {
  .site-header { height: 76px; }
  .waitlist-layout { max-width: 610px; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 34px auto 48px; }
  .introduction { padding-bottom: 36px; }
  .fold-mark { width: 90px; height: 90px; margin-top: 38px; margin-bottom: 28px; }
  h1 { font-size: clamp(48px, 8vw, 66px); }
  .lead { max-width: 30em; }
  .preview-note { margin-top: 30px; max-width: none; }
  .form-sheet { padding: 29px 32px 32px; }
  html[lang='ja'] h1 { font-size: clamp(36px, 6vw, 47px); }
}
@media (max-width: 479px) {
  .site-header { height: 72px; padding: 0 20px; gap: 14px; }
  .brand { font-size: 25px; }
  .brand .mono { display: none; }
  .language-switch { font-size: 10px; gap: 8px; }
  .waitlist-layout { width: calc(100% - 40px); margin-top: 24px; }
  .introduction { padding-bottom: 30px; }
  .fold-mark { margin-top: 32px; margin-bottom: 24px; width: 78px; height: 78px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(42px, 11.2vw, 53px); margin-bottom: 23px; }
  .lead { font-size: 17px; }
  .preview-note { padding-top: 20px; }
  .preview-date { font-size: 25px; }
  .form-sheet { padding: 26px 20px; }
  .form-heading h2 { font-size: 25px; }
  .name-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field { margin-bottom: 22px; }
  .use-case-field { margin-bottom: 0; }
  .submit-button { padding: 16px; font-size: 9px; letter-spacing: .04em; gap: 10px; }
  .site-footer { padding: 24px 20px; flex-direction: column; gap: 8px; font-size: 9px; }
  .success-panel { min-height: 490px; }
  html[lang='ja'] h1 { font-size: clamp(31px, 8.4vw, 38px); }
  html[lang='ja'] .submit-button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* The primary action is always within reach while completing the form. */
body { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.submit-button { position: fixed; z-index: 100; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(440px, calc(100% - 40px)); justify-content: center; gap: 20px; background: #ff5247; color: #111; box-shadow: 0 6px 24px rgba(30, 10, 5, .18); border: 0; }
.submit-button:hover:not(:disabled) { background: #ff6a60; color: #111; }
