/* Alexander Stark — Verkaufsseite
   Brand values from brand.py: night blue ground, champagne type, gold accents,
   Cormorant Garamond for headings (tracked, light), Manrope for body. */

:root {
  --night:    #111C33;
  --night-2:  #1F3355;
  --gold:     #C9A227;
  --gold-dim: rgba(201, 162, 39, .32);
  --gold-faint: rgba(201, 162, 39, .14);
  --champ:    #EFE7D8;
  --champ-d:  #E5DAC6;
  --muted:    #8D8471;
  --sky:      #9FB0C8;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 68rem;
  --measure: 40rem;      /* reading width — roughly 70 characters */
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gap: clamp(2.5rem, 7vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.72;
  color: var(--champ);
  background-color: var(--night);
  background-image:
    url("/assets/img/starfield.svg"),
    radial-gradient(120% 80% at 50% -10%, var(--night-2) 0%, var(--night) 62%);
  background-repeat: repeat, no-repeat;
  background-size: 1200px 900px, cover;
  background-attachment: fixed, fixed;
}

img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--night);
  padding: .6rem 1rem; border-radius: 2px; z-index: 20;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- headings ----------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.18;
  margin: 0;
  color: var(--champ);
}

/* --- brand mark --------------------------------------------------------- */

.lotus { display: block; }
.lotus--hero  { width: clamp(9rem, 26vw, 13.5rem); margin: 0 auto 1.75rem; }
.lotus--prod  { width: clamp(5rem, 14vw, 7rem);  margin: 0 auto 1.5rem; }
.lotus--foot  { width: 4.5rem; margin: 0 auto 1.25rem; }
.lotus--mini  { width: 1.9rem; flex: 0 0 auto; }

/* --- header ------------------------------------------------------------- */

.site-head {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid var(--gold-faint);
}

.site-head__brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--champ); text-decoration: none;
}
.site-head__brand:hover { color: var(--gold); }

.site-head__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-head__nav a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky); text-decoration: none;
}
.site-head__nav a:hover { color: var(--gold); }

/* --- hero --------------------------------------------------------------- */

.hero { padding: clamp(2.5rem, 8vw, 6rem) var(--pad); }

.hero__frame {
  max-width: var(--wrap); margin: 0 auto;
  border: 1px solid var(--gold-dim);
  padding: clamp(2.25rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  position: relative;
}
/* the inner hairline of the brand frame */
.hero__frame::after {
  content: ""; position: absolute; inset: .5rem;
  border: 1px solid var(--gold-faint); pointer-events: none;
}

.hero__kicker {
  margin: 0 0 .9rem;
  font-size: .8rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.hero__title::after {
  content: ""; display: block; width: 3.5rem; height: 1px;
  background: var(--gold); opacity: .55; margin: 1.5rem auto 0;
}

.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.4vw, 1.65rem);
  line-height: 1.5; color: var(--champ-d);
  max-width: 34rem; margin: 0 auto 1.5rem;
}
.hero__body { max-width: var(--measure); margin: 0 auto; color: var(--sky); }

.hero__cta { margin-top: 2.5rem; }
.hero__note { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--night); background: var(--gold);
  padding: .95rem 2.2rem; border-radius: 2px;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: #DCB63A; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--lg { padding: 1.1rem 2.8rem; font-size: .88rem; }

/* --- sections ----------------------------------------------------------- */

.section { padding: var(--gap) var(--pad); max-width: var(--wrap); margin: 0 auto; }

.section__title {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: .09em; text-align: center;
}
.section__title::after {
  content: ""; display: block; width: 2.5rem; height: 1px;
  background: var(--gold); opacity: .5; margin: 1.2rem auto 0;
}
.section__lead {
  max-width: var(--measure); margin: 1.25rem auto 0;
  text-align: center; color: var(--sky);
}

/* --- the five axes ------------------------------------------------------ */

