/*
 * sakamtanc.com — one page, the portal's design system: Manrope for headings,
 * Geist for text (both carry Macedonian Cyrillic), the parent dashboard's
 * violet and its soft lilac ground. Phone first.
 */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/Geist-Variable.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-50: #faf7ff;
  --ground: #f5f2fb;
  --ink: #1c1b22;
  --ink-soft: #55535f;
  --line: #ddd9e6;
  --warm: #fde7d4;
  --warm-ink: #9a4a12;
  --radius: 18px;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Geist', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

/* ---- HERO ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--violet-700) 0%, var(--violet-500) 100%);
  padding: 72px 0 112px;
}

.hero__glow {
  position: absolute;
  inset: auto -20% -55% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(253 231 212 / 0.55) 0%, rgb(253 231 212 / 0) 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
}

.hero__name {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
}

.hero__lead {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 4.6vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 22ch;
}

.hero__sub {
  margin-top: 14px;
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 36ch;
}

/* ---- CONTENT ------------------------------------------------------------- */

.content {
  position: relative;
  margin-top: -64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgb(76 29 149 / 0.08);
}

.card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.story p,
.classes p {
  color: #2d2b36;
}

.offer__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--violet-50);
  line-height: 1.5;
}

.offer__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.offer__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--violet-700);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.classes {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-color: #f3dcc8;
}

/* ---- CTA ------------------------------------------------------------------ */

.cta {
  margin-top: 8px;
  padding: 30px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.cta__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--warm-ink);
  background: var(--warm);
  border-radius: 999px;
  padding: 3px 12px;
}

.cta__title {
  margin-top: 12px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta__button {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--violet-600);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  word-break: break-all;
  transition: background 0.15s ease;
}

.cta__button:hover,
.cta__button:focus-visible {
  background: var(--violet-500);
}

.cta__button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

/* ---- FOOTER --------------------------------------------------------------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 8px;
  padding-bottom: 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer a {
  color: var(--ink-soft);
}

/* ---- WIDER SCREENS -------------------------------------------------------- */

@media (min-width: 760px) {
  body {
    font-size: 18px;
  }
  .hero {
    padding: 104px 0 140px;
  }
  .content {
    margin-top: -80px;
    gap: 20px;
  }
  .card {
    padding: 34px 32px;
  }
  .offer__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer__list li {
    flex-direction: column;
  }
  .cta {
    padding: 40px 36px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 24px;
  }
  .cta__eyebrow {
    justify-self: start;
    grid-column: 1;
  }
  .cta__title {
    grid-column: 1;
  }
  .cta__button {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__button {
    transition: none;
  }
}

/* ---- 404 ----------------------------------------------------------------- */

.hero--short {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__back {
  color: #fff;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* ---- PRIVACY -------------------------------------------------------------- */

.hero--page {
  padding: 56px 0 96px;
}

.prose h2 {
  font-size: 1.15rem;
  margin: 22px 0 6px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--violet-700);
  font-weight: 600;
}
