/* Aurora theme styles (Loom L4.4) — bold, editorial, vivid gradients.
   Customizer overrides land as :root CSS variables from the engine (saved
   mods only); the theme defaults live here (FAZ 2 decision #3). */

:root { --ink: #14121f; --muted: #6f6a85; --line: #e7e4f2; --accent: #7048e8; --accent-2: #d6336c; }
* { box-sizing: border-box; }
body.aurora { margin: 0; color: var(--ink); background: #fffdfa; font: 17px/1.75 Georgia, "Times New Roman", serif; }
.aurora-shell { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.aurora-main { max-width: 1040px; margin: 0 auto; padding: 48px 24px 96px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.aurora-preview { background: var(--accent-2); color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; }

.aurora-header { border-bottom: 2px solid var(--ink); background: #fffdfa; }
.aurora-header .aurora-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.aurora-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.aurora-menu, .aurora-menu ul { list-style: none; margin: 0; padding: 0; }
.aurora-menu { display: flex; gap: 22px; align-items: center; }
.aurora-menu li { position: relative; }
.aurora-menu a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }
.aurora-menu a:hover { color: var(--accent); }
.aurora-menu ul { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); padding: 8px 0; min-width: 190px; display: none; z-index: 20; }
.aurora-menu li:hover > ul { display: block; }
.aurora-menu ul li a { display: block; padding: 6px 16px; text-transform: none; }
.aurora-actions { display: flex; align-items: center; gap: 14px; }
.aurora-langs { display: flex; gap: 4px; }
.aurora-lang { font-size: .78rem; font-weight: 700; padding: 2px 8px; color: var(--muted); text-decoration: none; border: 1px solid transparent; }
.aurora-lang.is-active { border-color: var(--ink); color: var(--ink); }

.aurora-hero { padding: 88px 0; background: linear-gradient(135deg, rgba(112,72,232,.14), rgba(214,51,108,.12)); border-bottom: 2px solid var(--ink); }
body.glow-vivid .aurora-hero { background: linear-gradient(135deg, rgba(112,72,232,.28), rgba(214,51,108,.24)); }
body.glow-off .aurora-hero { background: none; }
.aurora-display { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .4em; }
.aurora-hero-body { font-size: 1.2rem; max-width: 640px; }
.aurora-cta { display: inline-block; margin-top: 20px; background: var(--ink); color: #fff; padding: 13px 26px; text-decoration: none; font-weight: 700; }
.aurora-cta:hover { background: var(--accent); }

.aurora-band { margin-top: 64px; }
.aurora-band-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 24px; }
.aurora-band-head h2 { margin: 0; font-size: 1.7rem; letter-spacing: -.02em; }
.aurora-more { font-weight: 700; text-decoration: none; }
.aurora-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.aurora-card h3 { margin: .6em 0 .3em; font-size: 1.25rem; line-height: 1.25; }
.aurora-card h3 a { color: var(--ink); text-decoration: none; }
.aurora-card p { color: var(--muted); margin: 0 0 .5em; }
.aurora-card img { aspect-ratio: 16/10; object-fit: cover; }
.aurora-cards-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.aurora-product { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); padding: 14px; }
.aurora-product:hover { border-color: var(--accent); }
.aurora-product img, .aurora-noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2effc; }
.aurora-price { color: var(--muted); }
.aurora-price .was, .aurora-price s { color: var(--muted); margin-right: 6px; }
.aurora-price .sale { color: var(--accent-2); font-weight: 700; }
.aurora-price-big { font-size: 1.5rem; font-weight: 700; }

.aurora-faq { margin-top: 72px; }
.aurora-faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.aurora-faq-item summary { font-weight: 700; cursor: pointer; }

.aurora-page-head h1, .aurora-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .5em; }
.aurora-featured { width: 100%; margin-bottom: 32px; }
.aurora-prose { max-width: 720px; }
.aurora-prose-wide { max-width: none; }
.aurora-prose > :first-child { margin-top: 0; }
.aurora-prose blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: .3em 1.2em; color: var(--muted); }
.aurora-muted { color: var(--muted); }
.aurora-lead { font-size: 1.15rem; color: var(--muted); }
.aurora-sub { margin-top: 40px; font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }

.aurora-product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 760px) { .aurora-product-single { grid-template-columns: 1fr; } }
.aurora-product-media { display: grid; gap: 12px; align-content: start; }
.aurora-product-media img.is-cover { grid-column: 1 / -1; }
.aurora-specs { display: grid; grid-template-columns: 38% 1fr; border: 1px solid var(--line); margin: 0; }
.aurora-specs dt, .aurora-specs dd { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); }
.aurora-specs dt { font-weight: 700; }
.aurora-specs dt:first-of-type, .aurora-specs dt:first-of-type + dd { border-top: 0; }
.aurora-docs { list-style: none; padding: 0; display: grid; gap: 8px; }
.aurora-docs a { font-weight: 700; }

.aurora-gate { max-width: 420px; margin: 8vh auto; }
.aurora-gate input { width: 100%; padding: 12px 14px; font-size: 1rem; border: 2px solid var(--ink); background: #fff; }
.aurora-gate button { margin-top: 12px; padding: 12px 22px; font-size: 1rem; color: #fff; background: var(--ink); border: 0; cursor: pointer; font-weight: 700; }
.aurora-gate-error { color: var(--accent-2); font-weight: 700; }

.aurora-footer { border-top: 2px solid var(--ink); margin-top: 72px; background: #fffdfa; }
.aurora-footer .aurora-shell { padding-top: 32px; padding-bottom: 40px; }
.aurora-menu-footer { flex-wrap: wrap; margin-bottom: 14px; }
.aurora-tagline { color: var(--muted); font-style: italic; margin: 0 0 10px; }
.aurora-footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.aurora-copy { color: var(--muted); font-size: .9rem; margin: 0; }

/* Blog (module skin) support: the ironcms/blog DEFAULT skin renders inside this
   layout and carries its own styles; these tokens keep it on-palette. */
.text-muted { color: var(--muted); }
