:root {
  color-scheme: light;
  --ink: #1c1817;
  --muted: #746964;
  --purple: #6d28d9;
  --purple-light: #8c43f5;
  --blue: #2f6fbf;
  --line: rgba(101, 72, 61, .12);
  --surface: #fffdfa;
  --radius: 22px;
  --shadow: 0 26px 80px rgba(83, 52, 42, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { min-width: 280px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 111, 191, .09), transparent 32rem),
    radial-gradient(circle at 88% 3%, rgba(255, 145, 105, .16), transparent 34rem),
    linear-gradient(180deg, #fffaf6 0%, #fbf8f5 52%, #fffdfb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(112, 78, 57, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 78, 57, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button, input { font: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--purple);
  border-radius: 10px;
}

.skip-link:focus { transform: none; }

.shell {
  position: relative;
  width: min(100% - 64px, 1320px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-block: 18px;
}

.topbar, .page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar { padding-inline: 8px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; flex: 0 0 auto; object-fit: contain; }
.brand-title { display: block; font-size: 17px; font-weight: 900; }
.brand-subtitle { display: block; margin-top: 3px; font-size: 12px; font-weight: 650; color: var(--muted); }
.topbar-caption { font-size: 12px; font-weight: 650; color: var(--muted); }

.stage {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 2.8vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(151, 86, 65, .13);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, .96);
  box-shadow: var(--shadow);
}

.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -420px;
  right: -160px;
  width: 700px;
  height: 760px;
  border: 1px solid rgba(132, 81, 65, .07);
  border-radius: 130px;
  transform: rotate(-30deg);
  pointer-events: none;
}

.page-heading { margin-bottom: 24px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--purple-light));
}

h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 900;
}

.accent { color: var(--purple); }
.page-lead { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }

.format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.format-option { position: relative; min-width: 0; }

.format-card {
  --card-accent: var(--purple);
  --card-tint: #f5effd;
  --card-border: #ded0f2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 26px 0;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.format-card--ready {
  --card-accent: #245fa9;
  --card-tint: #edf4fc;
  --card-border: #cadcf2;
}

@media (hover: hover) and (pointer: fine) {
  .format-card:hover { border-color: var(--card-border); }
}

.format-card:focus-visible { outline: 3px solid var(--card-accent); outline-offset: 5px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.format-tag { padding: 7px 11px; border-radius: 7px; color: var(--card-accent); background: var(--card-tint); font-size: 12px; font-weight: 750; }

.card-illustration { display: block; margin: 8px -6px 12px; }
.card-illustration img { display: block; width: 100%; height: 120px; object-fit: contain; }
.card-title { font-size: clamp(23px, 2.25vw, 32px); line-height: 1.12; font-weight: 850; letter-spacing: -.035em; }
.card-description { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.format-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  margin-bottom: 24px;
  color: var(--card-accent);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750;
}

.format-flow svg { width: 17px; height: 17px; flex: 0 0 auto; }

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--card-accent);
  font-size: 14px;
  font-weight: 750;
}

.card-action svg { width: 22px; height: 22px; }
.format-flow svg, .card-action svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.selection-status { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.page-footer { padding-inline: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }

@media (min-width: 1600px) {
  .shell { width: min(100% - 120px, 1440px); }
  .stage { padding: 48px 56px; }
  .card-illustration img { height: 160px; }
}

@media (max-width: 1000px) {
  .shell { width: calc(100% - 40px); }
  .format-options { gap: 16px; }
  .format-card { padding: 20px 20px 0; }
  .desktop-break { display: none; }
}

@media (min-width: 701px) and (max-height: 800px) {
  .shell { padding-block: 14px; gap: 12px; }
  .stage { padding: 20px 36px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(38px, 3.8vw, 52px); }
  .page-lead { margin-top: 12px; }
  .page-heading { margin-bottom: 20px; }
  .format-card { padding-top: 18px; }
  .card-illustration img { height: 100px; }
  .format-flow { margin-block: 16px 18px; }
  .selection-status { margin-top: 18px; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); padding-block: 16px; gap: 16px; }
  .topbar { padding-inline: 2px; }
  .topbar-caption { display: none; }
  .brand { gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-subtitle { font-size: 11px; }
  .stage { padding: 26px 20px 22px; border-radius: 18px; }
  .page-heading { margin-bottom: 24px; }
  h1 { font-size: clamp(35px, 7.5vw, 48px); }
  .page-lead { font-size: 15px; margin-top: 14px; }
  .format-options { grid-template-columns: minmax(0, 1fr); }
  .format-card { padding: 18px 20px 0; border-radius: 14px; }
  .card-illustration img { height: 122px; }
  .card-title { font-size: 27px; }
  .card-description { font-size: 14px; }
  .format-flow { margin-top: 17px; margin-bottom: 18px; }
  .card-action { min-height: 56px; }
  .selection-status { min-height: 3em; font-size: 12px; }
  .page-footer { padding-inline: 2px; }
  .page-footer span:last-child { display: none; }
}

@media (max-width: 360px) {
  .stage { padding: 24px 14px 20px; }
  .format-card { padding-inline: 16px; }
  .card-title { font-size: 24px; }
  .format-flow { font-size: 11px; gap: 6px; }
}

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