:root {
  color-scheme: light;
  --paper: #f3f5f1;
  --card: #ffffff;
  --card-2: #f6f8f4;
  --ink: #101a14;
  --ink-soft: #4f6058;
  --ink-faint: #75857c;
  --line: #e0e6df;
  --line-strong: #c5cfc6;
  --moss: #1f6b47;
  --moss-deep: #17543a;
  --moss-ink: #ffffff;
  --moss-tint: #e3f0e8;
  --sky: #1c5d8c;
  --sky-tint: #e1edf7;
  --amber: #8a5a07;
  --amber-tint: #f9efd6;
  --slate: #4f5f67;
  --slate-tint: #e6ebee;
  --rose: #b42318;
  --rose-tint: #fbe6e3;
  --green: #1d6b3a;
  --green-tint: #e0f2e7;
  --rose-ink: #ffffff;
  --hero-from: #1d6344;
  --hero-to: #2a8059;
  --hero-ink: #f3faf6;
  --hero-soft: rgba(243, 250, 246, 0.74);
  --focus: #1c5d8c;
  --shadow-lift: 0 1px 0 rgba(16, 26, 20, 0.05), 0 22px 44px -30px rgba(16, 26, 20, 0.45);
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 10px;
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0b1310;
    --card: #101a15;
    --card-2: #14211b;
    --ink: #e6f0ea;
    --ink-soft: #9db1a6;
    --ink-faint: #6b7f74;
    --line: #1d2c25;
    --line-strong: #2b3e34;
    --moss: #5fcb94;
    --moss-deep: #3fa578;
    --moss-ink: #05150c;
    --moss-tint: #15291f;
    --sky: #8ccaf1;
    --sky-tint: #142a3b;
    --amber: #f1bd5a;
    --amber-tint: #2b2313;
    --slate: #b5c3bc;
    --slate-tint: #1b2521;
    --rose: #ff8c82;
    --rose-tint: #34171a;
    --green: #7fd9a0;
    --green-tint: #13261b;
    --rose-ink: #2a0b08;
    --hero-from: #143a2a;
    --hero-to: #1d5540;
    --hero-ink: #e9f7ef;
    --hero-soft: rgba(233, 247, 239, 0.72);
    --focus: #8ccaf1;
    --shadow-lift: 0 1px 0 rgba(0, 0, 0, 0.35), 0 26px 50px -30px rgba(0, 0, 0, 0.85);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1310;
  --card: #101a15;
  --card-2: #14211b;
  --ink: #e6f0ea;
  --ink-soft: #9db1a6;
  --ink-faint: #6b7f74;
  --line: #1d2c25;
  --line-strong: #2b3e34;
  --moss: #5fcb94;
  --moss-deep: #3fa578;
  --moss-ink: #05150c;
  --moss-tint: #15291f;
  --sky: #8ccaf1;
  --sky-tint: #142a3b;
  --amber: #f1bd5a;
  --amber-tint: #2b2313;
  --slate: #b5c3bc;
  --slate-tint: #1b2521;
  --rose: #ff8c82;
  --rose-tint: #34171a;
  --green: #7fd9a0;
  --green-tint: #13261b;
  --rose-ink: #2a0b08;
  --hero-from: #143a2a;
  --hero-to: #1d5540;
  --hero-ink: #e9f7ef;
  --hero-soft: rgba(233, 247, 239, 0.72);
  --focus: #8ccaf1;
  --shadow-lift: 0 1px 0 rgba(0, 0, 0, 0.35), 0 26px 50px -30px rgba(0, 0, 0, 0.85);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button, input, select {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.84em;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}

.bar {
  max-width: 1120px;
  margin-inline: auto;
  padding: 12px clamp(16px, 4vw, 32px);
  min-height: 64px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1.2rem/1 var(--font-display);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--moss);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: var(--moss-ink);
}

.brand-mark .vein {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: var(--card-2);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card-2);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line-strong);
}

.account-name {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--ink);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.icon-btn .half {
  fill: currentColor;
}

@media (max-width: 560px) {
  .account-name {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  border-color: var(--ink-faint);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--moss-ink);
}

.btn-primary:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

.btn-quiet {
  min-height: 36px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: var(--ink-soft);
}

.btn-quiet:hover {
  color: var(--ink);
  background: var(--card-2);
  border-color: transparent;
}

.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: 28px 56px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 10px;
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.lede.small {
  margin-top: 10px;
  font-size: 15px;
}

.layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.label {
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.balance {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-lg);
  color: var(--hero-ink);
  background: linear-gradient(145deg, var(--hero-from), var(--hero-to));
  box-shadow: var(--shadow-lift);
}

.balance::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  z-index: -1;
}

.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.balance .label {
  color: var(--hero-soft);
}

.pill-soft {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--hero-soft);
  font-size: 12px;
  font-weight: 600;
}

.balance-amount {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.amount {
  font: 700 clamp(2.8rem, 2rem + 3.6vw, 4.2rem)/1 var(--font-display);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hero-soft);
}

.balance-foot {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: end;
  gap: 28px;
}

.balance-foot .label {
  color: var(--hero-soft);
}

