:root {
  color-scheme: light;
  --beige: var(--theme-bg);
  --blue: var(--theme-text);
  --ink: var(--theme-text);
  --muted: var(--theme-text-muted);
  --line: var(--theme-border);
  --surface: var(--theme-surface);
  --surface-faint: var(--theme-surface-faint);
  --selected: rgb(10 10 10 / .12);
  --disabled: rgb(10 10 10 / .34);
  --disabled-ink: rgb(255 255 255 / .72);
  --focus: var(--theme-focus);
  --glass-tint: var(--theme-surface);
  --glass-tint-strong: rgb(10 10 10 / .16);
  --glass-highlight: var(--theme-glass-highlight);
  --glass-shadow: var(--theme-glass-shadow);
  --glass-rim: var(--theme-glass-highlight);
  --board-glass: var(--theme-surface);
  --board-glass-strong: var(--theme-surface-strong);
  --board-rim: var(--theme-glass-highlight);
  --control-radius: 999px;
  --display: Georgia, "Times New Roman", serif;
  --body: Avenir, "Avenir Next", system-ui, sans-serif;
  font-family: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--beige);
  background-image: none;
  color: var(--ink);
}
::selection { background: var(--blue); color: var(--beige); }
html { scrollbar-color: var(--blue) var(--beige); }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; border: 1px solid var(--blue); background: var(--blue); color: var(--beige); }
.skip-link:focus { top: 16px; }
.site-bar, footer { width: min(1540px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.site-bar { min-height: 76px; border-bottom: 1px solid rgb(10 10 10 / .28); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 760; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.site-bar nav, footer nav { display: flex; align-items: center; gap: 24px; }
.site-bar nav a, footer a { color: inherit; text-decoration: none; letter-spacing: .04em; }
.site-bar nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-bar nav .app-link { border: 1px solid var(--blue); background: var(--blue); color: var(--beige); padding: 10px 15px; }
.site-bar nav .app-link:hover { border-color: var(--blue); background: var(--beige); color: var(--blue); text-decoration: none; }

.packing-demo { width: min(1540px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 64px; }
.workspace-heading { width: min(900px, calc(100% - 32px)); margin: 0 auto 24px; text-align: center; }
.workspace-heading h1 { margin: 0; font-family: "Snell Roundhand", "Bradley Hand", cursive; font-size: clamp(1.9rem, 2.6vw, 2.8rem); line-height: 1.08; font-weight: 500; letter-spacing: 0; text-wrap: balance; }
.workspace-heading > p:first-child {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workspace-heading > p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  color: #333333;
  font-size: clamp(.96rem, 1.4vw, 1.08rem);
  line-height: 1.6;
}

.workspace-shell {
  position: relative;
  min-height: 950px;
  overflow: hidden;
  border: 1px dashed rgb(10 10 10 / .72);
  background: transparent;
  isolation: isolate;
  perspective: 1400px;
  perspective-origin: 50% 48%;
}
.workspace-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: none;
}
.method-switch { position: absolute; left: 50%; top: 22px; z-index: 30; display: flex; justify-content: center; gap: 10px; transform: translateX(-50%); }
.method-button, .primary-button, .secondary-button { min-height: 46px; cursor: pointer; }
.method-button { min-width: 170px; border: 1px solid var(--blue); background: var(--blue); color: var(--beige); padding: 11px 20px; font-weight: 650; letter-spacing: .035em; }
.method-button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--beige); }
.method-button:hover, .method-button[aria-pressed="true"]:hover { border-color: var(--blue); background: var(--beige); color: var(--blue); }

.workspace { position: absolute; inset: 0; min-height: 950px; }
.sticker-field { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.sticker-button {
  --cursor-x: 0px;
  --cursor-y: 0px;
  --drag-x: 0px;
  --drag-y: 0px;
  --float-x: 0px;
  --float-y: 0px;
  --float-angle: 0deg;
  --sticker-scale: 1;
  --sticker-opacity: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(79px, 8.4vw, 139px);
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  padding: 5px;
  cursor: grab;
  pointer-events: auto;
  transform:
    translate3d(
      calc(var(--float-x) + var(--cursor-x) + var(--drag-x)),
      calc(var(--float-y) + var(--cursor-y) + var(--drag-y)),
      0
    )
    translate(-50%, -50%)
    rotate(var(--float-angle))
    scale(var(--sticker-scale));
  transform-origin: center;
  touch-action: none;
  user-select: none;
  will-change: transform;
  opacity: var(--sticker-opacity);
  animation: sticker-arrive .5s cubic-bezier(.16,1,.3,1) both;
  animation-delay: var(--delay, 0ms);
}
.sticker-button:hover, .sticker-button[aria-pressed="true"] {
  z-index: 24 !important;
  filter: drop-shadow(0 14px 12px rgb(10 10 10 / .14));
}
.sticker-button.is-grabbing {
  z-index: 80 !important;
  cursor: grabbing;
  filter: drop-shadow(0 20px 18px rgb(10 10 10 / .2));
  transition: none !important;
}
.sticker-button.is-packed {
  --sticker-opacity: 0;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  animation: none;
}
.sticker-button img, .grid-cell img, .free-item img, .result-cell img, .outfit-collage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  pointer-events: none;
}

.sticker-button img.is-preparing,
.grid-cell img.is-preparing,
.free-item img.is-preparing,
.result-cell img.is-preparing,
.outfit-collage img.is-preparing {
  opacity: 0;
}

.sticker-button img {
  filter: drop-shadow(0 1px 0.8px rgb(10 10 10 / .3))
    drop-shadow(0 10px 9px rgb(10 10 10 / .13));
  transform: scale(1);
  transform-origin: center;
  transition: opacity 160ms ease, filter 180ms ease, transform 220ms cubic-bezier(.16,1,.3,1);
}

.sticker-button:hover img { transform: scale(1.3); }

.board-area {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  width: min(650px, 52vw);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.packing-demo[data-method="grid"] .board-area {
  aspect-ratio: 1;
}
.board-area.is-entering { animation: board-enter-depth .78s cubic-bezier(.16,1,.3,1) both; }
.grid-board, .result-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  aspect-ratio: 1;
  border: 1px solid var(--board-rim);
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(255 255 255 / .22), transparent 42%),
    var(--board-glass);
  box-shadow:
    0 18px 42px rgb(255 255 255 / .52),
    inset 0 1px 1px rgb(255 255 255 / .72),
    inset 0 -2px 5px rgb(255 255 255 / .42);
  -webkit-backdrop-filter: blur(9px) saturate(150%);
  backdrop-filter: blur(9px) saturate(150%);
}
.packing-demo[data-method="grid"] .grid-board {
  height: 100%;
  aspect-ratio: auto;
}
.grid-cell, .result-cell { position: relative; min-width: 0; min-height: 0; overflow: hidden; border: 0; border-right: 1px solid var(--board-rim); border-bottom: 1px solid var(--board-rim); background: rgb(255 255 255 / .1); padding: 0; }
.grid-cell > img, .result-cell > img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
}
.grid-cell:nth-child(3n), .result-cell:nth-child(3n) { border-right: 0; }
.grid-cell:nth-child(n+7), .result-cell:nth-child(n+7) { border-bottom: 0; }
.grid-cell { cursor: pointer; }
.grid-cell.is-target { background: var(--board-glass-strong); }
.grid-cell.is-target, .free-bucket.is-target { outline: 3px solid var(--board-rim); outline-offset: -4px; }
.grid-cell img { animation: settle-in .35s ease both; }
.empty-cell { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: clamp(.7rem, 1.1vw, .9rem); font-weight: 720; }

