/* ============================================================
   SKETCH IT - site styles
   ------------------------------------------------------------
   Want different colors? Change the values in :root below.
   Everything else on the site uses these.
   ============================================================ */

:root {
  /* Main colors */
  --bg: #fbf8f3;            /* warm white page background */
  --card: #ffffff;          /* card background */
  --ink: #26283a;           /* main text */
  --ink-soft: #5d6079;      /* secondary text */
  --line: #ece5d8;          /* borders */

  --blue: #5b8def;          /* main accent (buttons, links) */
  --blue-dark: #3f6fd6;
  --blue-soft: #eaf1ff;
  --pink: #f7a8c4;
  --pink-soft: #fdecf2;
  --lavender: #b9a7f5;
  --lavender-soft: #f1edff;
  --teal: #5cc8be;
  --teal-soft: #e4f7f5;
  --danger: #c2415d;

  --paper: #fffdf8;

  /* Shape */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(38, 40, 58, .04), 0 8px 28px rgba(38, 40, 58, .07);
  --shadow-lift: 0 2px 4px rgba(38, 40, 58, .06), 0 14px 34px rgba(91, 141, 239, .18);

  /* Fonts */
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --max: 960px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  /* faint sketchbook dots */
  background-image: radial-gradient(rgba(91, 141, 239, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 10px;
  z-index: 10; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  padding-top: env(safe-area-inset-top);
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
}
.nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
}
.brand span, .nav a { white-space: nowrap; }
.nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
}
.nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  letter-spacing: .04em;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.hero h1::after {
  /* hand-drawn underline */
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: -12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8c30-5 60-6 95-3s70 2 99-3' fill='none' stroke='%23f7a8c4' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.subtitle {
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ---------- Cards ---------- */
.tool { padding-bottom: 12px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .card { padding: 32px; }
}

/* ---------- Upload area ---------- */
.dropzone {
  border: 3px dashed #c8d7f7;
  background: linear-gradient(180deg, #f7faff, #fdfbff);
  border-radius: var(--radius);
  min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 28px 18px;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.dropzone:hover { border-color: var(--blue); }
.dropzone.is-dragging {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: scale(1.01);
}
.drop-art { margin-bottom: 8px; }
.drop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 4px 0 4px;
}
.drop-help { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.choose-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
}
.dropzone:hover .choose-link { background: var(--blue-dark); }
.desktop-only { display: block; }
.drop-types {
  margin: 14px 0 0;
  font-size: .85rem; letter-spacing: .1em; font-weight: 800;
  color: #8f93ad;
}
@media (hover: none) and (pointer: coarse) {
  .desktop-only { display: none; }
}

/* ---------- Preview ---------- */
.preview-frame {
  margin: 0;
  background: #f4f1ea;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.preview-frame img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
.preview-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 14px;
}
.preview-actions .btn { flex: 1 1 140px; max-width: 220px; padding: 12px 12px; }

.privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 14px 0 6px;
  color: var(--ink-soft);
  font-size: .92rem;
  text-align: center;
}
.privacy svg { flex: none; color: var(--teal); }

/* ---------- Options ---------- */
.options {
  border: 0;
  margin: 22px 0 0;
  padding: 0;
  min-width: 0;
}
.options legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  padding: 0;
}
.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.choice-row-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* with an odd number of styles, the last one stretches across on phones */
.choice-row-styles .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .choice-row-styles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .choice-row-styles .choice:last-child:nth-child(odd) { grid-column: auto; }
  .choice-row-styles .choice-box { height: 100%; flex-direction: column; gap: 6px; font-size: .92rem; padding: 12px 6px; min-height: 84px; }
}
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute; opacity: 0; inset: 0;
  width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.choice-box {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px;
  padding: 10px 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 800;
  font-size: .98rem;
  text-align: center;
  line-height: 1.2;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice:hover .choice-box { border-color: #c8d7f7; }
.choice input:checked + .choice-box {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, .15);
}
.choice input:focus-visible + .choice-box {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.choice-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 2px solid #fff; box-shadow: 0 0 0 2px currentColor;
}
.c-teal { background: var(--teal); color: var(--teal); }
.c-blue { background: var(--blue); color: var(--blue); }
.c-lavender { background: var(--lavender); color: var(--lavender); }

.swatch {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  border: 1px solid rgba(0, 0, 0, .08);
}
.sw-colored { background: linear-gradient(135deg, var(--pink) 0 33%, var(--teal) 33% 66%, var(--lavender) 66%); }
.sw-pencil {
  background: repeating-linear-gradient(135deg, #8a8d99 0 2px, #e8e8ec 2px 5px);
}
.sw-crayon { background: radial-gradient(circle at 30% 30%, #ffd166 0 30%, #ef6f6c 31% 60%, #5b8def 61%); }
.sw-blueprint {
  border: 2px solid #26283a;
  border-radius: 3px;
  background:
    linear-gradient(var(--lavender), var(--lavender)) 2px 2px / 6px 9px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right 2px top 2px / 6px 9px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center bottom 2px / 8px 5px no-repeat,
    #fffdf8;
}
.sw-pen {
  background:
    linear-gradient(135deg, transparent 45%, #26283a 45% 55%, transparent 55%),
    linear-gradient(135deg, var(--pink) 0 50%, var(--teal) 50%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(91, 141, 239, .28); }
.btn-primary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: var(--shadow-lift); }

.btn-soft { background: var(--lavender-soft); color: #5b46b8; border-color: #e1d9ff; }
.btn-soft:hover:not(:disabled) { background: #e8e1ff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: #cfc6b4; background: #fffdf9; }
.btn-danger { color: var(--danger); }
.btn-danger:hover:not(:disabled) { border-color: #f1c2cd; background: var(--pink-soft); }

.btn-big {
  width: 100%;
  min-height: 64px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .06em;
  border-radius: 18px;
}

.error {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--pink-soft);
  color: #8f2440;
  border: 1px solid #f6c8d7;
  font-weight: 700;
  text-align: center;
}

/* ---------- Loading ---------- */
.loading { text-align: center; padding-top: 36px; padding-bottom: 40px; }
.loader-svg { width: min(320px, 100%); height: auto; margin: 0 auto; overflow: visible; }
.loader-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 2.6s linear infinite;
}
.loader-pencil { animation: fade 2.6s linear infinite; }
@keyframes draw {
  0% { stroke-dashoffset: 100; }
  70% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes fade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
.loading-msg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 18px 0 4px;
  min-height: 1.6em;
}
.loading-sub { margin: 0; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .loader-line { animation: none; stroke-dashoffset: 0; }
  .loader-pencil { animation: none; }
}

/* ---------- Result ---------- */
.result { max-width: var(--max); }
.result:focus { outline: none; }
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.compare-item { margin: 0; min-width: 0; }
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-photo { background: var(--teal-soft); color: #23756d; }
.tag-sketch { background: var(--pink-soft); color: #a33a63; }
.frame {
  background: #f4f1ea;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: var(--ratio, 4 / 3);
}
.frame img { width: 100%; height: 100%; object-fit: contain; }
.frame-paper { background: var(--paper); }

.result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}
@media (min-width: 700px) {
  .result-actions { grid-template-columns: 1.2fr 1.2fr .8fr; }
}
.result-actions .btn { min-height: 54px; }
.tip {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink-soft);
}

/* ---------- The "Deniro check" pop-up ---------- */
html.gate-open { overflow: hidden; }
.gate {
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 24px 70px rgba(38, 40, 58, .28);
}
.gate:not([open]) { display: none; }
.gate::backdrop { background: rgba(38, 40, 58, .5); }
.gate-head { display: flex; align-items: center; justify-content: space-between; }
.gate-step {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.gate-close {
  width: 44px; height: 44px;
  margin: -8px -8px 0 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft);
  cursor: pointer;
}
.gate-close:hover { background: var(--blue-soft); color: var(--ink); }
.gate-dots { display: flex; gap: 6px; margin: 6px 0 14px; }
.gate-dots span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.gate-dots .is-now { background: var(--blue); }
.gate-dots .is-done { background: var(--teal); }
.gate h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 6px;
}
.gate-ask { display: block; margin: 0 0 12px; font-size: 1.05rem; }
.gate-ask strong { color: var(--blue-dark); }
.gate-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: line; }
.gate-lines li { position: relative; counter-increment: line; }
.gate-lines li::before {
  content: counter(line);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-weight: 800; color: #9a9db3; font-size: .9rem;
}
.gate-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 40px 10px 34px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* stops iPhones from zooming in */
  font-weight: 700;
}
.gate-input::placeholder { color: #c3c5d3; font-weight: 600; }
.gate-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91, 141, 239, .2); }
.gate-tick {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--teal); color: #fff; font-size: .8rem; font-weight: 800;
}
.gate-lines li.is-ok .gate-input { border-color: var(--teal); background: var(--teal-soft); }
.gate-lines li.is-ok .gate-tick { display: grid; }
.gate-note { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; color: #8f2440; text-align: center; }
.gate-note.is-good { color: #23756d; }
.gate-btn { width: 100%; min-height: 54px; margin-top: 10px; letter-spacing: .06em; }
.gate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gate-tile {
  min-width: 0;
  aspect-ratio: 1;
  padding: 10%;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .12s, background-color .12s, transform .12s;
}
.gate-tile:hover { border-color: #c8d7f7; }
.gate-tile[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(91, 141, 239, .25);
  transform: scale(.94);
}
.gate-answer { padding-left: 14px; text-align: center; font-size: 1.4rem; letter-spacing: .08em; }

/* ---------- Mini challenges ---------- */
.challenge-body { min-height: 150px; }
.challenge-big {
  display: block;
  margin: 4px 0 12px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.challenge-code { display: flex; justify-content: center; gap: 10px; letter-spacing: 0; }
.challenge-code span { display: inline-block; }
.challenge-slider { display: flex; align-items: center; gap: 8px; }
.challenge-range { flex: 1; min-width: 0; height: 44px; accent-color: var(--blue); }
.challenge-step { min-width: 48px; min-height: 48px; padding: 0; font-size: 1.4rem; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.challenge-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.challenge-tile {
  min-height: 60px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.challenge-tile:hover { border-color: #c8d7f7; }
.challenge-tile.is-done { border-color: var(--teal); background: var(--teal-soft); color: #23756d; cursor: default; }
.challenge-word { font-size: 1.15rem; text-transform: capitalize; }
.challenge-hold {
  position: relative;
  width: 100%;
  min-height: 72px;
  border: 2px solid var(--blue);
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .08em;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.challenge-hold-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(91, 141, 239, .35); }
.challenge-hold-label { position: relative; }

/* ---------- Daily limit pop-up ---------- */
.limit-title {
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
  text-align: center;
  color: #8f2440;
  margin: 8px 0 14px !important;
}
.limit-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.limit-password { padding-left: 14px; }

@media (max-height: 640px) {
  .gate { padding: 14px 16px; }
  .gate h2 { font-size: 1.1rem; margin-bottom: 2px; }
  .gate-ask { margin-bottom: 8px; font-size: 1rem; }
  .gate-dots { margin: 2px 0 8px; }
  .gate-grid { gap: 6px; max-width: 250px; margin: 0 auto; }
  .gate-lines { gap: 6px; }
  .gate-input { min-height: 44px; }
  .gate-note { margin-top: 6px; }
  .gate-btn { min-height: 48px; margin-top: 6px; }
}

/* ---------- How it works ---------- */
.how { padding-top: 56px; padding-bottom: 40px; }
.how h2 {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.steps {
  list-style: none;
  margin: 0 auto; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 72px;
  position: relative;
  box-shadow: var(--shadow);
  min-height: 92px;
}
@media (min-width: 700px) {
  .step { padding: 22px; text-align: center; }
}
.step-num {
  position: absolute; left: 18px; top: 18px;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
@media (min-width: 700px) {
  .step-num { position: static; margin: 0 auto 10px; }
}
.step-1 .step-num { background: var(--teal-soft); color: #23756d; }
.step-2 .step-num { background: var(--blue-soft); color: var(--blue-dark); }
.step-3 .step-num { background: var(--pink-soft); color: #a33a63; }
.step h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
}
.site-footer p { margin: 0; }
.support { margin-top: 8px !important; font-size: .85rem; }
.support a { color: var(--blue-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.support a:hover { text-decoration: underline; }
.hand { font-family: var(--font-hand); font-size: 1.3rem; color: var(--blue-dark); }

@media (max-width: 480px) {
  .card { padding: 18px; }
  .brand { font-size: 1.1rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
}

/* small phones */
@media (max-width: 380px) {
  .nav li:first-child { display: none; }
  .choice-box { font-size: .9rem; padding: 8px 6px; }
  .nav a { padding: 8px 8px; }
  .brand span { font-size: 1.1rem; }
}
