:root {
  color-scheme: dark;
  --background: #0c0c0b;
  --text: #f5f1e8;
  --muted: #99968d;
  --gold: #c8ad78;
  --border: rgba(223, 203, 162, .14);
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-width: 280px; min-height: 100%; background: var(--background); }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  background:
    radial-gradient(ellipse 60% 52% at 50% -9%, rgba(163, 123, 55, .15), transparent 78%),
    radial-gradient(ellipse 40% 42% at 0% 72%, rgba(111, 77, 33, .045), transparent 80%),
    radial-gradient(ellipse 40% 40% at 100% 98%, rgba(157, 115, 51, .07), transparent 80%),
    var(--background);
}
a { -webkit-tap-highlight-color: transparent; }
.welcome { width: min(100% - 48px, 510px); margin: 0 auto; padding: 48px 0 27px; }
.intro { text-align: center; }
.brand-logo { display: block; width: 202px; height: 202px; object-fit: contain; margin: 0 auto 26px; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .3em; margin: 0 0 18px; line-height: 1.7; }
h1 { font-size: clamp(31px, 4vw, 38px); letter-spacing: -.045em; line-height: 1.2; font-weight: 600; margin: 0 0 15px; }
.intro-text { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; font-weight: 400; }
.link-list { display: grid; gap: 14px; margin-top: 44px; }
.link-card {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 25px;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(120deg, rgba(255, 248, 224, .055), rgba(255, 248, 224, .035));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.link-card-primary { border-color: rgba(200, 173, 120, .26); background: linear-gradient(120deg, rgba(200, 173, 120, .10), rgba(200, 173, 120, .055)); }
.icon-circle { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(200, 173, 120, .16); background: rgba(200, 173, 120, .09); display: grid; place-items: center; color: var(--gold); transition: background .22s ease; }
.icon-circle svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-dot { fill: currentColor; stroke: none; }
.card-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.card-title { font-weight: 600; font-size: 21px; letter-spacing: -.035em; line-height: 1.3; }
.card-description { color: var(--muted); font-size: 16px; line-height: 1.4; }
.card-arrow { margin-left: auto; flex: 0 0 21px; width: 21px; height: 21px; stroke: #797970; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: color .2s ease, transform .2s ease, stroke .2s ease; }
.link-card:focus-visible, .back-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
@media (hover: hover) {
  .link-card:hover { transform: translateY(-3px); border-color: rgba(200, 173, 120, .45); background: rgba(200, 173, 120, .09); }
  .link-card:hover .icon-circle { background: rgba(200, 173, 120, .15); }
  .link-card:hover .card-arrow { stroke: var(--gold); transform: translate(2px, -2px); }
  .back-link:hover { color: var(--text); }
}
.footer { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; text-align: center; }
.footer-line { height: 1px; width: 36px; background: rgba(200, 173, 120, .3); }
.footer p { color: #6e6c63; font-size: 12px; letter-spacing: .05em; margin: 0; }
.collection-page { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.collection-page .intro-text { max-width: 365px; margin-inline: auto; }
.collection-note { margin: 38px auto 0; text-align: center; padding: 17px 26px; color: var(--gold); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; letter-spacing: .05em; }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 14px; margin: 32px auto 0; border-radius: 4px; padding: 8px; }
.back-link svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; }
@media (min-height: 1000px) and (min-width: 600px) { .welcome { padding-top: 70px; } }
@media (max-width: 600px) {
  .welcome { width: min(100% - 40px, 450px); padding-top: 33px; padding-bottom: max(25px, env(safe-area-inset-bottom)); }
  .brand-logo { width: 172px; height: 172px; margin-bottom: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .25em; margin-bottom: 16px; }
  h1 { font-size: 32px; margin-bottom: 12px; }
  .intro-text { font-size: 15px; line-height: 1.65; }
  .link-list { margin-top: 32px; gap: 12px; }
  .link-card { min-height: 95px; padding: 18px; gap: 15px; border-radius: 21px; }
  .icon-circle { flex-basis: 54px; width: 54px; height: 54px; }
  .icon-circle svg { width: 26px; height: 26px; }
  .card-title { font-size: 18px; }
  .card-description { font-size: 14px; }
  .card-arrow { width: 17px; height: 17px; flex-basis: 17px; }
  .footer { margin-top: 29px; gap: 16px; }
  .footer p { font-size: 10px; }
  .collection-page { justify-content: center; }
}
@media (max-width: 360px) {
  .welcome { width: calc(100% - 28px); }
  .link-card { padding: 15px 13px; gap: 12px; }
  .icon-circle { flex-basis: 47px; width: 47px; height: 47px; }
  .card-title { font-size: 16px; }
  .card-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
