/* mosam carpentr — Swiss minimal system
   Colours: #FFFFFF / #111111 / #F5F5F5 / accent #2563EB
   Type: Manrope. Motion: cubic-bezier(0.32, 0.72, 0, 1) */

:root {
  --bg: #FFFFFF;
  --text: #111111;
  --muted: #555555;
  --faint: #8A8A8A;
  --soft: #F5F5F5;
  --line: #E5E5E5;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-tint: #EFF4FF;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --max: 1100px;
  --gutter: 24px;
  --section: 128px;
  --header: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--text); color: #fff; padding: 8px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 600; transition: top 300ms var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding-top: 0; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.span-12 { grid-column: auto / span 12; }
.span-8 { grid-column: auto / span 8; }
.span-7 { grid-column: auto / span 7; }
.span-6 { grid-column: auto / span 6; }
.span-5 { grid-column: auto / span 5; }
.span-4 { grid-column: auto / span 4; }
.span-3 { grid-column: auto / span 3; }
.span-2 { grid-column: auto / span 2; }
.start-5 { grid-column-start: 5; }
.start-9 { grid-column-start: 9; }
.start-6 { grid-column-start: 6; }
.start-7 { grid-column-start: 7; }
.start-8 { grid-column-start: 8; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.02em; margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.display {
  font-size: 72px; line-height: 1; font-weight: 300; letter-spacing: -0.035em;
}
.h2 { font-size: 48px; line-height: 1.05; font-weight: 300; letter-spacing: -0.03em; }
.h3 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.h4 { font-size: 18px; line-height: 28px; font-weight: 600; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.mono { font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head .lead { margin-top: 24px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Links & buttons ---------- */
.link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--text);
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 600ms var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link .arrow { transition: transform 600ms var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link--accent { color: var(--accent); }

.text-link { color: var(--accent); background-image: none; border-bottom: 1px solid transparent; transition: border-color 400ms var(--ease); }
.text-link:hover { border-color: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font-size: 16px; line-height: 24px; font-weight: 600;
  cursor: pointer; transition: background-color 500ms var(--ease), border-color 500ms var(--ease), transform 300ms var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 8px 12px; font-size: 14px; line-height: 20px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--soft); border-color: var(--text); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 400ms var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__mark .m-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1400ms var(--ease) 200ms forwards; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); transition: color 400ms var(--ease); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 600ms var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }

.burger {
  display: none; position: relative; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--bg); cursor: pointer;
}
.burger span {
  position: absolute; left: 11px; width: 16px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 90; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 48px var(--gutter); display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease); }
.mobile-menu a {
  font-size: 36px; line-height: 48px; font-weight: 300; letter-spacing: -0.02em;
  transform: translateY(48px); opacity: 0; transition: transform 800ms var(--ease), opacity 800ms var(--ease);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.mobile-menu a:nth-child(1) { transition-delay: 100ms; }
.mobile-menu a:nth-child(2) { transition-delay: 150ms; }
.mobile-menu a:nth-child(3) { transition-delay: 200ms; }
.mobile-menu a:nth-child(4) { transition-delay: 250ms; }
.mobile-menu a:nth-child(5) { transition-delay: 300ms; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: grid; gap: 8px; }
.mobile-menu__foot a { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 96px; text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero__title { max-width: 880px; margin: 0 auto; }
.hero__sub { max-width: 680px; margin: 32px auto 0; }
.hero .actions { justify-content: center; margin-top: 48px; }
.hero__proof { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 14px; color: var(--muted); }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--accent); }
.hero__visual { margin-top: 96px; }

.page-hero { padding: 128px 0 96px; }
.page-hero__title { max-width: 820px; }
.page-hero .lead { max-width: 680px; margin-top: 32px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 32px; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Panels, cards ---------- */
.panel { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.figure { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); }
.figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter 1200ms var(--ease), transform 1600ms var(--ease); }
.figure:hover img { filter: grayscale(0.15); transform: scale(1.02); }
.figcaption { margin-top: 12px; font-size: 14px; color: var(--faint); }