.free-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 540px; background: transparent; }
.free-bucket {
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--board-rim);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / .2), transparent 46%),
    var(--board-glass);
  box-shadow:
    0 14px 34px rgb(255 255 255 / .48),
    inset 0 1px 1px rgb(255 255 255 / .7),
    inset 0 -2px 5px rgb(255 255 255 / .4);
  -webkit-backdrop-filter: blur(9px) saturate(150%);
  backdrop-filter: blur(9px) saturate(150%);
  padding: 15px 10px 10px;
}
.free-bucket.is-target { background: var(--board-glass-strong); }
.free-bucket h2 { margin: 0 0 10px; text-align: center; font-size: .86rem; }
.free-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-content: start; min-height: 200px; }
.free-item { height: 88px; border: 0; background: transparent; padding: 2px; cursor: pointer; }
.free-empty { grid-column: 1 / -1; align-self: center; margin: auto; color: var(--muted); text-align: center; font-size: .82rem; }

.interaction-message {
  position: fixed;
  left: 50%;
  bottom: clamp(24px, 5vh, 52px);
  z-index: 120;
  max-width: min(580px, calc(100% - 36px));
  margin: 0;
  padding: 14px 24px;
  transform: translate(-50%, 10px) scale(.96);
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / .3), transparent 46%),
    rgb(255 255 255 / .34);
  color: var(--blue);
  box-shadow:
    0 20px 42px rgb(91 74 57 / .28),
    0 0 0 1px rgb(255 255 255 / .2),
    inset 0 1.5px 1px rgb(255 255 255 / .76),
    inset 0 -2px 5px rgb(255 255 255 / .55);
  -webkit-backdrop-filter: blur(12px) saturate(155%);
  backdrop-filter: blur(12px) saturate(155%);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  transition:
    opacity .32s ease,
    visibility .32s ease,
    transform .4s cubic-bezier(.16, 1, .3, 1);
}
.interaction-message.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.workspace-actions, .result-controls { position: absolute; left: 50%; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-width: 155px; border: 1px solid var(--blue); background: var(--blue); color: var(--beige); padding: 11px 17px; font-weight: 650; letter-spacing: .025em; text-decoration: none; }
.primary-button { background: var(--blue); color: var(--beige); }
.primary-button:not(:disabled):hover, .secondary-button:hover {
  border-color: var(--blue);
  background: var(--beige);
  color: var(--blue);
}
.primary-button:disabled { border-color: var(--disabled); background: var(--disabled); color: var(--disabled-ink); cursor: not-allowed; }
.secondary-button { background: var(--blue); color: var(--beige); }
.restart-button { position: absolute; right: 20px; top: 18px; z-index: 32; min-height: 42px; border: 1px solid var(--blue); background: var(--blue); color: var(--beige); padding: 8px 10px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.restart-button:hover { border-color: var(--blue); background: var(--beige); color: var(--blue); }

.result-area { position: absolute; inset: 4% 8% 16%; z-index: 10; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr); gap: clamp(34px, 7vw, 120px); align-items: center; }
.result-board-wrap { position: relative; width: min(100%, 470px); justify-self: end; }
.result-grid { width: 100%; background: var(--surface); }
.result-cell.is-selected { background: var(--selected); }
.path-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.path-overlay line { stroke: var(--blue); stroke-width: 7; stroke-linecap: round; }
.path-overlay circle { fill: var(--blue); }
.outfit-collage { position: relative; width: min(100%, 550px); aspect-ratio: .82; justify-self: start; }
.outfit-collage img { position: absolute; filter: drop-shadow(0 4px 5px rgb(10 10 10 / .08)); animation: collage-in .42s ease both; }
.outfit-collage .outfit-layer { left: 2%; top: 2%; width: 62%; height: 57%; z-index: 1; }
.outfit-collage .outfit-top { right: 2%; top: 14%; width: 54%; height: 45%; z-index: 3; }
.outfit-collage .outfit-bottom { left: 22%; bottom: 0; width: 64%; height: 62%; z-index: 2; }
.outfit-collage .outfit-one-piece { left: 15%; top: 2%; width: 70%; height: 94%; z-index: 2; }
.result-controls { white-space: nowrap; }
.result-controls span { min-width: 70px; text-align: center; color: var(--muted); font-size: .85rem; }
.transfer-sticker { position: fixed; z-index: 200; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; transform-origin: top left; transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .38s ease; will-change: transform, opacity; }