.opory {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; gap: 1.25rem;
}
/* Five axes in a three-column grid leave one slot empty — the panels carry
   their own border so the gap reads as space, not as a missing cell. */
.opora {
  border: 1px solid var(--gold-faint);
  background: rgba(31, 51, 85, .38);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: grid; gap: .55rem;
  align-content: start;
}
.opora__num {
  font-family: var(--serif); font-size: 2.4rem; line-height: 1;
  color: var(--gold); opacity: .55; letter-spacing: .06em;
}
.opora__title { font-size: 1.35rem; letter-spacing: .04em; }
.opora__to {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.opora__gloss { margin: .4rem 0 0; font-size: .94rem; color: var(--sky); }

@media (min-width: 46rem) { .opory { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) {
  .opory { grid-template-columns: repeat(3, 1fr); }
}

/* --- product cards ------------------------------------------------------ */

.grid {
  display: grid; gap: 1.25rem; margin-top: 2.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
}

.card {
  display: flex; flex-direction: column; gap: .45rem;
  padding: 1.6rem 1.5rem 1.35rem;
  border: 1px solid var(--gold-faint);
  background: rgba(31, 51, 85, .38);
  color: var(--champ); text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}
.card:hover {
  border-color: var(--gold-dim);
  background: rgba(31, 51, 85, .62);
  transform: translateY(-2px);
}

.card__line {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); opacity: .85;
}
.card__name {
  font-family: var(--serif); font-size: 1.55rem;
  line-height: 1.2; letter-spacing: .03em;
}
.card__kind { font-size: .8rem; color: var(--muted); }
.card__sub { font-size: .92rem; color: var(--sky); margin-top: .3rem; }
/* margin-top:auto pins the price row to the bottom, so prices line up
   across a row of cards whose text runs to different lengths. */
.card__foot {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: baseline; justify-content: space-between;
  margin-top: auto; padding-top: .9rem;
  border-top: 1px solid var(--gold-faint);
}
.card__sub { margin-bottom: .9rem; }
.card__more {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}

/* --- price -------------------------------------------------------------- */

.price {
  font-family: var(--serif); font-size: 1.5rem;
  letter-spacing: .04em; color: var(--champ);
}
.price--free {
  font-size: 1.2rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.price-was {
  font-family: var(--serif); font-size: 1.1rem;
  color: var(--muted); text-decoration: line-through; margin-right: .5rem;
}
.price-note {
  display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em;
}

/* --- lines on the home page --------------------------------------------- */

.line { margin-top: var(--gap); }
.line__head { text-align: center; max-width: var(--measure); margin: 0 auto; }
.line__name {
  font-size: 1.8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.line__lead { margin: .9rem 0 0; color: var(--sky); font-size: .96rem; }

/* --- method ------------------------------------------------------------- */

.method {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.method__item { border-top: 1px solid var(--gold-dim); padding-top: 1.35rem; }
.method__item h3 {
  font-size: 1.3rem; letter-spacing: .05em; margin-bottom: .6rem;
}
.method__item p { margin: 0; font-size: .95rem; color: var(--sky); }

/* --- product page ------------------------------------------------------- */

.prod { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) var(--gap); }

.prod__head {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--gold-faint);
}
.prod__line {
  margin: 0 0 .8rem;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
/* Modest tracking: Cormorant's figures are narrow, and wide letter-spacing
   makes a leading "11" read as two Roman numerals. */
.prod__name {
  font-size: clamp(2.1rem, 7vw, 3.4rem); letter-spacing: .03em;
}
.prod__kind {
  margin: .8rem 0 0; font-size: .85rem;
  letter-spacing: .1em; color: var(--muted);
}
.prod__sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem); line-height: 1.5;
  color: var(--champ-d);
  max-width: 36rem; margin: 1.6rem auto 0;
}

.prod__body {
  max-width: var(--measure); margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
}
.prod__body p { margin: 0 0 1.5rem; }
.prod__body p:first-child::first-letter {
  font-family: var(--serif); font-size: 3.1rem; line-height: .9;
  float: left; margin: .28rem .55rem 0 0; color: var(--gold);
}
.prod__body strong { color: var(--champ); font-weight: 600; }

.prod__section { max-width: var(--measure); margin: var(--gap) auto 0; }
.prod__section h2 {
  font-size: 1.75rem; letter-spacing: .08em;
  padding-bottom: .9rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gold-dim);
}
.prod__section--inside { }
.prod__section .grid { grid-template-columns: 1fr; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--gold); opacity: .8;
}
.ticks strong { color: var(--champ); font-weight: 600; }

