@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/brand-fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/brand-fonts/jetbrains-mono-latin-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
.theme-signer {
  --sg-ground: var(--bg-app);
  --sg-paper: var(--surface-2);
  --sg-white: var(--surface);
  --sg-rule: var(--border-1);
  --sg-rule-2: var(--border-2);
  --sg-rule-3: var(--border-4);
  --sg-ink: var(--text);
  --sg-body: var(--text-2);
  --sg-lead: var(--text-mid);
  --sg-muted: var(--text-muted);
  --sg-wax: var(--brand);
  --sg-wax-hover: var(--brand-hover);
  --sg-eyebrow: #8C4A2F;
  --sg-clay: #C98B6B;
  --sg-honey: #E2C08D;
  --sg-sage: #A0B8A4;
  --sg-night: #241C18;
  --sg-night-ink: #E8DED2;
  --sg-night-dim: #A79689;
  --bg-app: #F3EDE4;
  --surface: #FFFFFF;
  --surface-2: #FBF8F4;
  --surface-3: #FBF8F4;
  --surface-light-violet: #FBF8F4;
  --text: #26211C;
  --text-2: #4A4238;
  --text-3: #4A4238;
  --text-mid: #6B6154;
  --text-muted: #7A6F60;
  --text-faint: #7A6F60;
  --text-faint2: #7A6F60;
  --icon-faint: #7A6F60;
  --brand: #5B1F14;
  --brand-hover: #8C3A22;
  --brand-ink: #5B1F14;
  --brand-tint: #F2DED8;
  --brand-tint-2: #F7F1E9;
  --brand-tint-3: var(--sg-paper);
  --brand-border: var(--sg-rule-2);
  --brand-ring: rgba(91, 31, 20, .18);
  --brand-avatar-bg: var(--sg-rule);
  --on-brand: var(--sg-paper);
  --hairline: #E7DFD3;
  --border-1: #E7DFD3;
  --border-2: #DCCFC2;
  --border-3: #DCCFC2;
  --border-4: #C9BFB0;
  --rule-heavy: var(--sg-ink);
  --ok: #2F5A3E;
  --ok-bar: #4C7A5C;
  --ok-tint: #DDE9DE;
  --info: var(--sg-body);
  --info-bar: var(--sg-muted);
  --info-tint: var(--sg-rule);
  --warn: #8A5A20;
  --warn-bar: #B98A3C;
  --warn-tint: #F6E7CE;
  --warn-strong: #B98A3C;
  --danger: var(--sg-wax);
  --danger-ink: var(--sg-wax);
  --danger-tint: #F2DED8;
  --danger-cell: #FBF2EF;
  --destruct: var(--sg-wax);
  --mode-script-ink: var(--sg-wax);
  --mode-script-bg: #F2DED8;
  --mode-standard-ink: var(--sg-body);
  --mode-standard-bg: var(--sg-rule);
  --font-ui: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-prose: "Public Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --fs-display: 34px;
  --fw-display: 400;
  --fs-page: 34px;
  --fw-page: 400;
  --fs-h2: 19px;
  --fw-h2: 600;
  --fs-title: 15px;
  --fw-title: 600;
  --fs-body: 14px;
  --fs-sm: 13px;
  --fs-meta: 12.5px;
  --fs-cap: 12px;
  --fs-tiny: 11px;
  --fw-tiny: 700;
  --r-card: 8px;
  --r-control: 6px;
  --r-control-sm: 6px;
  --r-chip: 6px;
  --r-mark: 4px;
}

.theme-signer :where(:not(.skiwo-menu__item, .skiwo-statusbar, .sg-lang)) > a:not([class]) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-signer :where(:not(.skiwo-menu__item, .skiwo-statusbar, .sg-lang)) > a:not([class]):hover {
  color: var(--brand-hover);
}

.theme-signer .skiwo-statusbar__trailing a {
  color: var(--brand);
  text-decoration: underline;
}

.theme-signer .skiwo-page-header__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.sg-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.sg-eyebrow {
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-eyebrow);
}

.sg-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--text-2);
}

.sg-dim {
  color: var(--text-muted);
}

.sg-clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sg-lead {
  max-width: 70ch;
  font-size: var(--fs-body);
  color: var(--sg-lead);
  line-height: 1.55;
  margin: 0;
}

