@font-face { font-family: Geist; src: url("/geist.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
html { --font-geist-sans: Geist; }
html {
  color-scheme: only light;
  --page: #fff;
  --site-inset: clamp(22px, 5.7vw, 86px);
  --surface: #fff;
  --text: #171717;
  --muted: #707070;
  --line: #e5e5e5;
  --control: #858585;
  --fill: #171717;
  --on-fill: #fff;
  --fill-hover: #343434;
  --subtle-hover: #efefef;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--page);
  font: 400 1rem / 1.55 var(--font-geist-sans), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) { font-family: var(--font-geist-sans), "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }
:lang(zh-CN) { font-family: var(--font-geist-sans), "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
[disabled] { cursor: wait; opacity: .68; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }

.home {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 72px 24px 64px;
}
.hero { width: min(100%, 850px); text-align: center; }
.mark { display: block; flex: none; }
.hero .mark { margin: 0 auto 30px; }
.hero h1 { font-size: clamp(2.6rem, 7.35vw, 5.25rem); line-height: 1.03; font-weight: 550; letter-spacing: -.075em; }
.landing {
  flex: 1;
  display: grid;
  align-items: center;
  padding: clamp(42px, 8vh, 90px) var(--site-inset);
}
.landing-layout {
  width: min(100%, 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 110px);
}
.landing h1 {
  max-inline-size: 8.5ch;
  font-size: clamp(4rem, 8.4vw, 8.75rem);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.075em;
  text-wrap: initial;
}
.landing-mark {
  position: relative;
  display: grid;
  aspect-ratio: 1.12;
  place-items: center;
  background-color: #f4f4f3;
  border: 1px solid #e8e8e6;
  border-radius: 2px;
}
.landing-mark .mark { width: min(44%, 196px); height: auto; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 520;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease;
}
.button-primary { background: var(--fill); color: var(--on-fill); }
.button-primary:hover:not(:disabled) { background: var(--fill-hover); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.button-secondary:hover:not(:disabled) { background: var(--subtle-hover); border-color: var(--control); }

.footer, .topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-inline: var(--site-inset);
}
.footer {
  min-height: 73px;
  justify-content: flex-start;
  padding-block: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}
.wordmark { text-decoration: none; }
.wordmark:hover { text-decoration: underline; }
.copyright { white-space: nowrap; }
.topbar { min-height: 76px; padding-block: 14px; }
.topbar-home { border-bottom: 1px solid var(--line); }
.topbar-controls { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 34px); margin-inline-start: auto; }
.topbar-nav { display: flex; align-items: center; justify-content: end; gap: clamp(12px, 2.2vw, 28px); font-size: .875rem; }
.topbar-nav a { display: inline-flex; min-height: 36px; align-items: center; font-weight: 520; text-decoration: none; }
.topbar-nav a:hover { text-decoration: underline; }
.topbar-nav .nav-primary { border-radius: 999px; padding: 0 14px; background: var(--fill); color: var(--on-fill); }
.topbar-nav .nav-primary:hover { background: var(--fill-hover); text-decoration: none; }
.language-select { font-size: .875rem; color: var(--text); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: .9375rem; font-weight: 560; white-space: nowrap; }
.wordmark-short { display: none; }
.select-wrap { position: relative; display: inline-flex; align-items: center; margin: 0; color: var(--muted); }
.select-wrap select {
  min-height: 36px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: inherit;
  appearance: none;
  padding: 5px 17px 5px 0;
  cursor: pointer;
}
.select-wrap select:hover { color: var(--text); }
.select-wrap option { color: var(--text); background: var(--surface); }
.chevron { position: absolute; inset-inline-end: 0; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.25; }

.screen { flex: 1; padding: clamp(48px, 8vh, 98px) 24px; }
.screen-content { width: min(100%, 386px); margin-inline: auto; }
.screen h1 { margin-bottom: 24px; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 570; }
.intro { color: var(--muted); margin-bottom: 24px; }
.screen .intro { margin-top: -8px; }
fieldset { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
.field { display: grid; gap: 6px; font-size: .875rem; font-weight: 520; }
.entry-form fieldset { display: grid; min-width: 0; gap: 17px; }
.entry-form .button { width: 100%; }
.field input {
  min-height: 46px;
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--control);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 1rem;
  font-weight: 400;
}
.form-message { color: var(--muted); font-size: .875rem; margin-top: 10px; }
.form-error { color: #8f2435; }
.button-danger { border-color: currentColor; color: #8f2435; background: var(--surface); }
.button-danger:hover { background: var(--subtle-hover); }
.settings section { border-top: 1px solid var(--line); padding-top: 22px; }
.account-identity dt { color: var(--muted); font-size: .875rem; }
.account-identity dd { overflow-wrap: anywhere; }
.settings details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.settings summary { cursor: pointer; font-weight: 500; }
.settings details p { color: var(--muted); margin-top: 10px; }
.settings .entry-form { margin-top: 12px; max-width: 386px; }
.field-link { justify-self: end; margin-top: -5px; }
.field-link, .screen-links { font-size: .875rem; }
.screen-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 19px;
  margin-top: 24px;
}
.reading .screen-content { width: min(100%, 580px); }
.reading section { margin-top: 30px; }
.reading h2 { font-size: 1.125rem; font-weight: 570; letter-spacing: -.015em; }
.reading h2 + p { margin-top: 7px; color: var(--muted); }
.workspace .hero h1 { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.workspace-actions { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.text-button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.text-button:hover { color: var(--muted); }

@media (max-width: 700px) {
  .landing-layout { grid-template-columns: 1fr; gap: 32px; }
  .landing h1 { font-size: clamp(3.45rem, 13vw, 5.5rem); }
  .landing-mark { aspect-ratio: 1.55; }
  .landing-mark .mark { width: min(31%, 153px); }
}
@media (max-width: 520px) {
  html { --site-inset: 18px; }
  .topbar { min-height: 64px; gap: 9px; }
  .topbar-controls { gap: 10px; }
  .topbar-nav { gap: 8px; font-size: .8125rem; }
  .topbar-nav .nav-primary { padding-inline: 8px; }
  .topbar-home .wordmark-full { display: none; }
  .topbar-home .wordmark-short { display: inline; }
  .language-select { font-size: .8125rem; }
  .hero .mark { margin-bottom: 24px; width: 48px; height: 48px; }
  .home { padding-top: 62px; padding-bottom: 60px; }
}
@media (max-width: 360px) {
  html { --site-inset: 13px; }
  .topbar-controls { gap: 8px; }
  .wordmark { font-size: .8125rem; gap: 6px; }
  .hero h1 { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.entry .button { border-radius: 999px; }
.entry-switch { display: flex; justify-content: center; margin-top: 22px; font-size: .875rem; }
