/* limorin.com: one stylesheet, no external resources.
   Palette: the approved visual reference, docs/brand/limorin-visual-v1/00_BASLANGIC/renkler.json
   (night blue #1B1F63, fable purple #382CA8 as the app uses it (D77), star yellow, warm orange, sky blue,
   cream), provisionally approved by the user on 23 Nov 2026 (D157; "if I don't like it we change it").
   Derived: --ink (text), --muted, --orange-deep (link text), --sky-soft (light tint), pillar tints (light mixes of sky, star, orange and purple); every text/background
   pair is checked for WCAG AA (yellow, orange and sky blue are never small text on cream). Typography is
   not chosen: system rounded fonts. Logo: the approved raster img/logo-wordmark.webp (cut from
   02_LOGOLAR/01); the vector master is at 02_LOGOLAR/vektor/ (the header keeps the raster for now). */
:root {
  --ink: #14173f;
  --midnight: #1b1f63;
  --dusk: #382ca8;
  --cream: #fff3e6;
  --sky: #4fb6ff;
  --sky-soft: #ddf0ff;
  --orange: #ff8a3d;
  --orange-deep: #9a3d00;
  --star: #ffc83d;
  --muted: #444a78;
  --display: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
  --gutter: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-head :focus-visible, .hero :focus-visible, .parents :focus-visible, .site-foot :focus-visible, .doc-head :focus-visible, .skip:focus-visible { outline-color: var(--star); }
.skip { position: absolute; left: -999px; top: 0; background: var(--star); color: var(--ink); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7.2vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
h2 + p { margin-top: .8rem; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; max-width: 34ch; }

/* header */
.site-head { position: relative; z-index: 5; color: #fff; background: var(--midnight); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; }
.mark { display: inline-block; line-height: 0; text-decoration: none; }
.mark img { height: 2.75rem; width: auto; max-width: none; }
.nav { display: flex; align-items: center; gap: .4rem 1.4rem; flex-wrap: wrap; font-size: .98rem; }
.nav a { text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--star); }
.nav .lang { border: 2px solid rgba(255,255,255,.55); border-radius: 99px; padding: .2rem .8rem; }
.nav .lang:hover { background: rgba(255,255,255,.14); }

/* hero: the twilight sky of the brand scene */
.hero { position: relative; color: #fff; overflow: hidden; padding: 2.5rem 0 7rem;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 31% 12%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 47% 30%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 58% 9%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 72% 38%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 88% 16%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 6% 52%, #fff 50%, transparent 52%),
    radial-gradient(60% 55% at 78% 105%, rgba(255,138,61,.7), transparent 70%),
    linear-gradient(175deg, var(--midnight) 0%, var(--dusk) 62%, #7a46b0 100%); }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; position: relative; }
.hero h1 { max-width: 12ch; }
.hero h1 span { margin-right: .22em; }
.hero .lede { margin-top: 1.4rem; color: #fff8f0; }
.hero .rin { width: min(78%, 20rem); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: .8rem 1.5rem; border-radius: 99px; min-height: 2.75rem; }
.btn-primary { background: var(--star); color: var(--midnight); }
.btn-primary:hover { background: #ffd982; }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-ink { border: 2px solid var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--sky-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* sections */
.sheet { position: relative; background: var(--cream); margin-top: -2.75rem; border-radius: 2.75rem 2.75rem 0 0; padding: 4.5rem 0 0; }
.band { padding: 4.5rem 0; }
.intro { max-width: 40rem; }
.intro p { color: var(--muted); }

/* cards (D158): pillars (.moves), screen levels and formats (.levels), parents facts (.facts) share one card language:
   radius 24px, 1.5-1.75rem padding, a 6px top strip in the full palette colour */
.moves { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.moves li { --strip: var(--sky); position: relative; overflow: hidden; display: flex; flex-direction: row; align-items: center; gap: 1rem;
  padding: 1.6rem 1.1rem 1.25rem; border-radius: 24px; background: var(--tint, var(--sky-soft)); border: 1px solid rgba(20,23,63,.1); }
.moves li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--strip); }
.moves li:nth-child(1) { --strip: var(--sky); --tint: var(--sky-soft); }
.moves li:nth-child(2) { --strip: var(--star); --tint: #fff0c2; }
.moves li:nth-child(3) { --strip: var(--orange); --tint: #ffe2cf; }
.moves li:nth-child(4) { --strip: var(--dusk); --tint: #e7e3fb; }
.moves li > div { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.moves img { flex: none; width: clamp(92px, 14vw, 160px); height: auto; aspect-ratio: 1; border-radius: 16px; }
.moves strong { font-family: var(--display); font-size: clamp(1.3rem, 3.2vw, 2rem); overflow-wrap: anywhere; font-weight: 800; line-height: 1.1; }
.moves span { color: var(--muted); max-width: 46ch; font-size: .95rem; }

.ic { display: block; box-sizing: content-box; flex: none; fill: none; }
.ic-level { width: 28px; height: 28px; padding: 6px; border-radius: 12px; background: rgba(56,44,168,.1); color: var(--dusk); }
.ic-fact { width: 28px; height: 28px; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--star); }
.levels-band { padding-top: 0; }
.levels-band h3 { font-size: 1.5rem; margin: 3rem 0 0; }
.levels { margin: 2rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.levels div { position: relative; overflow: hidden; padding: 2rem 1.6rem 1.6rem; border-radius: 24px; background: #fff; border: 1px solid rgba(20,23,63,.1); }
.levels div::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--dusk); }
.levels dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.levels dd { margin: 0; color: var(--muted); }
/* icon chip left of the heading on one line, description below across the card */
.levels div, .facts div { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; row-gap: .7rem; align-items: center; align-content: start; }
.levels dd, .facts dd { grid-column: 1 / -1; }
.levels dt, .facts dt { line-height: 1.2; min-width: 0; }

.rin-band { background: var(--sky-soft); }
.rin-band .wrap { display: grid; gap: 2rem; align-items: center; }
.faces { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.faces li { flex: 0 1 4.8rem; min-width: 0; }
.faces img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--cream); background: var(--cream); }
.world { margin: 0; }
.world figcaption { margin-top: .75rem; }
.world img { width: 100%; border-radius: 1.5rem; aspect-ratio: 16 / 9; }

.parents { background: var(--midnight); color: #eef3f8; }
.parents h2 { color: #fff; }
.parents .intro p { color: #d3dbe6; }
.facts { margin: 2.5rem 0 2rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.facts div { position: relative; overflow: hidden; padding: 2rem 1.6rem 1.6rem; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.facts div::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--star); }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.facts dd { margin: 0; color: #d3dbe6; }
.parents a { color: var(--star); }

.contact h2 { margin-bottom: 1.5rem; }
.mails { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mails li { padding-left: 1rem; border-left: 4px solid var(--orange-deep); }
.mails a { font-weight: 700; color: var(--orange-deep); }
.mails small { display: block; color: var(--muted); font-size: .95rem; }

.site-foot { background: var(--midnight); color: #c9d3df; padding: 2rem 0; font-size: .95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.site-foot a { color: #fff; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* text pages (privacy, 404) */
.doc-head { background: var(--midnight); color: #fff; padding: 2rem 0 3rem; }
.doc-head p { margin: .8rem 0 0; color: #c9d3df; }
.doc { padding: 3rem 0 4.5rem; max-width: 44rem; }
.doc h2 { font-size: 1.55rem; margin: 2.6rem 0 .8rem; }
.doc h3 { margin: 1.6rem 0 .4rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: .45em; }
.doc a:not(.btn) { color: var(--orange-deep); }
.doc table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: .98rem; margin: 1rem 0 1.5rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid rgba(20,23,63,.2); }
.doc th { font-family: var(--display); }
.doc .table-scroll { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.toc { background: var(--sky-soft); border-radius: 1rem; padding: 1rem 1.4rem; margin-bottom: 2rem; }
.toc ul { margin: .3rem 0 0; }

@media (min-width: 52rem) {
  :root { --gutter: 2rem; }
  .hero { padding: 4rem 0 8rem; }
  .hero h1 span { display: inline-block; }
  .hero .wrap { grid-template-columns: 1.25fr 1fr; }
  .hero .rin { width: 100%; max-width: 24rem; margin: 0 0 -5rem auto; }
  .moves { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .moves li, .levels div, .facts div { padding: 2.25rem 1.75rem 1.75rem; }
  .moves li { gap: 1.25rem; }
  .rin-band .wrap { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .levels { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .levels.two { grid-template-columns: repeat(2, 1fr); }
  .mails { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
  .moves li { gap: 1.5rem; }
  .moves img { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