.metric {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.metric strong {
  font: 600 1.2rem/1.1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.spark {
  width: 100%;
  height: 60px;
  min-width: 0;
  overflow: visible;
}

.spark .area {
  fill: rgba(255, 255, 255, 0.14);
}

.spark .line {
  fill: none;
  stroke: var(--hero-ink);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spark circle {
  fill: var(--hero-ink);
}

@media (max-width: 520px) {
  .balance-foot {
    grid-template-columns: 1fr 1fr;
  }

  .spark {
    grid-column: 1 / -1;
  }
}

.panel {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head p {
  font-size: 14px;
  color: var(--ink-soft);
}

.empty {
  padding: 6px 0 2px;
  font-size: 14px;
  color: var(--ink-soft);
}

.hint {
  font-size: 13px;
  color: var(--ink-faint);
}

.fine {
  font-size: 13px;
  color: var(--ink-faint);
}

.order-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 620px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card-2);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder {
  color: var(--ink-faint);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: transparent;
}

.field input[aria-invalid="true"] {
  border-color: var(--rose);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.chip-btn {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.chip-btn:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
}

.chip-btn[aria-pressed="true"] {
  background: var(--moss-tint);
  border-color: var(--moss);
  color: var(--ink);
}

.preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px dashed var(--line-strong);
}

.preview strong {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.preview strong.is-warn {
  color: var(--rose);
}

.form-note {
  font-size: 14px;
  color: var(--ink-soft);
}

.form-note.is-warn {
  color: var(--rose);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: -4px;
  padding-inline: 4px;
}

table.orders {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.orders th {
  padding: 0 12px 10px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.orders td {
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.orders td code {
  color: var(--ink-soft);
}

.orders .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.orders td:last-child {
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending {
  color: var(--amber);
  background: var(--amber-tint);
}

.status-queued {
  color: var(--sky);
  background: var(--sky-tint);
}

.status-refunded {
  color: var(--slate);
  background: var(--slate-tint);
}

.status-delivered {
  color: var(--green);
  background: var(--green-tint);
}

.status-partial {
  color: var(--rose);
  background: var(--rose-tint);
}

html.is-theming,
html.is-theming *,
html.is-theming *::before,
html.is-theming *::after {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease, stroke 0.45s ease, box-shadow 0.45s ease !important;
}

.icon-btn svg {
  transition: transform 0.5s ease;
}

.icon-btn.is-flipped svg {
  transform: rotate(180deg);
}

.reward-list {
  display: grid;
}

.reward {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.reward:first-child {
  border-top: 0;
  padding-top: 0;
}

.reward h3 {
  margin: 0;
  font-size: 15px;
}

.reward p {
  margin: 0;
}

.reward-state {
  font-weight: 600;
}

.reward .btn {
  justify-self: start;
}

.admin {
  display: grid;
  gap: 20px;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}

.metric-card strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  padding-top: 14px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.subnav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.subnav a[aria-current="page"] {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.control-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.control-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.control-title {
  margin: 0;
  font-weight: 600;
}

.lookup-form,
.inline-search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.lookup-form .field,
.inline-search input {
  flex: 1 1 200px;
  min-width: 0;
}

.inline-search {
  flex: 0 1 340px;
  justify-content: flex-end;
}

.inline-search input {
  max-width: 260px;
}

.load-more {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.load-more[hidden] {
  display: none;
}

.detail-list {
  display: grid;
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  font-weight: 600;
}

.detail-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.muted {
  margin-left: 6px;
  opacity: 0.7;
}

.setting-list {
  display: grid;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.setting-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.setting-copy {
  display: grid;
  gap: 4px;
  flex: 1 1 260px;
  min-width: 0;
}

.setting-label {
  font-weight: 600;
}

.setting-input {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: 0 1 220px;
  min-width: 0;
}

.setting-input input[type="number"],
.setting-input input[type="text"] {
  width: 100%;
  max-width: 220px;
  min-width: 0;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.settings-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.setting-input input[type="number"] {
  appearance: textfield;
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.ledger li:first-child {
  padding-top: 2px;
  border-top: 0;
}

.ledger li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ledger-reason {
  font-size: 14px;
  font-weight: 600;
}

.ledger time {
  font-size: 12px;
  color: var(--ink-faint);
}

.ledger-delta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ledger-delta.is-up {
  color: var(--moss);
}

.ledger-delta.is-down {
  color: var(--ink-soft);
}

.earn-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.earn-links li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.earn-links li:first-child {
  padding-top: 0;
  border-top: 0;
}

.earn-links a {
  font-weight: 600;
  color: var(--moss);
  text-decoration: none;
}

.earn-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.earn-note {
  color: var(--ink-soft);
}

.survey-frame {
  height: min(72vh, 680px);
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

.survey-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.notice {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-size: 14px;
}

.notice.error {
  color: var(--rose);
  background: var(--rose-tint);
  border-color: transparent;
  font-weight: 600;
}

.notice.info {
  color: var(--ink-soft);
  background: var(--card-2);
}

.hero-land {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: clamp(28px, 6vw, 72px) 48px;
}

@media (min-width: 900px) {
  .hero-land {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }
}

.hero-land h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

.price-sheet {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.rows {
  margin: 0;
  display: grid;
}

.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.row:first-child {
  padding-top: 4px;
  border-top: 0;
}

.row dt {
  font-weight: 500;
}

.row dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  white-space: nowrap;
}

.earn-section {
  padding-block: 40px 16px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.section-head p {
  font-size: 14px;
  color: var(--ink-soft);
}

.earn-list {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .earn-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.earn-item {
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.earn-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.site-foot {
  max-width: 1120px;
  margin-inline: auto;
  padding: 24px clamp(16px, 4vw, 32px) 40px;
  font-size: 13px;
  color: var(--ink-faint);
}

.toasts {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 8px;
  pointer-events: none;
}

.toast {
  width: min(420px, 100%);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  pointer-events: auto;
  animation: rise 0.3s ease both;
}

.toast.is-error {
  background: var(--rose);
  color: var(--rose-ink);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