.placement-dialog { width: min(430px, calc(100% - 32px)); border: 1px solid var(--blue); background: var(--blue); color: var(--beige); padding: 0; }
.placement-dialog::backdrop { background: rgb(10 10 10 / .32); }
.placement-dialog form { padding: 28px; text-align: center; }
.placement-dialog h2 { margin: 12px 0 8px; font-size: 1.45rem; }
.placement-dialog p { margin: 0 0 22px; color: rgb(255 255 255 / .82); line-height: 1.5; }
.placement-dialog .primary-button { width: 100%; border-color: var(--beige); }
.placement-dialog .primary-button:hover { border-color: var(--beige); }
.warning-mark { display: grid; width: 40px; height: 40px; margin: auto; place-items: center; border: 2px solid var(--beige); border-radius: 50%; font-weight: 850; }

/* Refractive liquid glass: transparent tint, backdrop refraction, and optical edge highlights. */
.liquid-glass-filter-root {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-bar nav .app-link,
.method-button,
.primary-button,
.secondary-button,
.restart-button,
.skip-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--glass-rim);
  border-radius: var(--control-radius);
  background:
    linear-gradient(145deg, rgb(255 255 255 / .42), rgb(255 255 255 / .14) 44%, rgb(10 10 10 / .12)),
    var(--glass-tint);
  color: var(--blue);
  box-shadow:
    0 14px 28px var(--glass-shadow),
    0 4px 9px rgb(10 10 10 / .12),
    inset 0 1.5px 1px rgb(255 255 255 / .95),
    inset 0 -2px 4px rgb(10 10 10 / .18),
    inset 2px 0 4px rgb(255 255 255 / .56),
    inset -2px 0 5px rgb(10 10 10 / .13);
  -webkit-backdrop-filter: blur(10px) saturate(180%) contrast(1.04);
  backdrop-filter: blur(10px) saturate(180%) contrast(1.04);
}

.site-bar nav .app-link::before,
.method-button::before,
.primary-button::before,
.secondary-button::before,
.restart-button::before,
.skip-link::before {
  content: "";
  position: absolute;
  inset: 1px 3px auto;
  z-index: 0;
  height: 48%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .72), rgb(255 255 255 / .08));
  filter: blur(.35px);
  opacity: .82;
}

