/* Mixory site, Midnight theme. Mirrors the app: #101214 ground, #C99A4A gold,
   Cormorant Garamond for headings, Manrope for body text and every numeral. */
:root {
  --bg: #101214;
  --bg-raised: #131518;
  --surface: #181A1E;
  --line: #222428;
  --line-strong: #2A2D31;
  --border: #3A3C40;
  --ink: #F6F0E8;
  --body: #D9D3CA;
  --soft: #C9C3B9;
  --card-text: #BDB7AD;
  --muted: #AAA69E;
  --faint: #8E8A83;
  --gold: #C99A4A;
  --gold-hover: #E2B970;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --credit: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; padding: 8px 14px; background: var(--gold); color: var(--bg); border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.band { border-top: 1px solid var(--line); }
.band.raised { background: var(--bg-raised); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.site-header.ruled { border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.wordmark:hover { color: var(--ink); }
.wordmark svg { margin: 0 1px; transform: translateY(2px); }
.wordmark .dot { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav > a { color: var(--body); }
.site-nav > a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.lang .current { color: var(--gold); }
.lang .sep { color: #55524D; }
.lang a { color: var(--muted); padding: 6px 2px; }
.lang a:hover { color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 56px 104px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { max-width: 500px; font-size: 19px; line-height: 1.65; color: var(--soft); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 176px; min-height: 56px; padding: 10px 20px; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); }
.store .label { font-size: 11px; }
.store strong { font-size: 17px; font-weight: 600; }
.names { padding-top: 20px; border-top: 1px solid #25272B; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--body); }
.photos { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 276px 276px; gap: 16px; }
.photos figure { position: relative; }
.photos figure:first-child { grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.photos figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 18, 20, 0.82); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }

/* Sections */
.section { padding-block: 96px; display: flex; flex-direction: column; gap: 44px; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1.05; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid #26292D; border-radius: 16px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; }
.card p { font-size: 15px; line-height: 1.6; color: var(--card-text); }

.support { padding-block: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.support-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.support-text p { max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--soft); }
.link-panel { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.link-panel a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 28px; color: var(--ink); font-size: 16px; }
.link-panel a + a { border-top: 1px solid var(--line-strong); }
.link-panel a:hover { background: #1C1E22; color: var(--ink); }
.link-panel .mail { padding-block: 24px; background: var(--surface); }
.link-panel .mail span { display: flex; flex-direction: column; gap: 4px; }
.link-panel .mail strong { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.link-panel .go { color: var(--gold); font-size: 15px; font-weight: 600; }

/* Text pages (legal, account deletion) */
.page { padding-block: 64px 96px; display: flex; flex-direction: column; gap: 48px; }
.page-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.page-head .meta { font-size: 15px; color: var(--muted); }
.page-head .intro { font-size: 18px; line-height: 1.6; color: var(--soft); }
.doc { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.toc .label { padding-bottom: 10px; color: var(--faint); }
.toc a { display: flex; gap: 12px; padding: 8px 0; color: var(--soft); }
.toc a:hover { color: var(--ink); }
.toc a span:first-child { min-width: 18px; color: var(--faint); font-weight: 600; }
.article { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.summary { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px; background: var(--surface); border: 1px solid #26292D; border-radius: 16px; }
.summary .label { color: var(--gold); }
.summary ul, .bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }
.clause { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.clause h2 { display: flex; gap: 14px; align-items: baseline; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.clause h2 .num { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--gold); }
.clause p { font-size: 17px; line-height: 1.7; color: var(--body); }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.option { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--surface); border: 1px solid #26292D; border-radius: 16px; }
.option h2, .split h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.option > p { font-size: 16px; line-height: 1.6; color: var(--body); }
.option .note { font-size: 14px; color: var(--muted); }
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; font-size: 16px; line-height: 1.5; color: var(--body); }
.steps li > span:first-child { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.steps strong { color: var(--ink); font-weight: 600; }
.button { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; background: var(--gold); color: var(--bg); border-radius: 12px; font-size: 15px; font-weight: 700; }
.button:hover { background: var(--gold-hover); color: var(--bg); }
.split { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.split section { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split .note { font-size: 14px; line-height: 1.6; color: var(--muted); }

.not-found { padding-block: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.not-found h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.not-found p { font-size: 18px; color: var(--soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-block: 36px 44px; display: flex; flex-direction: column; gap: 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.footer-links a { color: var(--soft); }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--ink); }
.credit { display: inline-flex; align-items: center; gap: 8px; font-family: var(--credit); font-size: 15px; color: #A39D86; }
.credit:hover { color: var(--ink); }
.fine { font-size: 13px; line-height: 1.6; color: var(--faint); }

@media (max-width: 640px) {
  .site-nav { gap: 18px; }
  .hero { padding-block: 24px 72px; gap: 40px; }
  .photos { grid-template-rows: 180px 180px; gap: 12px; }
  .photos figcaption { font-size: 16px; left: 10px; bottom: 10px; }
  .section, .support { padding-block: 72px; }
  .section-title { font-size: 42px; }
  .page { padding-block: 40px 72px; }
  .toc { max-width: none; }
  .option { padding: 24px; }
}