.sg-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--s-10);
  align-items: start;
}

.sg-cols--narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.sg-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-10);
}

.sg-stack--tight {
  gap: var(--s-5);
}

.sg-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
  align-items: baseline;
}

.sg-row--wrap {
  flex-wrap: wrap;
}

.theme-signer [hidden] {
  display: none !important;
}

.sg-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.sg-col--tight {
  gap: var(--s-1);
}

.sg-inline {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.sg-end {
  align-items: flex-end;
  text-align: right;
}

.sg-gap {
  margin-top: var(--s-5);
}

.sg-note {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.sg-inset {
  padding: var(--s-5) var(--s-7);
}

.sg-current {
  color: var(--ok);
  font-weight: 600;
}

.sg-paper {
  border: 1px solid var(--border-1);
  border-radius: var(--r-control);
  background: var(--surface-2);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.sg-paper--dashed {
  border-style: dashed;
  border-color: var(--border-4);
  background: var(--surface);
}

.sg-recorded {
  border-left: 2px solid var(--sg-clay);
  padding: var(--s-1) 0 var(--s-1) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.sg-log {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.sg-night {
  background: var(--sg-night);
  border-radius: var(--r-card);
  padding: var(--s-9);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  color: var(--sg-night-ink);
}
.sg-night .sg-eyebrow {
  color: var(--sg-clay);
}
.sg-night .skiwo-code,
.sg-night .skiwo-code__pre,
.sg-night pre {
  background: transparent;
  border: 0;
  color: var(--sg-night-ink);
}
.sg-night .sg-night__note {
  font-size: var(--fs-meta);
  color: var(--sg-night-dim);
  line-height: 1.5;
}

.sg-bignum {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
}

.sg-pricebox {
  max-width: 640px;
  margin: var(--s-9) auto 0;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  padding: var(--s-9);
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.sg-ladder {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-ladder__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-mark);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.sg-ladder__row--ceiling {
  color: var(--text-2);
}

.sg-ladder__row[aria-current=true] {
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--fs-body);
  font-weight: 600;
}

.sg-ladder__amount {
  font-family: var(--font-mono);
}

@media (max-width: 640px) {
  .theme-signer .skiwo-list-item__row {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: var(--s-2);
  }
  .theme-signer .skiwo-list-item__content {
    flex: 1 1 100%;
  }
  .theme-signer .skiwo-list-item__trailing {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .theme-signer .skiwo-list-item__trailing > div {
    flex-direction: row !important;
    align-items: center !important;
    gap: var(--s-3);
  }
}
.skiwo-marketing-header {
  border-bottom: 1px solid var(--border-2);
  background: var(--surface-2);
}

.sg-lang {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface);
  font-size: var(--fs-meta);
  font-weight: 600;
}
.sg-lang a {
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
}
.sg-lang a[aria-current=true] {
  background: var(--brand);
  color: var(--on-brand);
}

.theme-signer .skiwo-statusbar {
  flex-wrap: wrap;
  row-gap: var(--s-1);
  padding-block: var(--s-2);
}

@media (max-width: 640px) {
  .theme-signer .skiwo-statusbar__trailing {
    margin-inline-start: 0;
  }
  .sg-topbar__email {
    display: none;
  }
}
.sg-topbar__email {
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.sg-doc-frame {
  width: 100%;
  height: 70vh;
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  background: var(--surface);
}

.sg-token {
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  padding: var(--s-10) var(--s-9) var(--s-11);
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.sg-token__act {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.theme-signer .skiwo-otp__input {
  min-height: 52px;
  font-family: var(--font-mono);
}

.sg-band {
  border-top: 1px solid var(--sg-rule);
}

.sg-band--sunk {
  background: var(--sg-ground);
}

.sg-band--strip {
  border-top: 0;
  border-bottom: 1px solid var(--sg-rule);
}

.sg-band--night {
  background: var(--sg-night);
  color: var(--sg-night-ink);
}

.sg-band--wax {
  background: var(--brand);
  color: var(--on-brand);
}

.sg-wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 52px);
}

.sg-wrap--tight {
  padding-block: 32px;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.sg-grid--narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.sg-grid--end {
  align-items: end;
}

.sg-kicker {
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sg-clay);
}

.sg-band--night .sg-kicker,
.sg-band--wax .sg-kicker {
  color: var(--sg-clay);
}

.sg-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.sg-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.sg-h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.2;
}

.sg-band--night .sg-h2 {
  color: var(--sg-night-ink);
}

.sg-band--wax .sg-h2 {
  color: var(--on-brand);
}

.sg-say {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--sg-body);
}

.sg-say--dim {
  color: var(--sg-lead);
}

.sg-band--night .sg-say {
  color: var(--sg-night-dim);
}

.sg-band--wax .sg-say {
  color: var(--sg-clay);
}

.sg-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sg-paper);
  border-bottom: 1px solid var(--sg-rule);
}

.sg-top__bar {
  max-width: 1120px;
  margin-inline: auto;
  padding: 16px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sg-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--sg-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  flex: none;
}

.sg-figures {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-3);
}

.sg-figure {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-3);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sg-figure:last-child {
  border-bottom: 0;
}

.sg-figure__n {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.sg-figure__n--wax {
  color: var(--brand);
}

.sg-count {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-count li {
  display: flex;
  gap: var(--s-9);
  padding: 18px 0;
  border-top: 1px solid var(--sg-rule);
  font-size: 17px;
  line-height: 1.5;
  color: var(--sg-body);
}

.sg-count li:last-child {
  border-bottom: 1px solid var(--sg-rule);
}

.sg-count__n {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--sg-clay);
  width: 28px;
  flex: none;
}

.sg-job {
  background: var(--sg-paper);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sg-pills {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-pills li {
  font-size: var(--fs-sm);
  color: var(--brand);
  border: 1px solid var(--sg-rule-2);
  border-radius: 20px;
  padding: 5px 12px;
}

.sg-code {
  background: var(--sg-night);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.85;
  overflow-x: auto;
  margin: 0;
  color: var(--sg-night-ink);
}

.sg-code .c-dim {
  color: var(--sg-night-dim);
}

.sg-code .c-fn {
  color: var(--sg-clay);
}

.sg-code .c-key {
  color: var(--sg-sage);
}

.sg-code .c-str {
  color: var(--sg-honey);
}

.sg-cols3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(24px, 3vw, 40px);
  border-top: 1px solid color-mix(in srgb, var(--sg-night-ink) 20%, transparent);
  padding-top: clamp(28px, 3vw, 40px);
}

.sg-list-plain {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  color: var(--sg-night-ink);
}

.sg-list-plain--mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.sg-tiers {
  background: var(--sg-paper);
  border-radius: var(--r-card);
  padding: var(--s-3) clamp(20px, 3vw, 32px);
  color: var(--sg-ink);
  margin: 0;
  list-style: none;
}

.sg-tiers li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-7);
  padding: 18px 0;
  border-bottom: 1px solid var(--border-1);
  font-size: 17px;
}

.sg-tiers li:last-child {
  border-bottom: 0;
}

.sg-tier__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sg-tier__kr {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  white-space: nowrap;
}

.sg-tier__kr--free {
  color: var(--brand);
}

.sg-tier__unit {
  font-size: var(--fs-body);
  color: var(--text-muted);
  white-space: nowrap;
}

.sg-bankid {
  border: 1px solid var(--sg-eyebrow);
  border-radius: var(--r-card);
  padding: var(--s-10);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.sg-bankid__kr {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--on-brand);
}

.sg-strip {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-body);
  color: var(--sg-body);
}

.sg-close {
  align-items: center;
  text-align: center;
  gap: 22px;
}

.sg-close .sg-h2 {
  max-width: 24ch;
}

.sg-close .sg-say {
  max-width: 48ch;
}

.sg-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-7);
  flex-wrap: wrap;
  font-size: var(--fs-body);
  color: var(--text-muted);
}

.sg-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--brand);
  color: var(--sg-paper);
}

.sg-cta:hover {
  background: var(--brand-hover);
  color: var(--sg-paper);
}

.sg-cta--quiet {
  background: transparent;
  border: 1px solid var(--sg-rule-3);
  color: var(--sg-ink);
  font-weight: 500;
}

.sg-cta--quiet:hover {
  background: transparent;
  color: var(--sg-ink);
}

.sg-cta--small {
  padding: 9px 18px;
}

.sg-ctas {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.sg-ctas--center {
  justify-content: center;
}
