:root {
  --felt: #1f4a40; --felt-deep: #142b28;
  --paper: #fffdf7; --cream: #f4eedf; --sand: #f1e6c9;
  --ink: #142b28; --ink-soft: #566b63; --line: rgba(20, 43, 40, 0.12);
  --coral: #d75942; --coral-deep: #b4432f; --gold: #d69b24;
  --card: #fffdf7;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13201d; --cream: #172723; --sand: #1d2f2a;
    --ink: #f4eedf; --ink-soft: rgba(244, 238, 223, 0.72); --line: rgba(244, 238, 223, 0.14);
    --card: #1b2c28;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #13201d; --cream: #172723; --sand: #1d2f2a;
  --ink: #f4eedf; --ink-soft: rgba(244, 238, 223, 0.72); --line: rgba(244, 238, 223, 0.14);
  --card: #1b2c28;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 420px) fixed;
}
h1, h2, summary { font-family: "New York", ui-serif, Georgia, "Times New Roman", serif; }
main { max-width: 760px; margin: 0 auto; padding: 40px 16px 72px; }

.hero { text-align: center; padding: 12px 0 8px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 36px rgba(20, 43, 40, .28); }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.1; margin: 18px 0 8px; font-weight: 600; letter-spacing: -.01em; }
.hero h1 span { color: var(--coral); font-style: italic; }
.hero p { margin: 0 auto; max-width: 31em; font-size: 1.08rem; color: var(--ink-soft); }

.table {
  margin: 30px 0 10px; padding: 26px 18px 0; border-radius: 30px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #2c6255 0%, var(--felt) 55%, var(--felt-deep) 100%);
  box-shadow: 0 22px 50px rgba(20, 43, 40, .28);
}
.shots { display: flex; gap: 14px; justify-content: center; align-items: flex-end; }
.shots img { width: 31%; max-width: 210px; border-radius: 24px 24px 0 0; border: 4px solid #fffdf7; border-bottom: 0;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, .25); }
.shots img:nth-child(2) { margin-bottom: 0; transform: translateY(-16px); border-radius: 24px; border-bottom: 4px solid #fffdf7; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 10px 28px rgba(20, 43, 40, .07);
  padding: 22px 24px; margin: 16px 0;
}
.card h2 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.card h2 .dot { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; flex: none;
  font: 800 1rem/1 -apple-system, sans-serif; color: var(--ink);
  background: linear-gradient(180deg, #fffdf7, #efe6cc); border: 1px solid rgba(20, 43, 40, .14);
  box-shadow: 0 3px 0 rgba(20, 43, 40, .18); }
.card h2 .dot.coral { color: var(--coral); }
.card p, .card li { color: var(--ink-soft); }
.card p { margin: 0 0 10px; }
.card p strong, .card li strong { color: var(--ink); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 10px; padding-left: 1.2em; }

.mira { display: flex; gap: 18px; align-items: center; }
.mira img { width: 92px; height: 92px; border-radius: 50%; flex: none; background: var(--sand);
  border: 4px solid var(--card); box-shadow: 0 0 0 3px var(--coral); }

.button { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff;
  background: var(--coral); box-shadow: 0 5px 0 var(--coral-deep), 0 10px 22px rgba(215, 89, 66, .3); }
.button:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coral-deep), 0 6px 14px rgba(215, 89, 66, .3); }
a { color: inherit; text-decoration-color: var(--coral); text-underline-offset: 3px; }

details { border-top: 1px solid var(--line); padding: 12px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-weight: 700; color: var(--coral); }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; }

.mac { display: block; width: 100%; border-radius: 14px; margin-top: 14px; border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(20, 43, 40, .18); }

nav { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
nav a { padding: 9px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); }
footer { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 22px; }

@media (max-width: 520px) {
  .table { padding: 18px 10px 0; border-radius: 22px; }
  .shots { gap: 8px; }
  .shots img { border-width: 3px; border-radius: 16px 16px 0 0; }
  .shots img:nth-child(2) { border-radius: 16px; border-bottom-width: 3px; transform: translateY(-10px); }
  .card { padding: 18px; border-radius: 20px; }
  .mira { flex-direction: column; text-align: center; }
}
