:root { color-scheme: dark; --bg: #090909; --text: #f4f1ed; --muted: #aaa7a2; --gold: #d4b978; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--text); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; background: radial-gradient(ellipse at 90% 5%, #ffffff06, transparent 55%); }
main { width: min(100% - 40px, 408px); margin: auto; padding: 40px 0 32px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.identity { position: relative; isolation: isolate; padding: 12px 4px 28px; overflow: hidden; }
.logo { display: block; object-fit: contain; width: 44px; height: 42px; margin-bottom: 48px; }
.watermark { position: absolute; z-index: -1; width: 300px; height: auto; right: -48px; top: -16px; opacity: .055; pointer-events: none; }
h1 { margin: 0; font-size: clamp(38px, 9vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.gold-line { display: block; height: 1px; width: 28px; margin-top: 20px; background: var(--gold); }
.identity p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 16px 0 0; }
.links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #686560; border-radius: 16px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 28px; height: 28px; flex-shrink: 0; margin-bottom: 20px; }
.library-icon { width: 32px; height: 32px; object-fit: contain; }
.light-icon { filter: invert(96%) sepia(7%) saturate(199%) hue-rotate(347deg) brightness(103%) contrast(91%); }
.brand-intro { display: none; }
.has-intro .brand-intro { display: block; position: fixed; inset: 0; z-index: 10; pointer-events: none; animation: intro-safety .01s 2s forwards; }
.intro-backdrop { position: absolute; inset: 0; background: var(--bg); }
.has-intro main { position: relative; z-index: 11; }
.has-intro .identity { overflow: visible; }
.has-intro .identity > .logo { position: relative; transform-origin: center; }
.has-intro .watermark { animation: none; opacity: .055; }
.has-intro .identity > h1, .has-intro .identity > p, .has-intro .card { animation: content-enter .6s cubic-bezier(.22,1,.36,1) .8s both; }
.has-intro .card:nth-child(2) { animation-delay: .9s; }
.has-intro .card:nth-child(3) { animation-delay: 1s; }
@keyframes intro-safety { to { visibility: hidden; } }
@keyframes content-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
h2 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
.card p { margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
.featured { grid-column: 1/-1; min-height: 188px; padding-right: 88px; background: var(--text); border-color: var(--text); color: #111; }
.featured p { color: #4c4945; }
.featured-arrow { position: absolute; right: 28px; top: 50%; width: 40px; height: 40px; color: #9b782e; stroke-width: 1; transform: translateY(-50%); }
@media(prefers-reduced-motion:no-preference) {
  .featured-arrow { animation: arrow-invite 2.4s cubic-bezier(.45,0,.55,1) infinite; }
  @keyframes arrow-invite {
    0%, 25%, 100% { transform: translateY(-50%); }
    60% { transform: translateY(calc(-50% - 6px)); }
  }
}
.featured::after { content: ""; position: absolute; height: 64px; width: 1px; background: #c8c2b780; right: 76px; bottom: -12px; transform: rotate(36deg); pointer-events: none; }
.secondary { min-height: 228px; padding: 20px; background: linear-gradient(145deg,#131313,#0b0b0b); }
.secondary p { color: var(--muted); }
.round-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; margin-top: auto; }
.round-arrow svg { width: 18px; height: 18px; }
.card-copy { margin-bottom: 20px; }
.featured .card-copy { margin-bottom: 0; }
.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card:active { transform: translateY(0); }
.card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media(min-width:600px) { main { padding-top: 64px; padding-bottom: 56px; } }
@media(min-width:900px) {
  body { display: grid; align-items: center; }
  main { width: min(1120px, calc(100% - 96px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: center; padding: 64px 0; }
  .identity { padding: 32px 0 48px; overflow: visible; }
  .logo { width: 56px; height: 54px; margin-bottom: 72px; }
  .watermark { width: 420px; right: -24px; top: -8px; }
  h1 { font-size: clamp(56px, 5.6vw, 80px); line-height: .98; }
  .identity p { font-size: 18px; margin-top: 24px; }
  .gold-line { width: 40px; margin-top: 28px; }
  .links { gap: 16px; }
  .featured { min-height: 224px; padding: 32px 112px 32px 32px; }
  .featured h2 { font-size: 28px; }
  .featured-arrow { width: 56px; height: 56px; right: 40px; }
  .secondary { min-height: 256px; padding: 28px; }
  .card h2 { line-height: 1.15; }
  .secondary h2 { font-size: 22px; }
  .card p { font-size: 14px; }
  .round-arrow { width: 40px; height: 40px; }
}
@media(max-width:350px) { main { width: calc(100% - 32px); padding-top: 24px; } .logo { margin-bottom: 32px; } .secondary { padding: 16px; min-height: 232px; } h2 { font-size: 17px; } .featured { padding: 20px 80px 20px 20px; } }
@media(prefers-reduced-motion:reduce) { .card { transition: none; } .card:hover { transform: none; } .has-intro .brand-intro { display: none; } .has-intro .identity > .logo { visibility: visible; animation: none; } .has-intro .identity > h1, .has-intro .identity > p, .has-intro .card { animation: none; } }
