/* Onest, self-hosted (SIL Open Font License 1.1) — no third-party font requests */
@font-face{ font-family:"Onest"; font-style:normal; font-weight:300 600; font-display:swap; src:url(../assets/fonts/onest-cyrillic-ext.woff2) format("woff2");
  unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face{ font-family:"Onest"; font-style:normal; font-weight:300 600; font-display:swap; src:url(../assets/fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family:"Onest"; font-style:normal; font-weight:300 600; font-display:swap; src:url(../assets/fonts/onest-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:"Onest"; font-style:normal; font-weight:300 600; font-display:swap; src:url(../assets/fonts/onest-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; }
/* algizmobile — design tokens + base. Owner: lead. Do not edit from component files; override locally instead. */
:root{
  /* colour */
  --snow:#F6F8F9;       /* page */
  --white:#FFFFFF;      /* raised surfaces, inputs */
  --frost:#E8F1F3;      /* quiet tint, trays */
  --glacier:#CFE3E8;    /* surfaces */
  --fjord:#0F3D4C;      /* text, primary */
  --fjord-deep:#0A2C37; /* hover, dark bands, footer */
  --abyss:#061A21;      /* phone screen base, deepest */
  --pine:#2F5D50;       /* protected / on */
  --pine-bright:#5FAE9E;/* "on" state on dark surfaces */
  --lamp:#F2C14E;       /* the index mark, active marker — small areas only */
  --stone:#52636A;      /* secondary text (AA on snow, frost, glacier) */
  --rime:#7A8E95;       /* input borders, 3:1 non-text */
  --hair:#D5E3E7;       /* hairlines */
  --lingon:#B3261E;     /* errors, "refused / wiped" */
  --lingon-bright:#F08A7C; /* same meaning on dark surfaces */
  /* machined metal (the dial) */
  --steel-hi:#F4F7F8; --steel:#C9D3D7; --steel-mid:#9AA8AE; --steel-lo:#5E6D74; --steel-deep:#2B383E;

  /* type */
  --font:"Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* motion — one signature curve for ~80% of movement */
  --ease:cubic-bezier(0.2,0,0,1);          /* enter / on-screen */
  --ease-exit:cubic-bezier(0.3,0,1,1);     /* leave */
  --ease-soft:cubic-bezier(0.4,0,0.2,1);   /* ambient, long travel */
  --spring:linear(0, 0.36 9%, 0.72 19%, 0.93 29%, 1.02 38%, 1.04 46%, 1.02 58%, 1 72%, 1); /* settle with ~4% overshoot: dial detents only */
  --t-quick:160ms; --t-std:280ms; --t-slow:700ms;

  /* shape */
  --r-sm:12px; --r-md:16px; --r-lg:24px; --r-xl:36px; --r-pill:999px;
  --shadow-pop:0 22px 44px -18px rgba(15,61,76,.30), 0 2px 6px rgba(15,61,76,.07);
  --shadow-float:0 40px 70px -30px rgba(15,61,76,.38), 0 10px 18px -8px rgba(15,61,76,.16);

  /* layout */
  --gutter:16px; --maxw:1240px; --head-h:64px;
}
@media (min-width:600px){ :root{ --gutter:32px; } }
@media (min-width:1100px){ :root{ --gutter:48px; --head-h:72px; } }

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip; scroll-padding-top:calc(var(--head-h) + 12px); }
body{ margin:0; background:var(--snow); color:var(--fjord); font-family:var(--font); font-size:1.0625rem; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
@media (min-width:600px){ body{ font-size:1.125rem; } }
img,svg{ display:block; max-width:100%; }
h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd{ margin:0; }
h1,h2,h3{ text-wrap:balance; }
p{ text-wrap:pretty; }
ul,ol{ padding:0; list-style:none; }
a{ color:inherit; text-decoration-thickness:1px; text-underline-offset:.22em; }
button,input,textarea,select{ font:inherit; color:inherit; }
button{ cursor:pointer; -webkit-tap-highlight-color:transparent; }
:focus-visible{ outline:2px solid var(--fjord); outline-offset:3px; border-radius:8px; }
.on-dark :focus-visible{ outline-color:var(--lamp); }
[hidden]{ display:none !important; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.wrap{ width:100%; max-width:calc(var(--maxw) + var(--gutter)*2); margin-inline:auto; padding-inline:var(--gutter); }

/* type scale */
.t-display{ font-size:clamp(2.75rem, 1rem + 7vw, 7.25rem); line-height:.96; font-weight:300; letter-spacing:-.045em; }
.t-h2{ font-size:clamp(2rem, 1.3rem + 3vw, 4rem); line-height:1.02; font-weight:300; letter-spacing:-.03em; }
.t-h3{ font-size:1.375rem; line-height:1.3; font-weight:600; letter-spacing:-.01em; }
.t-lead{ font-size:clamp(1.125rem, 1.02rem + .45vw, 1.375rem); line-height:1.5; letter-spacing:-.005em; }
.t-small{ font-size:.9375rem; line-height:1.5; }
.t-label{ font-size:.9375rem; line-height:1.35; font-weight:600; }
.muted{ color:var(--stone); }
.num{ font-variant-numeric:tabular-nums; }

/* buttons */
.btn{
  --bg:var(--fjord); --fg:var(--snow); --bd:transparent;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:54px; padding:0 26px; border-radius:15px; border:1.5px solid var(--bd);
  background:var(--bg); color:var(--fg); font-weight:600; font-size:1rem; line-height:1.2; letter-spacing:-.005em;
  text-decoration:none; white-space:nowrap; user-select:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
  transition:transform var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease);
}
.btn:hover{ --bg:var(--fjord-deep); transform:translateY(-1px); }
.btn:active{ transform:translateY(0) scale(.98); transition-duration:80ms; }
.btn:focus-visible{ outline:2px solid var(--fjord); outline-offset:3px; border-radius:15px; }
.btn--secondary{ --bg:transparent; --fg:var(--fjord); --bd:rgba(15,61,76,.55); box-shadow:none; }
.btn--secondary:hover{ --bg:var(--white); --bd:var(--fjord); }
.btn--quiet{ --bg:transparent; --fg:var(--fjord); padding:0 14px; box-shadow:none; }
.btn--quiet:hover{ --bg:var(--frost); transform:none; }
.btn--sm{ min-height:44px; padding:0 18px; font-size:.9375rem; border-radius:12px; }
.btn--light{ --bg:var(--snow); --fg:var(--fjord); box-shadow:none; }
.btn--light:hover{ --bg:var(--white); }
.btn--ghost-light{ --bg:transparent; --fg:var(--snow); --bd:rgba(246,248,249,.5); box-shadow:none; }
.btn--ghost-light:hover{ --bg:rgba(246,248,249,.08); --bd:var(--snow); }
.btn:disabled, .btn[aria-disabled="true"]{ --bg:#E2EAEC; --fg:#7F9096; --bd:transparent; cursor:not-allowed; transform:none; box-shadow:none; }
.on-dark .btn:focus-visible{ outline-color:var(--lamp); }

/* motion switch: html.no-motion is set by js/app.js for prefers-reduced-motion AND for ?motion=off */
.no-motion *, .no-motion *::before, .no-motion *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; transition-delay:0s !important; scroll-behavior:auto !important; }

/* reveal helpers (see js/core.js). Hidden only when motion is allowed. */
.motion-ok [data-reveal="rise"]{ opacity:0; transform:translateY(14px); }
.motion-ok [data-reveal="rise"].is-in{ opacity:1; transform:none; transition:opacity 520ms var(--ease) calc(var(--i,0) * 70ms), transform 640ms var(--ease) calc(var(--i,0) * 70ms); }
.motion-ok [data-reveal="wipe"]{ clip-path:inset(-10% 100% -20% 0); }
.motion-ok [data-reveal="wipe"].is-in{ clip-path:inset(-10% -2% -20% 0); transition:clip-path 900ms var(--ease) calc(var(--i,0) * 70ms); }
html.no-motion{ scroll-behavior:auto; }
