/* =========================================================
   GEMYNIS — Design system (warm paper notebook)
   ========================================================= */
:root {
  /* Colors */
  --color-notion-blue: #0075de;
  --color-paper-warmth: #f6f5f4;
  --color-pure-white: #ffffff;
  --color-ink-black: #000000;
  --color-charcoal: #111111;
  --color-stone: #757575;
  --color-graphite: #615d59;
  --color-slate: #696969;
  --color-sky-tint: #e6f3fe;
  --color-marigold: #ffb110;
  --color-coral: #f64932;
  --color-saffron: #e89d01;
  --color-vermillion: #e32d14;
  --color-mocha: #b18164;
  --color-signal-blue: #097fe8;
  --color-sky-wash: #62aef0;
  --color-midnight-ink: #02093a;
  --color-peach: #f6d5b8;
  --border: rgba(0, 0, 0, 0.08);

  /* Type */
  --font-notioninter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-lyon-text: 'Source Serif 4', 'Lyon Text', Georgia, serif;

  /* Spacing */
  --spacing-4: 4px; --spacing-8: 8px; --spacing-12: 12px; --spacing-16: 16px;
  --spacing-20: 20px; --spacing-24: 24px; --spacing-28: 28px; --spacing-32: 32px;
  --spacing-36: 36px; --spacing-64: 64px; --spacing-80: 80px;

  /* Layout */
  --page-max-width: 1440px;
  --section-gap: clamp(64px, 9vw, 120px);
  --gutter: clamp(16px, 4vw, 64px);
  --card-padding: 24px;

  /* Radius */
  --radius-small: 4px;
  --radius-buttons: 8px;
  --radius-cards: 12px;
  --radius-pills: 9999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-nav: 0px 0.7px 1.462px 0px rgb(0 0 0 / 0.015), 0px 3px 9px 0px rgb(0 0 0 / 0.03);
  --shadow-mockup: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--color-paper-warmth);
  color: var(--color-ink-black);
  font-family: var(--font-notioninter);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "lnum", "locl" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--color-peach); color: #000; }
:focus-visible { outline: 2px solid var(--color-notion-blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1100px; }
.section { padding: var(--section-gap) 0; }

/* ---------- Typography ---------- */
.display-lg { font-size: clamp(48px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.048em; font-weight: 600; }
.display { font-size: clamp(40px, 6vw, 72px); line-height: 1.1; letter-spacing: -0.028em; font-weight: 600; }
.display-sm { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; }
.serif { font-family: var(--font-lyon-text); font-weight: 400; }
.lead { font-size: 18px; line-height: 1.56; color: var(--color-graphite); max-width: 560px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .6);
  background: var(--color-pure-white); border: 1px solid var(--border);
  padding: 4px 12px 4px 10px; border-radius: var(--radius-pills);
}
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tag--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); }

