:root {
  --bg: #f5ead8;
  --surface: #ffffff;
  --text: #201e1d;
  --muted: #474238;
  --line: #dcd3c4;
  --soft: #f9f4ed;
  --accent: #b2622d;
  --accent-strong: #8c491a;
  --accent-soft: #fff2eb;
  --olive: #56633f;
  --olive-soft: #f0fae1;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(32, 30, 29, 0.06), 0 8px 24px rgba(32, 30, 29, 0.06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.5 "Figtree", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-strong); }
h1, h2 { font-family: "Caprasimo", system-ui, sans-serif; font-weight: 400; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 44px); }
h2 { font-size: 22px; }

.top { padding: 18px 16px; max-width: 980px; width: 100%; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 24px "Caprasimo", system-ui; color: var(--text); text-decoration: none; }
.leaf { width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; }

main { flex: 1; max-width: 980px; width: 100%; margin: 0 auto; padding: 8px 16px 40px; }
.screen { display: flex; flex-direction: column; gap: 14px; }
.screen[hidden] { display: none; }
.lead { margin: 0; font-size: 20px; color: var(--muted); }
.back { align-self: flex-start; font-weight: 600; text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }

.choices { display: grid; gap: 14px; margin-top: 8px; max-width: 640px; }
.choice {
  display: flex; align-items: center; gap: 16px; padding: 20px; min-height: 96px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; border: 2px solid transparent;
}
.choice:hover, .choice:focus-visible { border-color: var(--accent); outline: none; }
.choice-icon { font-size: 34px; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.choice-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.choice-text b { font-size: 21px; }
.choice-text span { color: var(--muted); font-size: 16px; }
.arrow { font-size: 32px; color: var(--accent); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; }
.card.mine { border-color: var(--olive); order: -1; }
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.os { font-size: 26px; }
.yours { background: var(--olive-soft); color: var(--olive); font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 999px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px 18px;
  border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--text);
  font: 700 18px "Figtree", system-ui; text-decoration: none; text-align: center;
}
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.meta { margin: 0; color: var(--muted); font-size: 15px; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 15px; color: var(--muted); }
.ico-share {
  display: inline-block; width: 18px; height: 20px; vertical-align: -3px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m8 7 4-4 4 4'/%3E%3Cpath d='M6 11H5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-1'/%3E%3C/svg%3E");
}

.foot { text-align: center; padding: 20px 16px 28px; color: var(--muted); font-size: 15px; }
