/* style/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--fg-0);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* style/link.css */
a {
  color: var(--accent-tint);
  text-decoration: none;
}
a:hover {
  color: var(--fg-0);
}

/* style/wordmark.css */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--track-wordmark);
  color: var(--fg-0);
  font-size: 19px;
}

/* style/heading.css */
.heading {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: var(--track-display);
  color: var(--fg-0);
  margin: 0 0 10px;
}

/* style/sub.css */
.sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0 0 28px;
}

/* style/icon.css */
.icon {
  flex: none;
  color: var(--fg-2);
}

/* style/button.css */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  width: 100%;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  background: var(--accent-2);
}
.btn-primary:active {
  background: var(--accent-3);
  transform: translateY(0.5px);
}
.btn-secondary {
  background: var(--bg-3);
  color: var(--fg-0);
  border-color: var(--line-2);
}
.btn-secondary:hover {
  background: var(--bg-4);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-1);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--fg-0);
}
.btn:focus-visible {
  outline: 1px solid var(--accent-line);
  outline-offset: 2px;
}

/* style/input.css */
.input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-0);
  letter-spacing: -0.01em;
}
.input::placeholder {
  color: var(--fg-3);
  font-weight: 400;
}
.input-code {
  font-family: var(--font-mono);
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.4em;
}

/* style/select.css */
.select {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-0);
  appearance: none;
}
.select option {
  background: var(--bg-4);
  color: var(--fg-0);
}

/* style/label.css */
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-1);
}

/* style/field-box.css */
.field-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  border-radius: var(--r-1);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.field-box:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.field-box .icon {
  font-size: 18px;
}

/* style/field.css */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* style/hint.css */
.hint {
  font-size: 12px;
  color: var(--fg-2);
}

/* style/error.css */
.error {
  font-size: 12px;
  color: var(--neg);
}

/* style/legal.css */
.legal {
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
}
.legal a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
}
.legal a:hover {
  color: var(--fg-0);
}

/* style/fact.css */
.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-1);
}
.fact:last-child {
  border-bottom: 1px solid var(--line-1);
}
.fact .icon {
  font-size: 20px;
}
.fact span {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
}

/* style/facts.css */
.facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
}

/* style/panel-note.css */
.panel-note {
  margin: 0 0 24px;
  padding: 16px;
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  border-radius: var(--r-2);
}
.panel-note p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.panel-note code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-0);
  word-break: break-all;
}
.panel-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.panel-note a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

/* style/aside.css */
.aside {
  font-size: 13px;
  margin: 16px 0 0;
}
.aside a {
  font-weight: 600;
  color: var(--fg-2);
}
.aside a:hover {
  color: var(--fg-0);
}

/* style/qr.css */
.qr {
  width: 152px;
  height: 152px;
  margin: 0 0 var(--s-5);
  padding: var(--s-4);
  background: #FFFFFF;
  border-radius: var(--r-1);
  box-sizing: content-box;
}
.qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* style/split.css */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* style/brand-panel.css */
.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 56px;
  border-right: 1px solid var(--line-1);
}
.brand h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: var(--track-display);
  color: var(--fg-0);
  margin: 0;
  max-width: 15ch;
  text-wrap: pretty;
}
.brand .lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 20px 0 0;
  max-width: 38ch;
}
@media (max-width: 900px) {
  .brand {
    border-right: none;
    border-bottom: 1px solid var(--line-1);
    padding: 32px;
    gap: 40px;
  }
}

/* style/form-panel.css */
.panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 88px;
  padding: 0 56px;
  flex: none;
  font-size: 13px;
}
.panel-top a {
  font-weight: 600;
}
.panel-top .muted {
  color: var(--fg-2);
}
.form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 56px 88px;
}
.form-inner {
  width: 100%;
  max-width: 380px;
}
@media (max-width: 900px) {
  .panel-top,
  .form {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* style/plain-panel.css */
.plain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--s-6);
  background: var(--bg-1);
}
.plain-card {
  width: 100%;
  max-width: 400px;
  padding: var(--s-8) var(--s-7);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
}
.plain-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}
.plain-note {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--fg-2);
}
@media (max-width: 520px) {
  .plain {
    padding: var(--s-5);
  }
  .plain-card {
    padding: var(--s-7) var(--s-6);
  }
}

/* style/components.css */