/* split-text helpers */
.sw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.sw { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.43;
  padding: 6px 15px; border-radius: var(--radius-buttons);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; will-change: transform;
}
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { font-size: 16px; padding: 11px 20px; }
.btn--xl { font-size: 18px; padding: 15px 28px; border-radius: 10px; }
.btn--primary { background: var(--color-notion-blue); color: #fff; }
.btn--primary:hover { background: #005fb8; }
.btn--ghost { background: var(--color-sky-tint); color: var(--color-notion-blue); }
.btn--ghost:hover { background: #d3e9fd; }
.btn--text { color: rgba(0, 0, 0, .95); }
.btn--text:hover { background: rgba(0, 0, 0, .05); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: rgba(0, 0, 0, .95);
  padding: 4px 0; border-bottom: 1px solid rgba(0, 0, 0, .2);
  transition: border-color .2s ease, gap .2s ease;
}
.link-arrow:hover { border-color: #000; gap: 10px; }
.link-arrow--light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.link-arrow--light:hover { border-color: #fff; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo__mark { position: relative; width: 28px; height: 20px; flex: none; }
.logo__mark i { position: absolute; top: 0; width: 20px; height: 20px; border-radius: 50%; }
.logo__mark i:first-child { left: 0; background: var(--color-notion-blue); }
.logo__mark i:last-child { right: 0; background: var(--color-marigold); mix-blend-mode: multiply; }
.logo:hover .logo__mark i:first-child { animation: twinL .6s var(--ease); }
.logo:hover .logo__mark i:last-child { animation: twinR .6s var(--ease); }
@keyframes twinL { 50% { transform: translateX(4px); } }
@keyframes twinR { 50% { transform: translateX(-4px); } }
.logo__mark--sm { width: 1.6em; height: 1.15em; }
.logo__mark--sm i { width: 1.15em; height: 1.15em; }

/* ---------- Icon marks (circles with line icons) ---------- */
.marks { display: flex; justify-content: center; gap: 8px; }
.mark {
  --c: #097fe8;
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--c); background: #fff; color: #000;
}
.mark svg { width: 22px; height: 22px; }
.mark--sm { width: 40px; height: 40px; }
.mark--sm svg { width: 18px; height: 18px; }
.mark--lg { width: 56px; height: 56px; }
.mark--lg svg { width: 26px; height: 26px; }
.marks--stack { gap: 0; justify-content: flex-start; }
.marks--stack .mark + .mark { margin-left: -10px; }
.ico { display: inline-grid; place-items: center; flex: none; }
.ico svg { width: 100%; height: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: rgba(246, 245, 244, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: transform .45s var(--ease), box-shadow .2s ease, background-color .2s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-nav); background: rgba(255, 255, 255, .86); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--page-max-width); margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  position: relative; font-size: 15px; font-weight: 500;
  color: rgba(0, 0, 0, .54); padding: 8px 14px; border-radius: var(--radius-buttons);
  transition: color .2s ease, background-color .2s ease;
}
.nav__links a:hover { color: #000; background: rgba(0, 0, 0, .04); }
.nav__links a.is-active { color: #000; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--color-notion-blue);
}
.nav__actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 8px; position: relative; justify-self: end; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #000; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.menu-open .nav__burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--color-paper-warmth);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a { display: block; overflow: hidden; font-size: 44px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.25; border-bottom: 1px solid var(--border); padding: 8px 0; }
.mobile-menu__links a span { display: inline-block; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; color: var(--color-graphite); }
.mobile-menu__foot .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; }
.hero__content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 88px var(--gutter) 21vh;
  will-change: transform, opacity;
}
.hero .marks { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(44px, 7.4vw, 96px); line-height: 1.04; letter-spacing: -0.048em; font-weight: 600;
  max-width: 13em;
}
.pill-hl {
  display: inline-block; position: relative;
  border-radius: var(--radius-pills); padding: 0 .26em .04em;
  line-height: 1.04; vertical-align: baseline;
}
.pill-hl > span { display: inline-block; }
.pill-hl--peach { background: var(--color-peach); }
.pill-hl--marigold { background: var(--color-marigold); }
.pill-hl--coral { background: var(--color-coral); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.56; color: var(--color-graphite); max-width: 600px; margin-top: 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; color: rgba(0, 0, 0, .45); font-weight: 500; letter-spacing: .01em; }
.hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .25); }