/* Line list (Swiss rows) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.service {
  position: relative; padding: 40px 32px; background: var(--bg);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; min-height: 300px;
  transition: background-color 600ms var(--ease);
}
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n + 3) { border-bottom: 0; }
.service:hover { background: var(--soft); }
.service__num { font-size: 12px; line-height: 16px; color: var(--faint); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.service__icon { width: 48px; height: 48px; color: var(--text); margin: 8px 0; transition: color 600ms var(--ease); }
.service:hover .service__icon { color: var(--accent); }
.service p { color: var(--muted); }
.service .link { margin-top: auto; font-size: 14px; }

/* Icon draw */
.draw path, .draw circle, .draw line, .draw polyline, .draw rect, .draw ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease); }
.is-visible .draw path, .is-visible .draw circle, .is-visible .draw line, .is-visible .draw polyline, .is-visible .draw rect, .is-visible .draw ellipse,
.draw.is-visible path, .draw.is-visible circle, .draw.is-visible line, .draw.is-visible polyline, .draw.is-visible rect { stroke-dashoffset: 0; }
.draw :nth-child(2) { transition-delay: 150ms; }
.draw :nth-child(3) { transition-delay: 300ms; }
.draw :nth-child(4) { transition-delay: 450ms; }
.draw :nth-child(5) { transition-delay: 600ms; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-size: 60px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 30px; color: var(--accent); vertical-align: top; position: relative; top: 4px; margin-left: 2px; }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Tagline reveal */
.tagline { padding: 160px 0; }
.tagline__text { max-width: 900px; font-size: 60px; line-height: 1.05; font-weight: 300; letter-spacing: -0.035em; }
.tagline__text .w { color: rgba(17, 17, 17, 0.2); transition: color 900ms var(--ease); }
.tagline__text .w.on { color: var(--text); }
.tagline__text .w.hl.on { color: var(--accent); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps__track { position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--line); }
.steps__track i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2400ms var(--ease) 200ms; }
.steps.is-visible .steps__track i { transform: scaleX(1); }
.step { position: relative; padding-right: 24px; }
.step__dot {
  position: relative; z-index: 1; width: 41px; height: 41px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: border-color 600ms var(--ease), background-color 600ms var(--ease), color 600ms var(--ease);
}
.steps.is-visible .step__dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.steps.is-visible .step:nth-child(2) .step__dot { transition-delay: 300ms; }
.steps.is-visible .step:nth-child(3) .step__dot { transition-delay: 900ms; }
.steps.is-visible .step:nth-child(4) .step__dot { transition-delay: 1500ms; }
.steps.is-visible .step:nth-child(5) .step__dot { transition-delay: 2100ms; }
.step h3 { margin-top: 32px; }
.step p { margin-top: 12px; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.quote blockquote { font-size: 18px; line-height: 28px; }
.quote blockquote::before { content: "“"; display: block; font-size: 48px; line-height: 1; color: var(--accent); margin-bottom: 8px; font-weight: 300; }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 14px; font-weight: 600; flex: none; background: var(--soft);
}
.person strong { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.person span { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 18px; line-height: 28px; font-weight: 500; transition: color 400ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: currentColor; transition: transform 600ms var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 760px; }
.faq details[open] .answer { animation: fadeUp 600ms var(--ease); }

/* CTA band */
.cta { text-align: center; }
.cta .h2 { max-width: 760px; margin: 0 auto; }
.cta .lead { max-width: 560px; margin: 24px auto 0; }
.cta .actions { justify-content: center; margin-top: 48px; }
.assurances { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 14px; color: var(--muted); }
.assurances span { display: inline-flex; gap: 8px; align-items: center; }
.assurances svg { width: 16px; height: 16px; color: var(--accent); }

/* Checklist */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { padding: 40px 32px; display: flex; flex-direction: column; gap: 24px; transition: border-color 600ms var(--ease); }
.plan:hover { border-color: #BDBDBD; }
.plan--featured { border-color: var(--accent); }
.plan--featured:hover { border-color: var(--accent); }
.plan__tag { align-self: flex-start; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--accent); background: var(--accent-tint); padding: 4px 8px; border-radius: 4px; }
.plan__price { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 16px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .checks { font-size: 14px; line-height: 20px; }
.plan .checks svg { width: 16px; height: 16px; }
.plan .btn { margin-top: auto; }

/* Service detail */
.detail { padding: 96px 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail__icon { width: 56px; height: 56px; margin-bottom: 32px; color: var(--text); }
.detail__meta { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; margin-top: 32px; }
.detail__meta div { padding: 24px; }
.detail__meta div + div { border-left: 1px solid var(--line); }
.detail__meta dt { font-size: 12px; line-height: 16px; letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; }
.detail__meta dd { margin-top: 8px; font-size: 18px; line-height: 28px; font-weight: 500; }
.detail h3.label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { font-size: 14px; line-height: 20px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; transition: border-color 400ms var(--ease), color 400ms var(--ease); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }

/* Values, team */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 32px 24px 48px 0; border-bottom: 1px solid var(--line); }
.value:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.value svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 24px; }
.value p { margin-top: 8px; color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { padding: 24px; }
.member__mono { aspect-ratio: 1; border-radius: 4px; background: var(--soft); display: grid; place-items: center; margin-bottom: 24px; overflow: hidden; }
.member__mono svg { width: 100%; height: 100%; }
.member p { color: var(--muted); font-size: 14px; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 48px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.timeline__bar { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 2600ms var(--ease) 200ms; }
.timeline.is-visible .timeline__bar { transform: scaleX(1); }
.milestone { position: relative; }
.milestone::before { content: ""; position: absolute; top: -48px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--text); transition: background-color 600ms var(--ease); }
.timeline.is-visible .milestone::before { background: var(--accent); border-color: var(--accent); }
.timeline.is-visible .milestone:nth-child(3)::before { transition-delay: 700ms; }
.timeline.is-visible .milestone:nth-child(4)::before { transition-delay: 1400ms; }
.timeline.is-visible .milestone:nth-child(5)::before { transition-delay: 2100ms; }
.milestone__year { font-size: 36px; line-height: 40px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.milestone h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.milestone p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 20px; }

/* Contact */
.channels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; }
.channel { padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.channel + .channel { border-left: 1px solid var(--line); }
.channel svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.channel h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.channel .value-text { font-size: 16px; line-height: 24px; font-weight: 500; overflow-wrap: anywhere; }
.channel p.small { color: var(--faint); }

.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
  font-size: 16px; line-height: 24px; transition: border-color 400ms var(--ease), box-shadow 400ms var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BDBDBD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C2261B; }
.field__error { font-size: 14px; line-height: 20px; color: #C2261B; min-height: 0; }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { font-size: 14px; line-height: 20px; padding: 12px 16px; border-radius: 6px; border: 1px solid var(--line); display: none; }
.form__status.show { display: block; animation: fadeUp 600ms var(--ease); }
.form__status.ok { border-color: var(--accent); background: var(--accent-tint); color: #1E3A8A; }

.hours { display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.hours div:last-child { border-bottom: 0; }
.hours dd { font-variant-numeric: tabular-nums; color: var(--muted); }
.hours .today dt, .hours .today dd { color: var(--accent); font-weight: 600; }

/* Legal */
.legal { max-width: 760px; }
.legal .note { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); margin-bottom: 64px; }
.legal section { padding: 40px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; display: flex; gap: 16px; }
.legal h2 .n { color: var(--faint); font-variant-numeric: tabular-nums; font-weight: 400; min-width: 32px; }
.legal p { margin-top: 16px; color: var(--muted); }
.legal ul { margin-top: 16px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 24px; color: var(--muted); }
.legal li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1px; background: var(--accent); }
.legal li strong { color: var(--text); font-weight: 600; }
.toc { position: sticky; top: calc(var(--header) + 32px); display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.toc a { color: var(--muted); transition: color 400ms var(--ease); }
.toc a:hover { color: var(--accent); }
.toc p { font-weight: 600; margin-bottom: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 96px 0 48px; font-size: 14px; line-height: 20px; }
.footer__brand p { margin-top: 16px; color: var(--muted); max-width: 320px; }
.footer h2 { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 16px; }
.footer ul { display: grid; gap: 12px; color: var(--muted); }
.footer ul a { transition: color 400ms var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer address { font-style: normal; }
.footer__bottom { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 24px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 100ms; } .d2 { transition-delay: 200ms; } .d3 { transition-delay: 300ms; } .d4 { transition-delay: 400ms; } .d5 { transition-delay: 500ms; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { r: 5; opacity: 0.5; } 100% { r: 22; opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.82); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Hero instrument */
.instrument { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.instrument .grid-l { stroke: var(--line); stroke-width: 1; }
.instrument .axis-t { font: 500 12px Manrope, sans-serif; fill: var(--faint); }
.instrument .lbl { font: 600 14px Manrope, sans-serif; fill: var(--text); }
.instrument .lbl-m { font: 500 12px Manrope, sans-serif; fill: var(--muted); }
.instrument .big { font: 300 36px Manrope, sans-serif; fill: var(--text); letter-spacing: -1px; }
.instrument .trend { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3200ms var(--ease) 500ms forwards; }
.instrument .base { fill: none; stroke: var(--text); stroke-width: 1; stroke-dasharray: 4 6; opacity: 0.35; }
.instrument .area { fill: var(--accent); opacity: 0; animation: areaIn 1600ms var(--ease) 2400ms forwards; }
@keyframes areaIn { to { opacity: 0.06; } }
.instrument .pulse { fill: var(--accent); animation: pulse 2400ms var(--ease) infinite; }
.instrument .bar { fill: var(--text); transform-box: fill-box; transform-origin: bottom; animation: breathe 5s var(--ease) infinite; }
.instrument .bar.acc { fill: var(--accent); }
.instrument .seg { fill: none; stroke-width: 12; stroke-dasharray: 0 100; transition: stroke-dasharray 1800ms var(--ease); }
.instrument.is-visible .seg { stroke-dasharray: var(--v) 100; }
.instrument.is-visible .seg:nth-of-type(2) { transition-delay: 300ms; }
.instrument.is-visible .seg:nth-of-type(3) { transition-delay: 600ms; }
.instrument.is-visible .seg:nth-of-type(4) { transition-delay: 900ms; }
.instrument .ring { transform-origin: center; transform-box: fill-box; animation: spin 60s linear infinite; }
.instrument .tick { stroke: var(--text); stroke-width: 1; }

/* Illustrations */
.illo { width: 100%; height: auto; }
.illo .s { fill: none; stroke: var(--text); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.illo .a { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.illo .l { stroke: var(--line); stroke-width: 1; fill: none; }
.illo .float { animation: float 6s var(--ease) infinite; }
.illo .spin { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.illo .spin-r { transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite reverse; }
.illo .pulse { fill: var(--accent); animation: pulse 2400ms var(--ease) infinite; }
.illo text { font-family: Manrope, sans-serif; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --section: 96px; }
  .display { font-size: 60px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .service:nth-last-child(-n + 2) { border-bottom: 0; }
  .quotes, .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plans { margin: 0 auto; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: 1fr 1fr; }
  .channel:nth-child(3) { border-left: 0; }
  .channel:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tagline__text { font-size: 48px; }
  .span-md-12 { grid-column: 1 / -1; }
  .start-md-1 { grid-column-start: 1; }
  .hide-md { display: none; }
}

@media (max-width: 720px) {
  :root { --section: 80px; --gutter: 16px; --header: 64px; }
  body { font-size: 16px; }
  .display { font-size: 48px; }
  .display br, .tagline__text br { display: none; }
  .h2 { font-size: 36px; line-height: 40px; }
  .lead { font-size: 16px; line-height: 24px; }
  .hero { padding: 80px 0 64px; }
  .hero__visual { margin-top: 64px; }
  .page-hero { padding: 80px 0 64px; }
  .grid { row-gap: 32px; }
  .grid > [class*="span-"] { grid-column: 1 / -1; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(3n), .service:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 32px 24px; }
  .service:last-child { border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 32px; }
  .stat__num { font-size: 48px; }
  .steps, .timeline { grid-template-columns: 1fr; gap: 40px; }
  .steps__track { left: 20px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; }
  .steps__track i { transform: scaleY(0); transform-origin: top; }
  .steps.is-visible .steps__track i { transform: scaleY(1); }
  .step { padding-left: 64px; padding-right: 0; }
  .step__dot { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 8px; }
  .timeline { padding-top: 0; padding-left: 40px; }
  .timeline::before, .timeline__bar { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .timeline__bar { transform: scaleY(0); transform-origin: top; }
  .timeline.is-visible .timeline__bar { transform: scaleY(1); }
  .milestone::before { top: 8px; left: -40px; }
  .values { grid-template-columns: 1fr; }
  .value, .value:not(:nth-child(3n + 1)) { padding: 32px 0; border-left: 0; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .member { padding: 16px; }
  .channels { grid-template-columns: 1fr; }
  .channel + .channel { border-left: 0; border-top: 1px solid var(--line); }
  .form__row, .detail .cols, .detail__meta { grid-template-columns: 1fr; }
  .detail__meta div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tagline { padding: 96px 0; }
  .tagline__text { font-size: 36px; line-height: 40px; }
  .faq summary { font-size: 16px; line-height: 24px; }
  .faq .answer { padding-right: 0; }
  .footer { padding-top: 64px; }
  .footer__bottom { margin-top: 64px; }
  .actions { gap: 24px; }
  .hide-sm { display: none; }
}

/* ---------- Auth: header ---------- */
.auth { display: flex; align-items: center; gap: 16px; }
button.nav__link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.auth__user { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.avatar--sm { width: 28px; height: 28px; font-size: 12px; line-height: 16px; background: var(--accent-tint); color: var(--accent); border-color: transparent; }
.mobile-menu__auth { display: flex; gap: 12px; margin-top: 24px; }
.mobile-menu__auth .btn { flex: 1; }
.mobile-menu__auth .auth__user { font-size: 16px; line-height: 24px; flex: 1; }
.mobile-menu .mobile-menu__auth { transform: translateY(48px); opacity: 0; transition: transform 800ms var(--ease) 350ms, opacity 800ms var(--ease) 350ms; }
.menu-open .mobile-menu .mobile-menu__auth { transform: none; opacity: 1; }
button.text-link { background: none; border: 0; border-bottom: 1px solid transparent; padding: 0; font-family: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Auth: modal ---------- */
.modal {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: calc(100% - 32px); max-width: 440px; max-height: none; margin: auto; overflow: visible;
}
.modal::backdrop { background: rgba(17, 17, 17, 0.36); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: backdropIn 500ms var(--ease); }
.modal__inner {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 40px 32px 32px; max-height: calc(100dvh - 32px); overflow-y: auto;
  animation: modalIn 700ms var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg); cursor: pointer;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), transform 300ms var(--ease);
}
.modal__close:hover { background: var(--soft); border-color: var(--text); }
.modal__close:active { transform: scale(0.96); }
.modal__close svg { width: 14px; height: 14px; }
.modal__mark { width: 40px; height: 40px; color: var(--accent); margin-bottom: 24px; }
.modal .h3 { font-weight: 400; }
.modal__sub { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.modal .form { gap: 16px; margin-top: 32px; }
.modal .field__error:empty { display: none; }
.modal__foot { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
.btn--block { width: 100%; }

.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 4px 8px; border: 0; border-radius: 4px; background: none; cursor: pointer;
  font-family: inherit; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted);
  transition: color 400ms var(--ease), background-color 400ms var(--ease);
}
.pw__toggle:hover { color: var(--text); background: var(--soft); }
.field__hint { font-size: 12px; line-height: 16px; color: var(--faint); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--muted); cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid #BDBDBD; border-radius: 4px; background: var(--bg) center / 12px no-repeat; cursor: pointer;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.consent input:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E"); }
.consent a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.consent a:hover { border-color: currentColor; }
.field.has-error .consent input { border-color: #C2261B; }

.form__status.err { display: block; border-color: #F3C4C0; background: #FEF3F2; color: #B42318; animation: fadeUp 600ms var(--ease); }

.auth-success { text-align: center; padding: 16px 0 8px; }
.auth-success svg { width: 72px; height: 72px; margin: 0 auto 24px; }
.auth-success .ring-p, .auth-success .tick-p { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1000ms var(--ease) 150ms forwards; }
.auth-success .tick-p { animation-delay: 700ms; }
.auth-success .btn { margin-top: 32px; }
.modal-open { overflow: hidden; }

@media (max-width: 1000px) {
  .nav__list, .nav .btn, .nav .auth { display: none; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  .modal__inner { padding: 32px 24px 24px; }
}
.modal[open] .modal__mark > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1200ms var(--ease) 200ms forwards; }
.modal[open] .modal__mark > :nth-child(2) { animation-delay: 400ms; }
.modal[open] .modal__mark > :nth-child(3) { animation-delay: 600ms; }
