@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("fonts/bricolage-grotesque-latin-standard-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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ffffff;
  --ink: #1b2040;
  --ink-soft: #4a5072;
  --line: #e4e6f0;
  --crayon: #2f6bff;
  --eraser: #ff7bac;
  --wand: #ffc93c;
  --sky: #dfeaff;
  --night: #15123a;
  --night-2: #241e5c;
  --lilac: #c4b5ff;
  --violet: #8f7bff;
  --star: #fff6d6;
  --wrap: 1120px;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--crayon); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.025em; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--sky); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--ink); color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--crayon); border-color: var(--crayon); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Hero */
.hero { position: relative; padding: 72px 0 112px; }
.hero-mark { position: absolute; right: 24px; top: 40px; width: 260px; height: 260px; }
.hero h1 {
  position: relative; margin: 0 0 28px; max-width: 12ch;
  font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: .98; letter-spacing: -.04em;
  font-weight: 800; font-stretch: 85%;
}
.hero .lede { position: relative; margin: 0 0 40px; max-width: 48ch; font-size: clamp(1.19rem, 2vw, 1.44rem); color: var(--ink-soft); }

/* Section titles */
.section-title { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }

/* Apps intro: day / night */
.apps { padding-bottom: 24px; }
.apps .section-title { margin-bottom: 32px; }
.daynight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; overflow: hidden; }
.daynight a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 320px; padding: 32px; text-decoration: none;
}
.daynight .day { background: var(--sky); color: var(--ink); }
.daynight .night { background: var(--night); color: #fff; overflow: hidden; }
.daynight .sky-icon { position: absolute; top: 28px; right: 28px; width: 72px; height: 72px; }
.daynight .app-icon {
  position: relative; width: 104px; height: 104px; border-radius: 24px; background: var(--crayon);
  box-shadow: 0 10px 30px rgba(27, 32, 64, .18); transition: transform .25s ease;
}
.daynight .night .app-icon { background: var(--night-2); box-shadow: 0 10px 40px rgba(196, 181, 255, .35); }
.daynight a:hover .app-icon { transform: rotate(-4deg) scale(1.04); }
.daynight .caption { position: relative; margin: 0; font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.daynight .caption span { display: block; margin-top: 8px; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.daynight .night .caption span { color: var(--lilac); }
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--star); }
.star.sm { width: 2px; height: 2px; }
.star.lilac { background: var(--lilac); }

/* App detail sections */
.app { padding: 96px 0; }
.app .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.app-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.app-head img { width: 76px; height: 76px; border-radius: 18px; flex: none; background: var(--crayon); }
.app h3 { margin: 0; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.app .platforms { margin: 4px 0 0; font-size: .95rem; color: var(--ink-soft); }
.app .intro { margin: 0 0 24px; max-width: 46ch; font-size: 1.25rem; }
.crayons { display: flex; gap: 10px; max-width: 320px; margin-bottom: 32px; }
.crayons span { height: 10px; flex: 1; border-radius: 999px; }
.stat { margin: 28px 0 0; font-size: .95rem; color: var(--ink-soft); }

.features { list-style: none; margin: 0; padding: 0; }
.features li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--crayon); }
.features li:nth-child(3n+2)::before { background: var(--eraser); }
.features li:nth-child(3n)::before { background: var(--wand); }

#onira { background: var(--night); color: #fff; }
#onira .app-head img { background: var(--night-2); }
#onira .platforms, #onira .soon { color: var(--lilac); }
#onira .features li { border-color: rgba(255, 255, 255, .14); }
#onira .features li::before { background: var(--lilac); }
#onira .features li:nth-child(3n+2)::before { background: var(--star); }
#onira .features li:nth-child(3n)::before { background: var(--violet); }
#onira .btn-solid { background: #fff; border-color: #fff; color: var(--night); }
#onira .btn-solid:hover { background: var(--lilac); border-color: var(--lilac); }
#onira :focus-visible { outline-color: var(--lilac); }
.soon { padding: 12px 4px; font-weight: 500; }

/* Expertise */
.expertise { padding: 112px 0 64px; }
.expertise .lead { margin: 0 0 48px; max-width: 54ch; font-size: 1.25rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillars div { border-top: 3px solid var(--crayon); padding: 20px 0 28px; }
.pillars div:nth-child(2) { border-color: var(--eraser); }
.pillars div:nth-child(3) { border-color: var(--wand); }
.pillars h3 { margin: 0 0 8px; font-size: 1.3rem; letter-spacing: -.01em; }
.pillars p { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { padding: 32px 0 112px; }
.contact-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--sky); border-radius: 28px; padding: 48px;
}
.contact-band h2 { margin: 0 0 6px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.contact-band p { margin: 0; color: var(--ink-soft); }
.contact-band .mail { font-size: clamp(1.2rem, 2.4vw, 1.625rem); font-weight: 700; color: var(--crayon); text-decoration: none; overflow-wrap: anywhere; }
.contact-band .mail:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: .95rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Simple pages (mentions, 404) */
.page { padding: 32px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { margin: 0 0 32px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.page h2 { margin: 40px 0 8px; font-size: 1.35rem; letter-spacing: -.01em; }
.page p { margin: 0 0 12px; color: var(--ink-soft); }
.page strong { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) { .hero-mark { width: 180px; height: 180px; opacity: .5; } }
@media (max-width: 860px) {
  .app .wrap { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .app { padding: 72px 0; }
  .expertise { padding: 88px 0 48px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav .hide-sm, .hero-mark { display: none; }
  .hero { padding: 40px 0 72px; }
  .daynight { grid-template-columns: 1fr; }
  .daynight a { min-height: 260px; padding: 24px; }
  .daynight .app-icon { width: 84px; height: 84px; border-radius: 20px; }
  .daynight .sky-icon { width: 56px; height: 56px; top: 22px; right: 22px; }
  .contact-band { padding: 28px; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Legal lists */
.page h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.page ul { margin: 0 0 12px; padding-left: 22px; color: var(--ink-soft); }
.page li { margin-bottom: 6px; }
.page a { color: var(--crayon); }

/* Services */
.services { padding: 32px 0 64px; }
.services-panel { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; }
.services-panel .lead { margin: 0 0 40px; max-width: 56ch; font-size: 1.25rem; color: #d7dbef; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 40px; }
.offers div { border-top: 3px solid var(--crayon); padding-top: 20px; }
.offers div:nth-child(2) { border-color: var(--eraser); }
.offers div:nth-child(3) { border-color: var(--wand); }
.offers h3 { margin: 0 0 8px; font-size: 1.3rem; letter-spacing: -.01em; }
.offers p { margin: 0; color: #c3c8e0; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky); border-color: var(--sky); }
.services-panel :focus-visible { outline-color: var(--wand); }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; gap: 24px; } .services-panel { padding: 40px 28px; } }
@media (max-width: 640px) { .services-panel .btn { width: 100%; } }