.site-bar nav .app-link::after,
.method-button::after,
.primary-button::after,
.secondary-button::after,
.restart-button::after,
.skip-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgb(10 10 10 / .3), transparent 17% 78%, rgb(255 255 255 / .7)),
    radial-gradient(70% 90% at 26% -25%, rgb(255 255 255 / .85), transparent 58%);
  mix-blend-mode: screen;
  opacity: .72;
}

.site-bar nav .app-link > *,
.method-button > *,
.primary-button > *,
.secondary-button > *,
.restart-button > *,
.skip-link > * {
  position: relative;
  z-index: 1;
}

.method-button[aria-pressed="true"] {
  border-color: var(--glass-rim);
  background:
    linear-gradient(145deg, rgb(255 255 255 / .42), rgb(10 10 10 / .32)),
    var(--glass-tint-strong);
  color: var(--beige);
  box-shadow:
    0 15px 30px rgb(10 10 10 / .24),
    inset 0 1.5px 1px rgb(255 255 255 / .88),
    inset 0 -3px 6px rgb(10 10 10 / .22);
}

.site-bar nav .app-link:hover,
.method-button:hover,
.method-button[aria-pressed="true"]:hover,
.primary-button:not(:disabled):hover,
.secondary-button:hover,
.restart-button:hover,
.skip-link:hover {
  border-color: var(--glass-rim);
  background:
    linear-gradient(145deg, rgb(255 255 255 / .5), rgb(10 10 10 / .2)),
    rgb(255 255 255 / .34);
  color: var(--blue);
  box-shadow:
    0 18px 34px rgb(10 10 10 / .22),
    0 4px 9px rgb(10 10 10 / .13),
    inset 0 2px 1px rgb(255 255 255 / .98),
    inset 0 -3px 5px rgb(10 10 10 / .14);
  text-decoration: none;
  transform: translateY(-2px);
}

.site-bar nav .app-link:active,
.method-button:active,
.primary-button:not(:disabled):active,
.secondary-button:active,
.restart-button:active,
.skip-link:active {
  box-shadow:
    0 4px 10px rgb(10 10 10 / .16),
    inset 0 1px 0 rgb(255 255 255 / .45);
  transform: translateY(0);
}

.primary-button:disabled {
  border-color: rgb(10 10 10 / .18);
  background: rgb(255 255 255 / .18);
  color: rgb(10 10 10 / .38);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.placement-dialog .primary-button {
  border-color: rgb(255 255 255 / .62);
}

@supports (backdrop-filter: url("#suda-liquid-glass-filter")) {
  .site-bar nav .app-link,
  .method-button,
  .primary-button,
  .secondary-button,
  .restart-button,
  .skip-link {
    backdrop-filter: url("#suda-liquid-glass-filter") blur(9px) saturate(180%) contrast(1.04);
  }

  .grid-board,
  .result-grid,
  .free-bucket,
  .interaction-message {
    backdrop-filter: url("#suda-liquid-glass-filter") blur(9px) saturate(150%) contrast(1.02);
  }
}

.restart-button {
  position: absolute;
  right: 20px;
  top: 18px;
  min-width: 118px;
  max-width: calc(100% - 40px);
  padding: 9px 18px;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}

.skip-link {
  position: fixed;
}
.journey-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 28px 0 0; }
.journey-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 4.8rem); line-height: 1; font-weight: 400; letter-spacing: 0; }
.journey-copy p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.workflow-guide {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto 88px;
}

.workflow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 40px;
  margin-bottom: 24px;
}

.workflow-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.4vw, 5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.workflow-heading p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.workflow-glass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .7fr) minmax(0, 1.3fr);
  min-height: 820px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .9);
  border-radius: 30px;
  background:
    linear-gradient(138deg, rgb(255 255 255 / .42), rgb(255 255 255 / .16) 44%, rgb(10 10 10 / .08)),
    rgb(255 255 255 / .2);
  box-shadow:
    0 28px 68px rgb(10 10 10 / .16),
    inset 0 1.5px 1px rgb(255 255 255 / .98),
    inset 0 -1px 0 rgb(10 10 10 / .1);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.workflow-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 45% at 18% -8%, rgb(255 255 255 / .85), transparent 72%),
    linear-gradient(104deg, transparent 48%, rgb(255 255 255 / .2) 50%, transparent 53%);
  mix-blend-mode: screen;
}

.workflow-steps,
.workflow-stage {
  position: relative;
  z-index: 1;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 820px;
  overflow-y: auto;
  padding: 28px;
  border-right: 1px solid rgb(10 10 10 / .18);
  scrollbar-color: rgb(10 10 10 / .55) transparent;
}