/* .entries/resource-stylesheet-platform.css */
:root {
  --font-display:
    "Manrope",
    system-ui,
    sans-serif;
  --font-text:
    "Manrope",
    system-ui,
    sans-serif;
  --font-mono:
    "Martian Mono",
    ui-monospace,
    monospace;
  --track-wordmark: -0.03em;
  --track-display: -0.035em;
  --track-tight: -0.02em;
  --track-normal: 0em;
  --track-caps: 0.14em;
  --track-caps-sm: 0.18em;
  --s-1: 2px;
  --s-2: 4px;
  --s-3: 8px;
  --s-4: 12px;
  --s-5: 16px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 48px;
  --s-9: 64px;
  --s-10: 96px;
  --s-11: 128px;
  --r-0: 0px;
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 16px;
  --r-pill: 999px;
  --maxw: 1180px;
  --gutter: 20px;
  --tap: 48px;
  --screen-pad: 20px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 120ms;
  --dur-2: 160ms;
  --dur-3: 240ms;
  --dur-4: 320ms;
}
:root,
[data-theme=dark] {
  --bg-0: #130F0D;
  --bg-1: #1B1512;
  --bg-2: #251E1A;
  --bg-3: #302823;
  --bg-4: #3B322B;
  --line-1: rgba(244, 240, 255, 0.07);
  --line-2: rgba(244, 240, 255, 0.12);
  --line-3: rgba(244, 240, 255, 0.22);
  --fg-0: #F5F0EA;
  --fg-1: #B8ADA6;
  --fg-2: #9A9089;
  --fg-3: #574F4A;
  --accent: #5A48D6;
  --accent-2: #6B58E8;
  --accent-3: #4536BC;
  --accent-tint: #9C8DFF;
  --accent-dim: rgba(90, 72, 214, 0.20);
  --accent-line: rgba(122, 104, 240, 0.45);
  --accent-fg: #F4F1FF;
  --blush: #E9A6A0;
  --blush-dim: rgba(233, 166, 160, 0.16);
  --pos: #7FB98F;
  --neg: #D2705E;
  --warn: #E0B15C;
  --info: #8A9BB0;
  --pos-dim: rgba(127, 185, 143, 0.16);
  --neg-dim: rgba(210, 112, 94, 0.16);
  --warn-dim: rgba(224, 177, 92, 0.16);
  --info-dim: rgba(138, 155, 176, 0.16);
  --field-bg: rgba(244, 240, 255, 0.04);
  --field-line: rgba(244, 240, 255, 0.14);
  --shadow-1: 0 1px 2px rgba(9, 6, 4, 0.45);
  --shadow-2: 0 8px 30px rgba(9, 6, 4, 0.50);
  --shadow-3: 0 24px 70px rgba(9, 6, 4, 0.60);
  --scrim: rgba(11, 8, 6, 0.70);
  color-scheme: dark;
}
[data-theme=light] {
  --bg-0: #E9E3DC;
  --bg-1: #F3EEE8;
  --bg-2: #FBF8F4;
  --bg-3: #E9E3DC;
  --bg-4: #FFFFFF;
  --line-1: rgba(27, 21, 18, 0.07);
  --line-2: rgba(27, 21, 18, 0.13);
  --line-3: rgba(27, 21, 18, 0.26);
  --fg-0: #1B1512;
  --fg-1: #4B443F;
  --fg-2: #7D746E;
  --fg-3: #A9A09A;
  --accent: #4636C4;
  --accent-2: #372AA6;
  --accent-3: #2B2189;
  --accent-tint: #4636C4;
  --accent-dim: rgba(70, 54, 196, 0.10);
  --accent-line: rgba(70, 54, 196, 0.38);
  --accent-fg: #FBF8F4;
  --blush: #B76B64;
  --blush-dim: rgba(183, 107, 100, 0.12);
  --pos: #3F7A52;
  --neg: #B24B36;
  --warn: #8A6320;
  --info: #4C5D70;
  --pos-dim: rgba(63, 122, 82, 0.12);
  --neg-dim: rgba(178, 75, 54, 0.12);
  --warn-dim: rgba(138, 99, 32, 0.12);
  --info-dim: rgba(76, 93, 112, 0.12);
  --field-bg: rgba(27, 21, 18, 0.02);
  --field-line: rgba(27, 21, 18, 0.16);
  --shadow-1: 0 1px 2px rgba(27, 21, 18, 0.06);
  --shadow-2: 0 10px 30px rgba(27, 21, 18, 0.08);
  --shadow-3: 0 24px 60px rgba(27, 21, 18, 0.12);
  --scrim: rgba(27, 21, 18, 0.32);
  color-scheme: light;
}