.prod__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 1.75rem 0 0; padding-top: 1.25rem;
  border-top: 1px solid var(--gold-faint);
  font-size: .82rem; letter-spacing: .06em; color: var(--muted);
}
.prod__audience { margin: 0; color: var(--champ-d); }

.prod__close { margin: var(--gap) auto 0; max-width: var(--measure); }

.prod__next { max-width: var(--measure); margin: var(--gap) auto 0; }
.prod__next-note { color: var(--sky); font-size: .95rem; margin: 0; }
.prod__next .grid { margin-top: 1.25rem; grid-template-columns: 1fr; }

/* --- buy block ---------------------------------------------------------- */

.buy {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  align-items: center; justify-content: center;
}
.buy--big {
  flex-direction: column; gap: 1.4rem;
  border: 1px solid var(--gold-dim);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  margin: 2.25rem auto 0;
  max-width: var(--measure);   /* same width top and bottom of the page */
  text-align: center;
}
.buy__price { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
              justify-content: center; }
.buy__note {
  margin: 0; font-size: .85rem; color: var(--muted); max-width: 26rem;
}

/* --- disclaimer --------------------------------------------------------- */

.disclaimer {
  max-width: var(--measure); margin: var(--gap) auto 0;
  border-top: 1px solid var(--gold-faint);
  padding-top: 1.5rem;
}
.disclaimer h2 {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-family: var(--sans); font-weight: 600;
  margin-bottom: .8rem;
}
.disclaimer p { margin: 0; font-size: .86rem; line-height: 1.7; color: var(--muted); }

/* --- legal pages -------------------------------------------------------- */

.legal {
  max-width: 44rem; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--pad) var(--gap);
}
.legal h1 { font-size: clamp(2rem, 6vw, 2.9rem); letter-spacing: .06em; }
.legal__intro { color: var(--sky); margin: 1rem 0 0; }
.legal section { margin-top: 2.75rem; }
.legal h2 {
  font-size: 1.35rem; letter-spacing: .05em;
  padding-bottom: .7rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--gold-faint);
}
.legal p { margin: 0 0 1rem; font-size: .95rem; color: var(--champ-d); }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { font-size: .95rem; color: var(--champ-d); margin-bottom: .5rem; }

/* --- footer ------------------------------------------------------------- */

.site-foot {
  border-top: 1px solid var(--gold-faint);
  padding: var(--gap) var(--pad) 3rem;
  text-align: center;
}
.site-foot__inner { max-width: var(--measure); margin: 0 auto; }
.site-foot__line {
  font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.5rem;
}
.site-foot__note { font-size: .85rem; color: var(--muted); margin: 0 0 1.5rem; }
.site-foot__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
                    justify-content: center; }
.site-foot__legal a {
  font-size: .8rem; letter-spacing: .1em; color: var(--sky); text-decoration: none;
}
.site-foot__legal a:hover { color: var(--gold); }
.site-foot__c { font-size: .78rem; color: var(--muted); margin: 1.5rem 0 0; }

/* --- print -------------------------------------------------------------- */

@media print {
  body { background: #fff; color: #111; }
  .site-head__nav, .btn, .prod__next, .skip { display: none; }
  a { color: #111; }
}