.workflow-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgb(10 10 10 / .34);
  border-radius: 17px;
  padding: 10px 16px;
  background: rgb(255 255 255 / .24);
  color: var(--blue);
  box-shadow:
    0 8px 18px rgb(10 10 10 / .08),
    inset 0 1px 0 rgb(255 255 255 / .86);
  -webkit-backdrop-filter: blur(13px) saturate(145%);
  backdrop-filter: blur(13px) saturate(145%);
  cursor: pointer;
  text-align: left;
  font-weight: 650;
  line-height: 1.25;
}

.workflow-step-number {
  color: rgb(10 10 10 / .58);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.workflow-step:hover,
.workflow-step.is-active {
  border-color: rgb(255 255 255 / .84);
  background:
    linear-gradient(145deg, rgb(255 255 255 / .25), rgb(10 10 10 / .28)),
    rgb(10 10 10 / .34);
  color: var(--beige);
  box-shadow:
    0 14px 28px rgb(10 10 10 / .2),
    inset 0 1.5px 1px rgb(255 255 255 / .8),
    inset 0 -2px 5px rgb(10 10 10 / .18);
  transform: translateX(4px);
}

.workflow-step:hover .workflow-step-number,
.workflow-step.is-active .workflow-step-number {
  color: rgb(255 255 255 / .78);
}

.workflow-stage {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(220px, .64fr);
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  padding: clamp(30px, 4vw, 62px);
}

.workflow-video-shell {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
  border: 1px solid rgb(255 255 255 / .88);
  border-radius: 30px;
  padding: 14px;
  background:
    linear-gradient(150deg, rgb(255 255 255 / .38), rgb(255 255 255 / .12) 55%, rgb(10 10 10 / .09)),
    rgb(255 255 255 / .2);
  box-shadow:
    0 24px 48px rgb(10 10 10 / .18),
    inset 0 1.5px 1px rgb(255 255 255 / .98),
    inset 0 -2px 4px rgb(10 10 10 / .1);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}

.workflow-video-crop {
  position: relative;
  aspect-ratio: 11 / 24;
  overflow: hidden;
  border: 1px solid rgb(10 10 10 / .24);
  border-radius: 20px;
  background: rgb(255 255 255 / .28);
}

.workflow-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--beige);
  transition: opacity .18s ease, transform .3s ease;
}

.workflow-video.is-switching {
  opacity: 0;
  transform: scale(.985);
}

.workflow-video-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
}

.workflow-video-controls button {
  min-height: 43px;
  border: 1px solid rgb(10 10 10 / .42);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgb(255 255 255 / .28);
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  cursor: pointer;
  font-weight: 650;
}

.workflow-video-controls button:hover {
  border-color: rgb(255 255 255 / .82);
  background: rgb(10 10 10 / .28);
  color: var(--beige);
  transform: translateY(-1px);
}

.workflow-copy {
  align-self: center;
}

.workflow-copy > p:first-child {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.workflow-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.3vw, 5.1rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.workflow-copy > p:not(:first-child) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.workflow-copy .workflow-video-error {
  color: var(--blue);
  font-weight: 700;
}

.pricing-section {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto 88px;
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(150px, .34fr) minmax(360px, 1fr) minmax(280px, .64fr);
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  margin-bottom: 28px;
}

.pricing-heading > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.2vw, 6.2rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.pricing-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.6;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .92);
  border-radius: 30px;
  background:
    linear-gradient(138deg, rgb(255 255 255 / .42), rgb(255 255 255 / .14) 48%, rgb(10 10 10 / .07)),
    rgb(255 255 255 / .2);
  box-shadow:
    0 28px 68px rgb(10 10 10 / .14),
    inset 0 1.5px 1px rgb(255 255 255 / .98),
    inset 0 -1px 0 rgb(10 10 10 / .1);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.pricing-plan {
  display: flex;
  min-width: 0;
  min-height: 570px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 62px);
}

.pricing-plan + .pricing-plan {
  border-left: 1px solid rgb(10 10 10 / .2);
}

.pricing-plan-plus {
  background:
    linear-gradient(145deg, rgb(255 255 255 / .2), rgb(10 10 10 / .2)),
    rgb(10 10 10 / .1);
}

.pricing-plan-heading p,
.pricing-plan-heading h3,
.pricing-plan-heading span {
  margin: 0;
}

.pricing-plan-heading p {
  font-size: .84rem;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pricing-plan-heading h3 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: .9;
}

.pricing-plan-heading span {
  display: block;
  min-height: 48px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-plan ul {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-plan li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-top: 1px solid rgb(10 10 10 / .18);
  line-height: 1.45;
}

.pricing-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 15px;
  font-weight: 800;
}

.pricing-download {
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid var(--blue);
  border-radius: var(--control-radius);
  padding: 14px 22px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / .25), rgb(10 10 10 / .18)),
    rgb(10 10 10 / .2);
  color: var(--blue);
  box-shadow:
    0 12px 26px rgb(10 10 10 / .14),
    inset 0 1.5px 1px rgb(255 255 255 / .88);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  backdrop-filter: blur(14px) saturate(165%);
  font-weight: 700;
  text-decoration: none;
}

