/* ==========================================================================
   base.css: design tokens, reset, typography, buttons, focus, utilities.
   Values come from the old Elementor kit (post-7.css) and site custom CSS.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License; see assets/fonts/OFL-*.txt) ----------
   Montserrat is one variable font covering weights 400-900. Inter is used at 400
   (footer copyright). Latin + Latin Extended subsets only. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  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 {
  /* Colours (Elementor kit "global colours") */
  --c-white: #ffffff;
  --c-black: #000000;
  --c-accent: #38fbdb;        /* kit secondary / accent */
  --c-ink: #343549;           /* kit bfa0dc9: main dark text */
  --c-ink-deep: #27283a;      /* kit 8b1d817 */
  --c-sky: #73c9ec;           /* kit 1928dba */
  --c-sky-light: #69c3f1;
  --c-navy: #092e75;
  --c-btn: #2a2a2a;           /* button background */
  --c-gold: #e9be10;          /* active menu item */
  --c-goldenrod: #daa520;     /* selected creator item */
  --c-page: #f9f9fb;
  --c-muted: #847f7f;
  --c-border: #f4f4f4;

  /* Fonts. Montserrat and Inter are self-hosted (see @font-face above);
     the system fonts are only used while they load. */
  --font-main: Montserrat, "Segoe UI", Arial, sans-serif;
  --font-ui: Inter, "Segoe UI", Arial, sans-serif;

  /* Type scale (kit typography) */
  --fs-body: 1rem;            /* 16px */
  --fs-small: 0.875rem;       /* 14px */
  --fs-title: 2.25rem;        /* 36px section titles */
  --fs-h1: 4.0625rem;         /* 65px */
  --fs-h2: 3.4375rem;         /* 55px */
  --fs-h3: 2.5rem;            /* 40px */
  --fs-h4: 1.875rem;          /* 30px */
  --fs-h5: 1.5625rem;         /* 25px */
  --fs-h6: 1.125rem;          /* 18px */

  /* Layout */
  --container: 1280px;
  --container-narrow: 970px;
  --gutter: 20px;
  --radius: 10px;
  --widget-gap: 20px;

  --pattern: url("/assets/img/creator/stikbotIO_whitePatternBG-2-1.png");
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 1024px) {
  :root { --container: 1024px; }
}
@media (max-width: 767px) {
  :root { --container: 767px; --fs-title: 1.75rem; --gutter: 16px; }
}

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

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

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-ink);
  background-color: var(--c-page);
  background-image: var(--pattern);
  background-position: center top;
  background-size: contain;
  overflow-x: hidden;
}

img, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-family: var(--font-main); font-weight: 800; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }

a { color: inherit; }

button { font: inherit; color: inherit; }

dialog { color: inherit; }

/* ---------- Buttons (kit button + .submit_btn hover from custom CSS) ---------- */
.btn {
  display: inline-block;
  padding: 20px 60px;
  border: 1px solid var(--c-white);
  border-radius: var(--radius);
  background-color: var(--c-btn);
  color: var(--c-white);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 0;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  transition: box-shadow 1250ms var(--ease-out), outline-offset 1250ms var(--ease-out), outline-color 1250ms var(--ease-out);
}
.btn:hover {
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px #427388;
}
.btn--compact { padding: 15px 40px; }
.btn--accent { background-color: var(--c-accent); color: var(--c-ink-deep); border-color: var(--c-accent); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; outline-offset: 0; text-shadow: none; }

@media (max-width: 767px) {
  .btn { padding: 16px 28px; }
}

/* ---------- Focus (visible on every interactive element) ---------- */
:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
}
.btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

.section-title {
  font-size: var(--fs-title);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: var(--c-ink);
}

.divider { margin: 0 auto 20px; width: 221px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