.hero__deco { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.deco { position: absolute; }
.d1 { width: 38px; top: 22%; left: 14%; }
.d2 { width: 110px; top: 30%; right: 9%; }
.d3 { width: 44px; top: 58%; left: 8%; }
.d4 { width: 26px; top: 16%; right: 21%; }
.d5 { width: 70px; top: 54%; right: 15%; }
.d6 { width: 34px; top: 40%; left: 20%; }

.hero__stage {
  position: absolute; z-index: 4; left: 0; right: 0; top: calc(100% - 17vh);
  display: flex; justify-content: center; perspective: 1800px; pointer-events: none;
}
.hero__mockup-wrap { transform-style: preserve-3d; }
.hero__mockup { transform-origin: 50% 0%; will-change: transform; pointer-events: auto; }

.hero__scroll {
  position: absolute; z-index: 5; left: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .01em; color: rgba(0, 0, 0, .45);
}
.hero__scroll i { position: relative; width: 1px; height: 36px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #000; animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Mockup (product UI) ---------- */
.mk {
  --w: min(1120px, 92vw, calc((100svh - 130px) * 1.6));
  position: relative; width: var(--w); aspect-ratio: 16 / 10;
  container-type: inline-size;
  font-size: clamp(6px, 1.22cqw, 14px);
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-mockup), 0 40px 90px -30px rgba(2, 9, 58, .28);
  display: flex; flex-direction: column; text-align: left;
}
.mk__bar { display: flex; align-items: center; gap: 1em; height: 3.2em; padding: 0 1.1em; border-bottom: 1px solid var(--border); background: #fbfbfa; flex: none; }
.mk__dots { display: flex; gap: .45em; }
.mk__dots i { width: .8em; height: .8em; border-radius: 50%; background: #e3e2e0; }
.mk__dots i:nth-child(1) { background: #f64932; opacity: .8; }
.mk__dots i:nth-child(2) { background: #ffb110; opacity: .8; }
.mk__dots i:nth-child(3) { background: #62aef0; opacity: .8; }
.mk__url {
  flex: 1; max-width: 34em; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: .5em;
  height: 2em; border-radius: .5em; background: #f1f0ef; color: rgba(0, 0, 0, .5); font-size: .92em;
}
.mk__url svg { width: 1em; height: 1em; color: rgba(0, 0, 0, .4); }
.mk__share { font-size: .92em; font-weight: 500; color: #fff; background: var(--color-notion-blue); padding: .3em .9em; border-radius: .5em; }
.mk__body { flex: 1; display: grid; grid-template-columns: 15em 1fr; min-height: 0; }
.mk__side { background: #fbfbfa; border-right: 1px solid var(--border); padding: 1.2em .8em; font-size: .95em; color: rgba(0, 0, 0, .65); }
.mk__ws { display: flex; align-items: center; gap: .6em; font-weight: 600; color: #000; padding: 0 .5em 1em; }
.mk__side li { display: flex; align-items: center; gap: .6em; padding: .42em .6em; border-radius: .4em; }
.mk__side li.on { background: rgba(0, 0, 0, .05); color: #000; font-weight: 500; }
.mk__label { font-size: .82em; color: rgba(0, 0, 0, .4); padding: 1.4em .6em .4em; font-weight: 500; }
.mk__main { position: relative; padding: 1.8em 2.2em; min-width: 0; }
.mk__head { display: flex; align-items: flex-end; justify-content: space-between; }
.mk__crumb { font-size: .9em; color: rgba(0, 0, 0, .4); }
.mk__h { font-size: 2.3em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-top: .15em; }
.mk__people { display: flex; }
.mk__people .mk__init + .mk__init { margin-left: -.45em; }
.mk__init { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; font-weight: 600; color: #fff; background: var(--c); border: .15em solid #fff; flex: none; }
.mk__side li .ico { width: 1.15em; height: 1.15em; color: rgba(0,0,0,.5); }
.mk__tabs { display: flex; gap: 1.4em; margin-top: 1.2em; border-bottom: 1px solid var(--border); font-size: .95em; color: rgba(0, 0, 0, .45); }
.mk__tabs span { padding-bottom: .6em; }
.mk__tabs .on { color: #000; font-weight: 500; box-shadow: inset 0 -2px 0 #000; }
.mk__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 1.4em; }
.mk__col { position: relative; display: flex; flex-direction: column; gap: .7em; }
.mk__col-t { display: flex; align-items: center; gap: .5em; font-size: .95em; font-weight: 500; color: rgba(0, 0, 0, .6); }
.mk__col-t i { width: .65em; height: .65em; border-radius: 50%; background: var(--c); }
.mk__col-t em { font-style: normal; color: rgba(0, 0, 0, .35); }
.mk__card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: .57em;
  padding: .7em .9em; display: flex; flex-direction: column; align-items: flex-start; gap: .3em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
.mk__card b { font-size: 1em; font-weight: 500; }
.mk__card small { font-size: .85em; color: rgba(0, 0, 0, .45); }
.mk__card--img { padding-top: .5em; }
.mk__thumb { width: 100%; height: 7.4em; border-radius: .4em; overflow: hidden; margin-bottom: .3em; background: #eee; }
.mk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk__card--drag { z-index: 3; will-change: transform; }
.mk__ghost { height: 4.9em; border: 1.5px dashed rgba(0, 0, 0, .1); border-radius: .57em; opacity: 0; }
.mk__pill { display: inline-block; font-size: .78em; font-weight: 500; padding: .15em .7em; border-radius: 999px; line-height: 1.5; }
.mk__pill--done { background: var(--color-sky-tint); color: var(--color-notion-blue); }
.mk__pill--wip { background: #ffe9bf; color: #8a5a00; }
.mk__pill--live { background: #dff3e4; color: #1f7a3c; }
.mk__comment {
  position: absolute; right: 2.2em; bottom: 1.6em; display: flex; align-items: center; gap: .6em;
  background: #fff; border: 1px solid var(--border); border-radius: .8em; padding: .6em .9em .6em .6em;
  box-shadow: var(--shadow-mockup); font-size: .95em; opacity: 0;
}
.mk__comment p { display: flex; flex-direction: column; line-height: 1.3; }
.mk__comment b { font-size: .85em; color: rgba(0, 0, 0, .5); font-weight: 500; }
.mk__cursor { position: absolute; z-index: 10; left: 0; top: 0; display: flex; align-items: flex-start; pointer-events: none; will-change: transform; }
.mk__cursor svg { width: 1.9em; height: 1.9em; }
.mk__cursor span { margin: 1.4em 0 0 -.2em; background: var(--color-notion-blue); color: #fff; font-size: .82em; font-weight: 500; padding: .15em .6em; border-radius: 999px; }

/* ---------- Marquee ---------- */
.marquee-sec { padding: clamp(48px, 7vw, 96px) 0 24px; position: relative; z-index: 2; background: var(--color-paper-warmth); }
.marquee-sec__label { text-align: center; font-size: 14px; color: rgba(0, 0, 0, .45); font-weight: 500; margin-bottom: 28px; padding: 0 var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
.marquee__group span { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.035em; color: rgba(0, 0, 0, .6); white-space: nowrap; }
.marquee__group svg { width: 22px; height: 22px; fill: rgba(0, 0, 0, .18); flex: none; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; }
.manifesto .tag { margin-bottom: 32px; }
.manifesto__text { font-size: clamp(28px, 3.9vw, 52px); line-height: 1.18; letter-spacing: -0.032em; font-weight: 500; }
.manifesto__text .mw { display: inline; }
.manifesto__sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.manifesto__sign p { font-size: 18px; color: var(--color-graphite); }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head--light h2 { color: #fff; }

/* ---------- Cards & bento ---------- */
.card { position: relative; border-radius: var(--radius-cards); padding: clamp(24px, 3vw, 40px); overflow: hidden; }
.card--white { background: #fff; border: 1px solid var(--border); }
.card--marigold { background: var(--color-marigold); }
.card--coral { background: var(--color-coral); }
.card--sky { background: var(--color-sky-wash); }
.card__num { display: inline-block; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .55); padding: 4px 12px; border-radius: 999px; }
.card__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin: 18px 0 12px; }
.card__body { font-size: 16px; line-height: 1.5; color: rgba(0, 0, 0, .78); max-width: 520px; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento__wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bento__text { display: flex; flex-direction: column; align-items: flex-start; }
.bento__text .link-arrow { margin-top: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills span { font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .7); padding: 4px 12px; border-radius: 999px; }
.step--white .pills span { background: var(--color-paper-warmth); }
.pills--dark span { background: rgba(255, 255, 255, .12); color: #fff; }

.media { position: relative; border-radius: var(--radius-cards); overflow: hidden; background: rgba(0, 0, 0, .08); }
.media img { width: 100%; height: 120%; object-fit: cover; position: absolute; left: 0; top: -10%; will-change: transform; }
.bento__media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-mockup); overflow: visible; }
.bento__media img { border-radius: var(--radius-cards); }
.bento__media { clip-path: inset(0 round 12px); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px;
  box-shadow: var(--shadow-mockup); font-size: 14px;
}
.float-card b { font-weight: 500; }
.float-card small { display: block; font-size: 12px; color: rgba(0, 0, 0, .5); }
.float-card__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--color-sky-tint); color: var(--color-notion-blue); }
.float-card__icon svg { width: 18px; height: 18px; }
.float-card--tl { left: 16px; top: 16px; flex-direction: column; align-items: flex-start; gap: 6px; }
.float-card--br { right: -18px; bottom: 28px; }

/* before / after */
.ba { position: relative; margin-top: 28px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { filter: grayscale(1) contrast(.85) blur(1.5px) brightness(.9); }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; }
.ba__line i { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-mockup); }
.ba__line i::before, .ba__line i::after { content: ""; position: absolute; top: 9px; border: 5px solid transparent; }
.ba__line i::before { left: 2px; border-right-color: #000; }
.ba__line i::after { right: 2px; border-left-color: #000; }
.ba__tag { position: absolute; top: 12px; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; background: #fff; color: #000; }

/* checklist */
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.checklist li {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px;
  padding: 12px 14px; font-size: 15px; font-weight: 500;
}
.check { position: relative; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(0, 0, 0, .2); flex: none; transition: background-color .2s ease, border-color .2s ease; }
.check::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease);
}
.check.is-on { background: var(--color-notion-blue); border-color: var(--color-notion-blue); }
.check.is-on::after { transform: rotate(45deg) scale(1); }

/* ---------- Process ---------- */
.process { position: relative; padding: var(--section-gap) 0; overflow: hidden; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.process__head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 700px; }
.process__progress { width: 200px; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); overflow: hidden; flex: none; margin-bottom: 14px; }
.process__progress i { display: block; height: 100%; background: #000; transform: scaleX(0); transform-origin: left; }
.process__track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.step {
  position: relative; width: clamp(300px, 34vw, 460px); min-height: clamp(380px, 52vh, 480px);
  border-radius: var(--radius-cards); padding: clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; flex: none;
}
.step--white { background: #fff; border: 1px solid var(--border); }
.step--marigold { background: var(--color-marigold); }
.step--sky { background: var(--color-sky-wash); }
.step--midnight { background: var(--color-midnight-ink); color: #fff; }
.step--midnight p { color: rgba(255, 255, 255, .75) !important; }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.step__n { font-size: clamp(64px, 7vw, 104px); font-weight: 600; letter-spacing: -0.06em; line-height: .83; }
.step__icon { width: 56px; height: 56px; display: grid; place-items: center; background: rgba(255, 255, 255, .6); border-radius: 50%; }
.step--midnight .step__icon { background: rgba(255, 255, 255, .1); }
.step--white .step__icon { background: var(--color-paper-warmth); }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 32px 0 10px; }
.step p { font-size: 16px; color: rgba(0, 0, 0, .72); }
.step--end { justify-content: center; align-items: flex-start; gap: 20px; width: clamp(280px, 28vw, 380px); }
.step--end .serif { font-size: 32px; line-height: 1.25; color: var(--color-graphite); }

/* ---------- Features ---------- */
.features .container { display: flex; flex-direction: column; gap: var(--section-gap); }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature--reverse .feature__text { order: 2; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--color-sky-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' stroke='%230075de' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.feature__panel { position: relative; border-radius: var(--radius-cards); padding: clamp(24px, 4vw, 56px); aspect-ratio: 1 / 1.02; display: flex; }
.panel--marigold { background: var(--color-marigold); }
.panel--blue { background: var(--color-signal-blue); }
.media--panel { flex: 1; box-shadow: var(--shadow-mockup); }
.float-pills { position: absolute; left: -16px; bottom: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.float-pills span { display: inline-flex; align-items: center; gap: 8px; background: var(--c); font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-mockup); }

/* ---------- Dark island ---------- */
.dark { position: relative; padding: 0 0 var(--section-gap); }
.dark__panel { background: var(--color-midnight-ink); color: #fff; padding: var(--section-gap) 0; will-change: clip-path; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice__card {
  border-radius: var(--radius-cards); padding: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: background-color .2s ease, border-color .2s ease;
}
.choice__card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.choice__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--color-marigold); }
.choice__icon svg, .step__icon svg { width: 26px; height: 26px; }
.choice__card h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 24px 0 12px; }
.choice__card p { color: rgba(255, 255, 255, .7); max-width: 480px; }
.choice__card ul { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.choice__card li { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: rgba(255, 255, 255, .9); }
.choice__card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-marigold); flex: none; }
.choice__card .link-arrow { margin-top: auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .12); }
.stat__n { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat__n small { font-size: .4em; color: var(--color-marigold); letter-spacing: -0.02em; }
.stat__l { margin-top: 10px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-top: calc(var(--section-gap) * .6); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__title { font-size: clamp(48px, 8.2vw, 112px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 600; }
.cta .lead { text-align: center; }
.cta__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards);
  padding: 14px 22px 14px 14px; transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: rgba(0, 0, 0, .25); transform: translateY(-2px); }
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--color-sky-tint); color: var(--color-notion-blue); border-radius: 50%; }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: 12px; color: rgba(0, 0, 0, .5); }
.contact-card b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.cta__btns { margin-top: 8px; }
.cta__deco { position: absolute; inset: 0; pointer-events: none; }
.cta__av { position: absolute; }
.cta__av.mark { width: 52px; height: 52px; }
.a1 { left: 7%; top: 8%; }
.a2 { right: 10%; top: 18%; width: 56px; height: 56px; }
.a3 { left: 15%; bottom: 18%; width: 40px; height: 40px; }
.a4 { right: 14%; bottom: 24%; }
.cta__sp.s1 { width: 30px; left: 24%; top: 12%; }
.cta__sp.s2 { width: 40px; right: 24%; bottom: 12%; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--border); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand p { margin-top: 14px; color: var(--color-graphite); font-size: 17px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__h { font-size: 13px; font-weight: 600; color: rgba(0, 0, 0, .4); margin-bottom: 6px; }
.footer__col a { font-size: 15px; color: rgba(0, 0, 0, .72); transition: color .2s ease; width: fit-content; }
.footer__col a:hover { color: #000; }
.footer__word {
  display: flex; justify-content: center; overflow: hidden;
  font-size: clamp(80px, 21vw, 320px); font-weight: 700; letter-spacing: -0.065em; line-height: .83;
  margin: 72px 0 32px; padding-bottom: .04em; color: #000;
}
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(0, 0, 0, .5); border-top: 1px solid var(--border); padding-top: 24px; }
.footer__bottom a:hover { color: #000; }

/* ---------- Home: offers bento additions ---------- */
.card--midnight { background: var(--color-midnight-ink); color: #fff; }
.card--midnight .card__body { color: rgba(255, 255, 255, .72); }
.card--midnight .card__num { background: rgba(255, 255, 255, .12); }
.card--midnight .pills span { background: rgba(255, 255, 255, .1); color: #fff; }
.card--midnight .link-arrow { color: #fff; border-color: rgba(255, 255, 255, .3); }
.card--midnight .link-arrow:hover { border-color: #fff; }
.card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.price { text-align: right; line-height: 1.1; flex: none; }
.price small { display: block; font-size: 12px; font-weight: 500; opacity: .65; }
.price b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.04em; }
.price b em { font-style: normal; font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .7; }
.appviz { border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 18px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; min-height: 260px; }
.appviz__side { display: flex; flex-direction: column; gap: 10px; }
.appviz__side i { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.appviz__side i:first-child { background: var(--color-notion-blue); width: 70%; }
.appviz__main { display: flex; flex-direction: column; gap: 14px; }
.appviz__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.appviz__kpis span { border-radius: 8px; background: rgba(255, 255, 255, .08); padding: 10px; font-size: 11px; color: rgba(255, 255, 255, .6); }
.appviz__kpis b { display: block; font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.appviz__bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 110px; }
.appviz__bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--color-sky-wash); }
.appviz__bars i:nth-child(3n) { background: var(--color-marigold); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: rgba(255, 255, 255, .85); }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: #222; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; padding: calc(64px + clamp(56px, 9vw, 128px)) 0 clamp(48px, 7vw, 96px); text-align: center; overflow: hidden; }
.phero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phero__title { font-size: clamp(42px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.048em; font-weight: 600; max-width: 13em; }
.phero .lead { text-align: center; max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); }
.phero__deco { position: absolute; inset: 0; pointer-events: none; }
.phero__deco .p1 { width: 34px; left: 5%; top: 24%; }
.phero__deco .p2 { width: 100px; right: 9%; top: 26%; }
.phero__deco .p3 { width: 42px; left: 16%; bottom: 14%; }
.phero__deco .p4 { width: 26px; right: 18%; bottom: 20%; }
.crumbs { font-size: 13px; color: rgba(0, 0, 0, .45); display: flex; gap: 8px; }
.crumbs a:hover { color: #000; }

/* ---------- Offers page ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer { position: relative; border-radius: var(--radius-cards); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; min-height: 540px; overflow: hidden; }
.offer--marigold { background: var(--color-marigold); }
.offer--midnight { background: var(--color-midnight-ink); color: #fff; }
.offer--sky { background: var(--color-sky-wash); }
.offer--white { background: #fff; border: 1px solid var(--border); }
.offer__top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.offer__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .6); }
.offer__icon svg { width: 26px; height: 26px; }
.offer--midnight .offer__icon { background: rgba(255, 255, 255, .1); color: var(--color-marigold); }
.offer--white .offer__icon { background: var(--color-sky-tint); color: var(--color-notion-blue); }
.offer__n { font-size: 13px; font-weight: 600; opacity: .55; }
.offer h2 { position: relative; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 28px 0 12px; }
.offer__desc { position: relative; font-size: 16px; color: rgba(0, 0, 0, .75); max-width: 460px; }
.offer--midnight .offer__desc { color: rgba(255, 255, 255, .72); }
.offer__label { font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .55; margin-top: 24px; }
.offer .pills { margin-top: 10px; }
.offer--midnight .pills span { background: rgba(255, 255, 255, .1); color: #fff; }
.offer--white .pills span { background: var(--color-paper-warmth); }
.offer__foot { margin-top: auto; padding-top: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.offer__price small { display: block; font-size: 13px; font-weight: 500; opacity: .65; margin-bottom: 4px; }
.offer__price b { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.offer__price b em { font-style: normal; font-size: .36em; font-weight: 500; letter-spacing: 0; opacity: .7; margin-left: 4px; }
.offer__bg { position: absolute; right: -36px; top: -36px; width: 220px; height: 220px; opacity: .1; pointer-events: none; }
.offer__bg svg { width: 100%; height: 100%; stroke-width: 1; }

.pack { margin-top: 16px; border-radius: var(--radius-cards); background: #fff; border: 1px solid var(--border); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.pack h2 { margin: 16px 0 12px; }
.pack__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pack__list li { display: flex; align-items: center; gap: 10px; background: var(--color-paper-warmth); border-radius: 8px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.pack__list .ico { width: 18px; height: 18px; color: var(--color-notion-blue); }
.pack__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards); padding: 28px; }
.how__n { font-size: 56px; font-weight: 600; letter-spacing: -0.06em; line-height: .9; color: rgba(0, 0, 0, .14); }
.how__item h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 20px 0 8px; }
.how__item p { color: var(--color-graphite); }

.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; color: rgba(0, 0, 0, .5); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--color-graphite); max-width: 640px; }

/* ---------- About page ---------- */
.band { position: relative; height: clamp(320px, 62vh, 640px); border-radius: var(--radius-cards); overflow: hidden; background: #ddd; }
.band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.band .float-card { left: 24px; bottom: 24px; }
.story { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: sticky; top: 100px; }
.story__text { display: flex; flex-direction: column; gap: 28px; }
.story__text .serif { font-size: 20px; line-height: 1.56; color: var(--color-graphite); max-width: 640px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.value h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: auto; padding-top: 40px; }
.value p { color: var(--color-graphite); }
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.duo__card { border-radius: var(--radius-cards); padding: clamp(28px, 4vw, 56px); min-height: 400px; display: flex; flex-direction: column; }
.duo__card h3 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; margin-top: auto; padding-top: 48px; }
.duo__card p { margin-top: 12px; max-width: 420px; color: rgba(0, 0, 0, .78); }
.duo__card--a { background: var(--color-coral); }
.duo__card--b { background: var(--color-sky-wash); }
.duo__card .mark { border-color: #000; }
.duo__x { display: grid; place-items: center; font-size: clamp(40px, 5vw, 64px); font-weight: 600; color: rgba(0, 0, 0, .3); }
.commit { display: flex; flex-direction: column; }
.commit li { display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--border); }
.commit li:last-child { border-bottom: 1px solid var(--border); }
.commit__n { font-size: 14px; font-weight: 600; color: rgba(0, 0, 0, .4); }
.commit h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.commit p { color: var(--color-graphite); }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact__side { display: flex; flex-direction: column; gap: 12px; }
.contact__side .contact-card { width: 100%; }
.contact__note { background: var(--color-midnight-ink); color: #fff; border-radius: var(--radius-cards); padding: 28px; margin-top: 4px; }
.contact__note h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.contact__note ol { list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: c; }
.contact__note li { counter-increment: c; display: flex; gap: 12px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.contact__note li::before { content: counter(c); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-marigold); color: #000; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.contact__media { aspect-ratio: 4 / 3; margin-top: 4px; }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards); padding: clamp(24px, 3.4vw, 44px); }
.form h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.form > p { color: var(--color-graphite); margin-top: 8px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field legend { margin-bottom: 8px; }
.field label span, .field legend span { color: var(--color-coral); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: #000; width: 100%;
  background-color: var(--color-paper-warmth); border: 1px solid transparent; border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(0, 0, 0, .1); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--color-notion-blue); box-shadow: 0 0 0 3px var(--color-sky-tint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--color-paper-warmth); border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease; color: #000 !important; }
.chips label:hover span { border-color: rgba(0, 0, 0, .15); }
.chips input:checked + span { background: var(--color-notion-blue); color: #fff !important; }
.chips input:focus-visible + span { outline: 2px solid var(--color-notion-blue); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--color-graphite); grid-column: 1 / -1; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-notion-blue); flex: none; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form__foot small { color: rgba(0, 0, 0, .5); font-size: 13px; max-width: 320px; }
.form__ok { margin-top: 16px; background: #dff3e4; color: #1f7a3c; border-radius: 8px; padding: 12px 14px; font-size: 15px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .d2 { top: 14%; right: 6%; width: 80px; }
  .d5 { display: none; }
}
@media (max-width: 1080px) {
  .nav__phone { display: none; }
}
@media (max-width: 899px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: block; }

  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero__content { min-height: 100svh; padding: 96px var(--gutter) 48px; height: auto; }
  .hero__stage { position: relative; top: auto; padding: 0 var(--gutter) 24px; }
  .mk { --w: calc(100vw - 2 * var(--gutter)); }
  .mk__body { grid-template-columns: 1fr; }
  .mk__side { display: none; }
  .mk__main { padding: 1.6em; }
  .hero__scroll { display: none; }
  .d1, .d2, .d5, .d6 { display: none; }
  .d3 { top: 13%; left: 7%; width: 30px; }
  .d4 { top: 14%; right: 9%; }

  .bento { grid-template-columns: 1fr; }
  .bento__wide { grid-template-columns: 1fr; }
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature__text { order: 0; }
  .float-card--br { right: 12px; }
  .float-pills { left: 12px; }
  .choice { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; }

  .process__head { flex-direction: column; align-items: flex-start; }
  .process__progress { display: none; }
  .process__track { flex-direction: column; width: auto; }
  .step, .step--end { width: 100%; min-height: 320px; }
  .step--end { min-height: 0; padding-top: 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .offers, .how, .faq, .story, .duo, .contact, .pack { grid-template-columns: 1fr; }
  .pack__list { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .story__side { position: static; }
  .commit li { grid-template-columns: 48px 1fr; }
  .commit li p { grid-column: 2; }
  .offer { min-height: 0; }
  .appviz { grid-template-columns: 1fr; }
  .appviz__side { display: none; }
  .phero__deco .p2 { display: none; }
  .duo__x { padding: 4px 0; }
  .footer__brand { grid-column: 1 / -1; }
  .cta__av, .cta__sp { opacity: .55; }
  .a1, .a4 { display: none; }
}
@media (max-width: 899px) and (min-width: 560px) {
  .mk { font-size: 1.5cqw; }
}
@media (max-width: 560px) {
  .mk { aspect-ratio: auto; height: auto; font-size: 2.2cqw; }
  .mk__board { grid-template-columns: 1fr 1fr; }
  .mk__board .mk__col:first-child { display: none; }
  .mk__comment { display: none; }
  .hero .mark { width: 38px; height: 38px; }
  .hero .mark svg { width: 18px; height: 18px; }
  .hero .marks { gap: 4px; }
  .hero__ctas .btn { width: 100%; }
  .hero__meta { font-size: 12px; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-card { width: 100%; }
  .values { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .card__head { flex-direction: column; }
  .price { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* anchors under the fixed nav */
.offer, .pack, section[id] { scroll-margin-top: 88px; }

/* ---------- Form extras ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__err { margin-top: 16px; background: #fde8e5; color: #a3220f; border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.js-submit[disabled] { opacity: .7; cursor: progress; }

/* ---------- Footer legal links ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a, .footer__legal button { font: inherit; color: inherit; transition: color .2s ease; }
.footer__legal a:hover, .footer__legal button:hover { color: #000; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 150; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards);
  box-shadow: var(--shadow-nav), 0 18px 50px -12px rgba(2, 9, 58, .22);
  padding: 22px; font-size: 14px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .4s;
}
.cookie.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s var(--ease), visibility 0s; }
.cookie__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cookie__title .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--color-sky-tint); color: var(--color-notion-blue); }
.cookie__text { margin-top: 10px; color: var(--color-graphite); line-height: 1.5; }
.cookie__text a { color: #000; text-decoration: underline; }
.cookie__prefs { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--color-paper-warmth); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.cookie__row b { display: block; font-weight: 500; }
.cookie__row small { display: block; color: rgba(0, 0, 0, .55); font-size: 12px; }
.cookie__row input { width: 18px; height: 18px; accent-color: var(--color-notion-blue); flex: none; }
.cookie__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
@media (max-width: 560px) {
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .cookie__btns .btn { flex: 1 1 auto; }
}

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.legal__toc p { font-size: 12px; font-weight: 600; color: rgba(0, 0, 0, .4); margin-bottom: 6px; }
.legal__toc a { color: rgba(0, 0, 0, .6); padding: 6px 10px; border-radius: 6px; transition: color .2s ease, background-color .2s ease; }
.legal__toc a:hover { color: #000; background: rgba(0, 0, 0, .04); }
.legal__body { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.legal__block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-cards); padding: clamp(24px, 3vw, 36px); }
.legal__block h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 14px; }
.legal__block h3 { font-size: 17px; font-weight: 600; margin: 20px 0 6px; }
.legal__block p, .legal__block li { color: var(--color-graphite); }
.legal__block p + p { margin-top: 10px; }
.legal__block ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.legal__block ul li { position: relative; padding-left: 18px; }
.legal__block ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-marigold); }
.legal__block a { color: var(--color-notion-blue); text-decoration: underline; }
.legal__dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; }
.legal__dl dt { font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .5); }
.legal__dl dd { color: #000; }
.legal__date { font-size: 13px; color: rgba(0, 0, 0, .45); }
.todo { background: #fff3d6; color: #8a5a00; border-radius: 4px; padding: 0 6px; font-weight: 500; }
@media (max-width: 899px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dd { margin-bottom: 10px; }
}
.cookie__prefs[hidden], .form__ok[hidden], .form__err[hidden] { display: none; }
.footer__bottom { margin-top: 56px; }
div.contact-card:hover { transform: none; border-color: var(--border); }