.pricing-download:hover {
  background: var(--blue);
  color: var(--beige);
}

footer { min-height: 86px; border-top: 1px solid rgb(10 10 10 / .28); color: var(--muted); font-size: .9rem; }

@keyframes settle-in { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: scale(1); } }
@keyframes collage-in { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sticker-arrive { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }
@keyframes board-enter-depth {
  from { opacity: 0; transform: translate(-50%, -47%) translateZ(-380px) rotateX(11deg) scale(.72); }
  62% { opacity: 1; }
  to { opacity: 1; transform: translate(-50%, -50%) translateZ(0) rotateX(0) scale(1); }
}

@media (max-width: 920px) {
  .workspace-shell, .workspace { min-height: 1040px; }
  .board-area { width: min(560px, 62vw); top: 50%; }
  .result-area { inset: 2% 5% 18%; grid-template-columns: 1fr; gap: 24px; }
  .result-board-wrap { width: min(390px, 58vw); justify-self: center; align-self: end; }
  .outfit-collage { width: min(430px, 65vw); aspect-ratio: 1; justify-self: center; align-self: start; }
  .workflow-heading { grid-template-columns: 1fr; gap: 14px; }
  .workflow-glass { grid-template-columns: 1fr; min-height: 0; }
  .workflow-steps {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid rgb(10 10 10 / .18);
    padding: 18px;
  }
  .workflow-step { flex: 0 0 240px; }
  .workflow-step:hover, .workflow-step.is-active { transform: translateY(-2px); }
  .workflow-stage { grid-template-columns: minmax(260px, .85fr) minmax(220px, .65fr); }
  .pricing-heading { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .site-bar, footer, .packing-demo { width: min(100% - 24px, 1540px); }
  .site-bar { min-height: 64px; }
  .brand span, .site-bar nav a:not(.app-link) { display: none; }
  .packing-demo { padding-top: 18px; }
  .workspace-heading { width: calc(100% - 12px); margin-bottom: 18px; }
  .workspace-heading h1 { font-size: clamp(1.65rem, 7.4vw, 2.35rem); }
  .workspace-shell, .workspace { min-height: 1260px; }
  .method-switch { display: grid; width: calc(100% - 96px); grid-template-columns: 1fr 1fr; }
  .method-button { min-width: 0; padding-inline: 8px; }
  .restart-button { top: 72px; right: 12px; max-width: calc(100% - 24px); }
  .board-area { top: 50%; width: min(360px, 82vw); }
  .sticker-button { width: 70px; padding: 3px; }
  .free-board { min-height: 500px; gap: 8px; }
  .free-bucket { min-height: 246px; padding-inline: 6px; }
  .free-items { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 185px; }
  .free-item { height: 62px; }
  .interaction-message { bottom: 22px; font-size: .82rem; }
  .workspace-actions, .result-controls { width: calc(100% - 24px); justify-content: center; }
  .primary-button, .secondary-button { min-width: 0; flex: 1; padding-inline: 8px; }
  .result-controls span { min-width: 52px; }
  .result-area { inset: 0 10px 18%; gap: 14px; }
  .result-board-wrap { width: min(280px, 72vw); }
  .outfit-collage { width: min(300px, 76vw); }
  .workflow-guide { width: min(100% - 24px, 1540px); margin-bottom: 64px; }
  .workflow-heading { margin-bottom: 18px; }
  .workflow-heading h2 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
  .workflow-glass { border-radius: 22px; }
  .workflow-stage { grid-template-columns: 1fr; padding: 20px 14px 28px; }
  .workflow-video-shell { width: min(100%, 330px); border-radius: 24px; padding: 10px; }
  .workflow-video-crop { border-radius: 16px; }
  .workflow-copy { text-align: center; }
  .workflow-copy h3 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .workflow-copy > p:not(:first-child) { margin-top: 16px; }
  .workflow-video-controls button { padding-inline: 4px; font-size: .84rem; }
  .pricing-section { width: min(100% - 24px, 1540px); margin-bottom: 64px; }
  .pricing-heading { margin-bottom: 18px; }
  .pricing-heading h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .pricing-options { grid-template-columns: 1fr; border-radius: 22px; }
  .pricing-plan { min-height: 0; padding: 30px 22px; }
  .pricing-plan + .pricing-plan { border-top: 1px solid rgb(10 10 10 / .2); border-left: 0; }
  .pricing-plan-heading h3 { font-size: clamp(4rem, 19vw, 6rem); }
  .pricing-plan-heading span { min-height: 0; }
  .pricing-download { width: 100%; margin-top: 28px; text-align: center; }
  footer { flex-wrap: wrap; gap: 10px; padding: 18px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .app-link, .method-button, .primary-button, .secondary-button, .restart-button, .skip-link, .board-area, .result-area, .workflow-step, .workflow-video-controls button, .pricing-download {
    transition: background-color .2s ease, background-image .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease, transform .42s cubic-bezier(.2,.8,.2,1), opacity .32s ease;
  }
  .sticker-button {
    transition: filter .18s ease, opacity .25s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Strict monochrome preset: no glass, gray surfaces, gradients, or shadows. */
html[data-theme="mono"] body,
html[data-theme="mono"] .workspace-shell,
html[data-theme="mono"] .workspace,
html[data-theme="mono"] .packing-demo,
html[data-theme="mono"] .workflow-guide,
html[data-theme="mono"] .pricing-section {
  background: #ffffff;
  color: #000000;
}

html[data-theme="mono"] .site-bar,
html[data-theme="mono"] footer,
html[data-theme="mono"] .workspace-shell {
  border-color: #000000;
}

html[data-theme="mono"] .site-bar nav .app-link,
html[data-theme="mono"] .method-button,
html[data-theme="mono"] .primary-button,
html[data-theme="mono"] .secondary-button,
html[data-theme="mono"] .restart-button,
html[data-theme="mono"] .skip-link,
html[data-theme="mono"] .workflow-step,
html[data-theme="mono"] .workflow-video-controls button,
html[data-theme="mono"] .pricing-download {
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="mono"] .site-bar nav .app-link::before,
html[data-theme="mono"] .site-bar nav .app-link::after,
html[data-theme="mono"] .method-button::before,
html[data-theme="mono"] .method-button::after,
html[data-theme="mono"] .primary-button::before,
html[data-theme="mono"] .primary-button::after,
html[data-theme="mono"] .secondary-button::before,
html[data-theme="mono"] .secondary-button::after,
html[data-theme="mono"] .restart-button::before,
html[data-theme="mono"] .restart-button::after,
html[data-theme="mono"] .skip-link::before,
html[data-theme="mono"] .skip-link::after {
  display: none !important;
}

html[data-theme="mono"] .site-bar nav .app-link,
html[data-theme="mono"] .method-button[aria-pressed="true"],
html[data-theme="mono"] .primary-button:not(:disabled),
html[data-theme="mono"] .workflow-step.is-active,
html[data-theme="mono"] .pricing-download {
  background: #000000 !important;
  color: #ffffff !important;
}

html[data-theme="mono"] .site-bar nav .app-link:hover,
html[data-theme="mono"] .method-button:hover,
html[data-theme="mono"] .method-button[aria-pressed="true"]:hover,
html[data-theme="mono"] .primary-button:not(:disabled):hover,
html[data-theme="mono"] .secondary-button:hover,
html[data-theme="mono"] .restart-button:hover,
html[data-theme="mono"] .skip-link:hover,
html[data-theme="mono"] .workflow-step:hover,
html[data-theme="mono"] .workflow-step.is-active:hover,
html[data-theme="mono"] .workflow-video-controls button:hover,
html[data-theme="mono"] .pricing-download:hover {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none;
}

html[data-theme="mono"] .primary-button:disabled {
  border: 1px dashed #000000 !important;
  background: #ffffff !important;
  color: #000000 !important;
  opacity: .55;
}

html[data-theme="mono"] .grid-board,
html[data-theme="mono"] .result-grid,
html[data-theme="mono"] .free-bucket,
html[data-theme="mono"] .interaction-message,
html[data-theme="mono"] .workflow-glass,
html[data-theme="mono"] .workflow-steps,
html[data-theme="mono"] .workflow-stage,
html[data-theme="mono"] .workflow-video-shell,
html[data-theme="mono"] .pricing-options,
html[data-theme="mono"] .pricing-plan,
html[data-theme="mono"] .pricing-plan-plus {
  border-color: #000000 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="mono"] .grid-cell,
html[data-theme="mono"] .result-cell,
html[data-theme="mono"] .free-item,
html[data-theme="mono"] .free-empty {
  border-color: #000000 !important;
  background: #ffffff !important;
  color: #000000 !important;
}

html[data-theme="mono"] .grid-cell.is-target,
html[data-theme="mono"] .free-bucket.is-target,
html[data-theme="mono"] .result-cell.is-selected {
  outline-color: #000000 !important;
  background: #ffffff !important;
}

html[data-theme="mono"] .path-overlay line { stroke: #000000; }
html[data-theme="mono"] .path-overlay circle { fill: #000000; }

html[data-theme="mono"] .placement-dialog {
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
}

html[data-theme="mono"] .placement-dialog::backdrop { background: rgb(0 0 0 / .7); }
html[data-theme="mono"] .placement-dialog p { color: #000000; }
html[data-theme="mono"] .warning-mark { border-color: #000000; }

html[data-theme="mono"] .workflow-copy > p,
html[data-theme="mono"] .workflow-heading p,
html[data-theme="mono"] .pricing-heading > p,
html[data-theme="mono"] .pricing-plan-heading span,
html[data-theme="mono"] .result-controls span,
html[data-theme="mono"] .empty-cell,
html[data-theme="mono"] footer {
  color: #000000;
}

html[data-theme="mono"] .pricing-plan + .pricing-plan,
html[data-theme="mono"] .pricing-plan li,
html[data-theme="mono"] .workflow-steps {
  border-color: #000000;
}

/* Shared Suda navigation, pricing, and footer. */
.suda-header {
  width: 100%;
  border-bottom: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

.suda-header .container,
.homepage-footer .container {
  width: min(1760px, calc(100% - 48px));
  margin: 0 auto;
}

.suda-nav {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.suda-brand {
  color: #000000;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.suda-nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.suda-nav-links a {
  min-height: 62px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-family: var(--body);
  font-weight: 700;
  text-decoration: none;
}

.suda-nav-links a:hover,
.suda-nav-links a:focus-visible {
  background: #000000;
  color: #ffffff;
}

.suda-nav-links .nav-download {
  background: #000000;
  color: #ffffff;
}

.suda-nav-links .nav-download:hover,
.suda-nav-links .nav-download:focus-visible {
  background: #ffffff;
  color: #000000;
}

html[data-theme="mono"] .pricing-section {
  width: min(1480px, calc(100% - 48px));
  margin: 120px auto;
  padding: 0;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

.pricing-heading {
  display: block;
  padding: 72px;
  border-bottom: 1px solid #000000;
  text-align: center;
}

.pricing-heading > p:first-child {
  margin-bottom: 18px;
  color: #000000;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pricing-heading h2 {
  max-width: 12ch;
  margin: 0 auto 24px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}

.pricing-heading > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #000000;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

html[data-theme="mono"] .pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

html[data-theme="mono"] .pricing-plan,
html[data-theme="mono"] .pricing-plan-plus {
  min-width: 0;
  padding: 56px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
}

html[data-theme="mono"] .pricing-plan + .pricing-plan {
  border-left: 1px solid #000000;
}

.pricing-plan-heading p {
  color: #000000;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pricing-plan-heading h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.pricing-plan-heading span {
  display: block;
  min-height: 3em;
  color: #000000;
  font-size: 1rem;
  line-height: 1.5;
}

.pricing-plan ul {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-plan li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-top: 1px solid #000000;
  color: #000000;
  line-height: 1.45;
}

.pricing-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
}

html[data-theme="mono"] .pricing-download {
  min-height: 58px;
  margin-top: 36px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

html[data-theme="mono"] .pricing-download:hover,
html[data-theme="mono"] .pricing-download:focus-visible {
  background: #ffffff !important;
  color: #000000 !important;
}

.homepage-footer {
  width: 100%;
  min-height: 0;
  padding: 72px 0 28px;
  display: block;
  border-top: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
}

.homepage-footer .footer-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px;
}

.homepage-footer .footer-section h4 {
  margin: 0 0 30px;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 800;
}

.homepage-footer .footer-section p,
.homepage-footer .footer-section li {
  margin: 0 0 18px;
  line-height: 1.45;
}

.homepage-footer .footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-footer a {
  color: #000000;
  text-decoration: none;
}

.homepage-footer a:hover,
.homepage-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.homepage-footer .footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #d4d4d4;
  text-align: center;
}

.homepage-footer .footer-bottom p { margin: 0; }

@media (max-width: 920px) {
  .suda-nav {
    min-height: 88px;
    align-items: flex-start;
    padding: 20px 0;
  }

  .suda-nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .suda-nav-links a {
    min-height: 44px;
    padding: 0 12px;
    font-size: .86rem;
  }

  html[data-theme="mono"] .pricing-section {
    margin: 80px auto;
  }

  .pricing-heading { padding: 56px 40px; }
  .pricing-plan { padding: 42px 36px; }
  .homepage-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .suda-header .container,
  .homepage-footer .container,
  html[data-theme="mono"] .pricing-section {
    width: min(100% - 24px, 1760px);
  }

  .suda-nav { display: block; }
  .suda-nav-links {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suda-nav-links a { text-align: center; }

  html[data-theme="mono"] .pricing-options { grid-template-columns: 1fr; }
  html[data-theme="mono"] .pricing-plan + .pricing-plan {
    border-top: 1px solid #000000;
    border-left: 0;
  }

  .pricing-heading,
  html[data-theme="mono"] .pricing-plan,
  html[data-theme="mono"] .pricing-plan-plus {
    padding: 36px 24px;
  }

  .pricing-plan-heading span { min-height: 0; }
  .homepage-footer .footer-content { grid-template-columns: 1fr; }
  .homepage-footer { padding-top: 52px; }
}
