/* Thriftbirch · IT-2 «Obiettivi»
   Approach: utility classes (u-*) + small components (c-*). 8px corners, 1px lines. */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --white: #FFFFFF;
  --ink: #1E1E24;
  --ink-2: #4B4B57;
  --ink-3: #6B6B78;
  --ink-soft: #2A2A32;
  --line: #E4E5E9;
  --line-dark: #34343D;
  --soft: #F5F6F7;
  --teal: #0EA5A4;
  --teal-ink: #08716F;
  --teal-soft: #E6F6F6;
  --coral: #FF6B5B;
  --coral-ink: #C2392A;
  --coral-soft: #FFEEEC;
  --r: 8px;
  --wrap: 1200px;
  --gutter: 20px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- utilities ---------- */
.u-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.u-flex { display: flex; }
.u-wrap-items { flex-wrap: wrap; }
.u-items-center { align-items: center; }
.u-items-end { align-items: flex-end; }
.u-items-baseline { align-items: baseline; }
.u-justify-between { justify-content: space-between; }
.u-gap-1 { gap: 8px; }
.u-gap-2 { gap: 12px; }
.u-gap-4 { gap: 24px; }
.u-mt-5 { margin-top: 32px; }
.u-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- skip link ---------- */
.c-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.c-skip:focus { top: 12px; }

/* ---------- buttons & links ---------- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r);
  font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.c-btn:active { transform: translateY(1px); }
.c-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.c-btn--block { display: flex; width: 100%; white-space: normal; }
.c-btn--teal { background: var(--teal); color: var(--ink); }
.c-btn--teal:hover { background: #12B8B7; }
.c-btn--ink { background: var(--ink); color: var(--white); }
.c-btn--ink:hover { background: #33333C; }
.c-btn--line { background: var(--white); color: var(--ink); border-color: #C9CAD1; }
.c-btn--line:hover { border-color: var(--ink); }
.c-btn--ghost-ink { background: transparent; color: var(--ink); border-color: rgba(30, 30, 36, .35); }
.c-btn--ghost-ink:hover { border-color: var(--ink); }

.c-link { font-weight: 600; text-decoration: none; }
.c-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-link--teal { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }

.c-icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid #C9CAD1; border-radius: var(--r); background: var(--white); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.c-icon-btn:hover { border-color: var(--ink); }
.c-icon-btn:disabled { opacity: .35; cursor: default; border-color: #C9CAD1; }

/* ---------- logo ---------- */
.c-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.c-logo__mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 6px; }
.c-logo__mark i { display: block; width: 4px; border-radius: 1px; background: var(--teal); }
.c-logo__mark i:nth-child(1) { height: 6px; }
.c-logo__mark i:nth-child(2) { height: 10px; }
.c-logo__mark i:nth-child(3) { height: 15px; background: var(--coral); }
.c-logo__word { font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.c-logo--light { color: var(--white); }
.c-logo--light .c-logo__mark { background: var(--white); }

/* ---------- header ---------- */
.c-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.c-head__bar { height: 64px; }
.c-nav { display: none; }
.c-nav__list a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.c-nav__list a:hover { color: var(--ink); background: var(--soft); }
.c-burger { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.c-burger__lines, .c-burger__lines::before, .c-burger__lines::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.c-burger__lines { position: relative; }
.c-burger__lines::before, .c-burger__lines::after { content: ""; position: absolute; left: 0; }
.c-burger__lines::before { top: -6px; }
.c-burger__lines::after { top: 6px; }
.c-burger[aria-expanded="true"] .c-burger__lines { background: transparent; }
.c-burger[aria-expanded="true"] .c-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.c-burger[aria-expanded="true"] .c-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

.c-head.is-open .c-nav {
  display: block; position: absolute; left: 0; right: 0; top: 64px;
  background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
}
.c-head.is-open .c-nav__list { flex-direction: column; gap: 0; }
.c-head.is-open .c-nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; color: var(--ink); }
.c-head.is-open .c-nav__list a:hover { background: none; }
.c-head.is-open .c-nav__actions { margin-top: 16px; justify-content: space-between; }

@media (min-width: 960px) {
  .c-burger { display: none; }
  .c-nav { display: flex; align-items: center; gap: 28px; }
}

/* ---------- type ---------- */
.c-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.c-eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.c-display { margin-top: 22px; font-size: clamp(38px, 9vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.c-p { margin-left: -.09em; }
.c-mark { color: var(--teal-ink); background: linear-gradient(transparent 72%, var(--teal-soft) 72%, var(--teal-soft) 94%, transparent 94%); }
.c-lead { margin-top: 22px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.c-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.c-kicker--light { color: var(--teal); }
.c-h2 { margin-top: 10px; font-size: clamp(30px, 5.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.c-h2__num { color: var(--teal-ink); white-space: nowrap; }
.c-h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
.c-sub { margin-top: 14px; max-width: 560px; font-size: 17px; color: var(--ink-2); }
.c-note { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.c-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.c-ticks li { display: flex; align-items: center; gap: 8px; }
.c-ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-2px); }

/* ---------- hero ---------- */
.c-hero { position: relative; padding: 40px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden; }
.c-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.c-hero__grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 960px) {
  .c-hero { padding: 72px 0 96px; }
  .c-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
}

/* ---------- GoalSlider ---------- */
.c-goal {
  position: relative; color: var(--white); background: var(--ink); border-radius: var(--r);
  padding: 22px 20px 20px; display: grid; gap: 22px;
  box-shadow: 0 40px 80px -40px rgba(14, 165, 164, .55), 0 2px 0 rgba(0,0,0,.04);
}
.c-goal::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(90deg, var(--teal) 0 70%, var(--coral) 70% 100%); }
@media (min-width: 600px) { .c-goal { padding: 28px 28px 24px; } }
.c-goal__title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.c-goal__badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); border: 1px solid rgba(255, 107, 91, .45); padding: 3px 8px; border-radius: 4px; }
.c-goal__presets { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.c-chip { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 6px; background: transparent; color: #D6D6DD; font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background-color .2s; }
.c-chip:hover { border-color: #5A5A66; color: var(--white); }
.c-chip[aria-pressed="true"] { border-color: var(--teal); color: var(--white); background: rgba(14, 165, 164, .16); }

.c-range__label { font-size: 14px; font-weight: 600; color: #B9B9C3; }
.c-range__value { font-size: 20px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.c-range__scale { display: flex; justify-content: space-between; font-size: 12px; color: #8C8C98; }
.c-range input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 8px 0 2px; background: transparent; cursor: pointer;
}
.c-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--teal) 0 var(--fill), #3A3A44 var(--fill) 100%);
}
.c-range input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: #3A3A44; }
.c-range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--teal); }
.c-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 6px;
  background: var(--white); border: 0; box-shadow: 0 0 0 5px rgba(14, 165, 164, .35);
  transition: box-shadow .15s;
}
.c-range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 6px; background: var(--white); border: 0; box-shadow: 0 0 0 5px rgba(14, 165, 164, .35); }
.c-range input[type="range"]:focus-visible { outline: none; }
.c-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--teal); }
.c-range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--teal); }

.c-goal__result { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--r); background: #25252C; }
@media (min-width: 480px) { .c-goal__result { grid-template-columns: auto 1fr; align-items: end; } }
.c-goal__kicker { font-size: 13px; font-weight: 600; color: #B9B9C3; }
.c-goal__sum { margin-top: 2px; display: flex; align-items: baseline; gap: 6px; font-size: clamp(44px, 12vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--teal); font-variant-numeric: tabular-nums; }
.c-goal__sum small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: #B9B9C3; }
.c-goal__meta { margin-top: 10px; font-size: 13px; color: #B9B9C3; }
.c-goal__meta span { color: var(--white); font-weight: 600; }
.c-goal__bars { display: flex; align-items: flex-end; gap: 2px; height: 72px; min-width: 0; }
.c-goal__bars span { flex: 1 1 0; min-width: 1px; border-radius: 2px 2px 0 0; background: #3E3E48; transition: height .3s var(--ease), background-color .3s; }
.c-goal__bars span:last-child { background: var(--coral); }
.c-goal__bars span.is-on { background: var(--teal); }
.c-goal__note { font-size: 12px; line-height: 1.5; color: #9A9AA6; }

/* ---------- sections ---------- */
.c-sec { padding: 72px 0; }
.c-sec--soft { background: var(--soft); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.c-sec--ink { background: var(--ink); color: var(--white); }
.c-sec__head { margin-bottom: 36px; }
.c-sec__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 960px) { .c-sec { padding: 112px 0; } .c-sec__head { margin-bottom: 48px; } }

/* ---------- carousel ---------- */
.c-carousel { position: relative; }
.c-carousel__nav { flex: none; }
@media (max-width: 599px) { .c-carousel__nav { display: none; } .c-sec__head.u-flex { display: block; } }
.c-carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 16px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.c-carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .c-carousel__track { grid-auto-columns: 300px; } }
.c-goalcard {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.c-goalcard:hover { border-color: #BFC0C7; }
.c-goalcard__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-soft); padding: 4px 8px; border-radius: 4px; }
.c-goalcard__tag--coral { color: var(--coral-ink); background: var(--coral-soft); }
.c-goalcard__title { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 750; min-height: 50px; }
.c-goalcard__data { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-goalcard__data div { padding: 10px 0; }
.c-goalcard__data div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.c-goalcard__data dt { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.c-goalcard__data dd { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.c-goalcard__rate { font-size: 15px; color: var(--ink-2); }
.c-goalcard__rate strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-right: 4px; }
.c-goalcard__use { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--teal-ink); }
.c-goalcard__use::after { content: "→"; transition: transform .2s var(--ease); }
.c-goalcard__use:hover::after { transform: translateX(3px); }

/* ---------- split (where) ---------- */
.c-split { display: grid; gap: 48px; }
@media (min-width: 960px) { .c-split { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; } }
.c-where { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.c-where__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.c-where__name { display: flex; flex-direction: column; font-weight: 700; line-height: 1.35; }
.c-where__name small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.c-where__gain { flex: none; font-weight: 800; font-size: 15px; color: var(--coral-ink); background: var(--coral-soft); padding: 4px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.c-where .c-note { padding: 12px 18px; }

/* ---------- media frames ---------- */
.c-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 40px 20px; border-radius: var(--r); }
.c-stage--teal { background: linear-gradient(160deg, #0EA5A4 0%, #0B8C8B 100%); }
.c-stage--duo { gap: 16px; padding: 32px 16px; background: var(--white); border: 1px solid var(--line); }
.c-stage--duo .c-shot--mob { width: calc(50% - 8px); max-width: 260px; }

/* Screenshot del cliente: sempre interi e in proporzione; cornice solo via CSS */
.c-shot { display: block; width: 100%; height: auto; max-width: 100%; }
.c-shot--mob {
  position: relative; max-width: 300px; border-radius: 34px; background: #fff;
  outline: 1px solid rgba(255, 255, 255, .55); outline-offset: -1px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 30px 60px -18px rgba(8, 40, 40, .55), 0 10px 22px -12px rgba(8, 40, 40, .35);
  transition: transform .4s var(--ease);
}
.c-stage--teal { padding: 56px 24px; overflow: hidden; }
.c-stage--teal::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); pointer-events: none; }
.c-stage--teal .c-shot--mob { transform: rotate(-2deg); }
.c-stage--teal:hover .c-shot--mob { transform: rotate(0deg) translateY(-4px); }
.c-stage--duo .c-shot--mob { border-radius: 26px; outline-color: var(--line); box-shadow: 0 24px 40px -22px rgba(30, 30, 36, .4); }
.c-shot--framed { box-shadow: none; outline: 0; }
@media (prefers-reduced-motion: reduce) { .c-stage--teal .c-shot--mob { transform: none; } }
.c-media { box-shadow: 0 32px 64px -32px rgba(30, 30, 36, .28); }

/* ---------- steps (timeline) ---------- */
.c-steps { margin-top: 48px; display: grid; gap: 0; counter-reset: none; }
.c-steps__item { position: relative; padding: 0 0 36px 64px; }
.c-steps__item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line-dark); }
.c-steps__item:last-child { padding-bottom: 0; }
.c-steps__item:last-child::before { display: none; }
.c-steps__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #4A4A55; border-radius: var(--r); font-weight: 800; font-size: 14px; color: var(--teal); background: var(--ink); }
.c-steps__item:last-child .c-steps__num { color: var(--ink); background: var(--coral); border-color: var(--coral); }
.c-steps__title { font-size: 20px; line-height: 1.3; font-weight: 750; letter-spacing: -.015em; padding-top: 8px; }
.c-steps__item p { margin-top: 8px; color: #C4C4CD; max-width: 360px; }
@media (min-width: 860px) {
  .c-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
  .c-steps__item { padding: 72px 0 0; }
  .c-steps__item::before { left: 56px; right: -32px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .c-steps__item:last-child::before { display: block; right: 0; background: linear-gradient(to right, var(--line-dark), transparent); }
  .c-steps__title { padding-top: 0; }
}

/* ---------- tabs ---------- */
.c-tabs__list { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); overflow-x: auto; scrollbar-width: none; max-width: 100%; width: max-content; }
.c-tabs__list::-webkit-scrollbar { display: none; }
@media (max-width: 599px) {
  .c-tabs__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .c-tabs__tab { padding: 8px 10px; }
}
.c-tabs__tab { flex: none; min-height: 40px; padding: 8px 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 15px; font-weight: 650; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.c-tabs__tab:hover { color: var(--ink); }
.c-tabs__tab[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(30,30,36,.06); }
.c-tabs__panel { margin-top: 32px; }
.c-tabs__panel:focus-visible { outline-offset: 8px; }
.c-panel { display: grid; gap: 32px; }
@media (min-width: 960px) { .c-panel { grid-template-columns: 340px 1fr; gap: 64px; align-items: center; } }
.c-panel__text p { margin-top: 12px; color: var(--ink-2); }
.c-list { margin-top: 20px; display: grid; gap: 10px; }
.c-list li { position: relative; padding-left: 26px; font-weight: 600; font-size: 15px; }
.c-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--teal); }
.is-entering { animation: enter .35s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- pricing ---------- */
.c-toggle { margin-top: 28px; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.c-toggle__opt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 6px; background: transparent; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.c-toggle__opt[aria-checked="true"] { background: var(--ink); color: var(--white); }
.c-toggle__save { font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: var(--coral); color: var(--ink); }

.c-plans { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
@media (min-width: 760px) { .c-plans { grid-template-columns: 1fr 1fr; gap: 20px; } }
.c-plan { display: flex; flex-direction: column; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.c-plan__name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.c-plan__desc { margin-top: 6px; color: var(--ink-2); font-size: 15px; min-height: 48px; }
.c-plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.c-plan__amount { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.c-plan__per { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.c-plan__sub { margin: 8px 0 24px; font-size: 14px; color: var(--ink-3); min-height: 22px; }
.c-plan__feats { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.c-plan__feats li { display: flex; gap: 10px; align-items: baseline; }
.c-plan__feats li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg) translateY(-3px); }
.c-plan--hot { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(14, 165, 164, .55); position: relative; }
.c-plan--hot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r) var(--r) 0 0; background: var(--teal); }
.c-plan--hot .c-plan__desc, .c-plan--hot .c-plan__per, .c-plan--hot .c-plan__sub { color: #BDBDC7; }
.c-plan--hot .c-plan__amount { color: var(--white); }
.c-plan--hot .c-plan__feats { border-top-color: var(--line-dark); }
.c-plan--hot .c-plan__feats li::before { border-color: var(--teal); }
.c-plan__flag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--coral); padding: 3px 8px; border-radius: 4px; }

.c-honest { max-width: 860px; margin: 24px auto 0; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--r); background: var(--white); font-size: 15px; color: var(--ink-2); }
.c-honest svg { flex: none; color: var(--teal-ink); margin-top: 2px; }
.c-honest strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.c-faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .c-faq-grid { grid-template-columns: 360px 1fr; gap: 72px; } }
.c-faq { border-top: 1px solid var(--line); }
.c-faq__item { border-bottom: 1px solid var(--line); }
.c-faq__item summary { position: relative; display: block; padding: 20px 44px 20px 0; font-weight: 700; font-size: 17px; line-height: 1.4; cursor: pointer; list-style: none; }
.c-faq__item summary::-webkit-details-marker { display: none; }
.c-faq__item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat; transition: transform .2s var(--ease); }
.c-faq__item[open] summary::after { background: linear-gradient(var(--white), var(--white)) center / 10px 2px no-repeat; background-color: var(--teal-ink); border-color: var(--teal-ink); }
.c-faq__item summary:hover { color: var(--teal-ink); }
.c-faq__item p { padding: 0 44px 22px 0; color: var(--ink-2); }

/* ---------- final CTA ---------- */
.c-final { background: var(--coral); color: var(--ink); }
.c-final__inner { display: grid; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.c-final__title { font-size: clamp(28px, 5vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.c-final p { margin-top: 10px; font-size: 17px; }
@media (min-width: 960px) { .c-final__inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }

/* ---------- footer ---------- */
.c-foot { background: var(--ink); color: #C4C4CD; padding: 64px 0 32px; font-size: 15px; }
.c-foot__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.c-foot__brand { grid-column: 1 / -1; }
.c-foot__brand p { margin-top: 14px; max-width: 300px; }
@media (min-width: 860px) { .c-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .c-foot__brand { grid-column: auto; } }
.c-foot__h { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.c-foot ul { display: grid; gap: 8px; }
.c-foot a, .c-foot__btn { color: #C4C4CD; text-decoration: none; }
.c-foot a:hover, .c-foot__btn:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.c-foot__btn { padding: 0; border: 0; background: none; font-size: 15px; text-align: left; }
.c-foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: 13px; color: #9A9AA6; }
@media (min-width: 860px) { .c-foot__legal { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- cookie banner ---------- */
.c-cookie {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px;
  max-width: 440px; padding: 22px 20px 20px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 24px 60px -20px rgba(30, 30, 36, .35);
  max-height: calc(100vh - 24px); overflow-y: auto;
}
@media (min-width: 600px) { .c-cookie { left: 24px; bottom: 24px; right: auto; } }
.c-cookie__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); }
.c-cookie__close:hover { background: var(--soft); color: var(--ink); }
.c-cookie__title { font-size: 17px; font-weight: 800; }
.c-cookie__text { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); padding-right: 8px; }
.c-cookie__prefs { margin-top: 16px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.c-cookie__actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-cookie__more { grid-column: 1 / -1; min-height: 40px; border: 0; background: none; font-weight: 700; font-size: 14px; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.c-cookie__actions [data-cookie="save"] { grid-column: 1 / -1; }

.c-switch { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.c-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-switch__ui { flex: none; position: relative; width: 38px; height: 22px; margin-top: 2px; border-radius: 11px; background: #CFD1D6; transition: background-color .2s; }
.c-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.c-switch input:checked + .c-switch__ui { background: var(--teal-ink); }
.c-switch input:checked + .c-switch__ui::after { transform: translateX(16px); }
.c-switch input:disabled + .c-switch__ui { opacity: .6; }
.c-switch input:focus-visible + .c-switch__ui { outline: 2px solid var(--teal); outline-offset: 2px; }
.c-switch strong { display: block; font-size: 14px; }
.c-switch small { display: block; font-size: 13px; color: var(--ink-3); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
img.is-missing { visibility: hidden; }

/* =====================================================================
   Stage 2 · inner pages, forms, account area
   ===================================================================== */

.u-mt-2 { margin-top: 12px; }
.u-mt-3 { margin-top: 20px; }
.u-center { text-align: center; }
.c-nav__list a[aria-current="page"] { color: var(--ink); background: var(--soft); }

/* ---------- page head ---------- */
.c-pagehead { position: relative; padding: 48px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.c-pagehead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.c-pagehead .u-wrap { position: relative; }
.c-title { margin-top: 14px; font-size: clamp(34px, 7vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; max-width: 820px; }
.c-pagehead .c-lead { margin-top: 16px; max-width: 640px; }
.c-updated { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 960px) { .c-pagehead { padding: 72px 0 56px; } }

/* ---------- prose (legal + info) ---------- */
.c-doc { display: grid; gap: 32px; padding: 48px 0 88px; }
@media (min-width: 960px) { .c-doc { grid-template-columns: 240px minmax(0, 760px); gap: 72px; padding: 72px 0 112px; } }
.c-toc { align-self: start; font-size: 14px; }
@media (min-width: 960px) { .c-toc { position: sticky; top: 96px; } }
.c-toc__h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.c-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.c-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.c-toc a:hover { color: var(--ink); border-left-color: var(--teal); }
@media (max-width: 959px) { .c-toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); } .c-toc ol { border: 0; } .c-toc a { padding-left: 0; border: 0; } }

.c-prose { min-width: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.c-prose > * + * { margin-top: 14px; }
.c-prose h2 { margin-top: 48px; color: var(--ink); font-size: 24px; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; scroll-margin-top: 96px; }
.c-prose h2:first-child { margin-top: 0; }
.c-prose h3 { margin-top: 28px; color: var(--ink); font-size: 18px; font-weight: 750; }
.c-prose strong { color: var(--ink); }
.c-prose a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.c-prose ul { display: grid; gap: 8px; }
.c-prose ul li { position: relative; padding-left: 22px; }
.c-prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--teal); }
.c-prose .c-box { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--r); background: var(--soft); color: var(--ink-2); }
.c-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.c-table th, .c-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.c-table th { color: var(--ink); font-weight: 700; background: var(--soft); }
.c-table code, .c-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--soft); color: var(--ink); word-break: break-all; }
.c-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.c-scroll .c-table tr:last-child td { border-bottom: 0; }

/* ---------- feature grid (info pages) ---------- */
.c-grid3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .c-grid3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.c-tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.c-tile__num { font-size: 13px; font-weight: 800; color: var(--teal-ink); letter-spacing: .06em; }
.c-tile h3 { margin-top: 10px; font-size: 19px; line-height: 1.3; font-weight: 750; letter-spacing: -.015em; color: var(--ink); }
.c-tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- auth layout ---------- */
.c-auth { padding: 40px 0 88px; }
.c-auth__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .c-auth { padding: 64px 0 112px; } .c-auth__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; } }
.c-auth__grid--narrow { max-width: 480px; margin: 0 auto; grid-template-columns: 1fr !important; }
.c-card { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
@media (min-width: 600px) { .c-card { padding: 32px; } }
.c-card__title { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.c-card__sub { margin-top: 8px; color: var(--ink-2); }
.c-switchline { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* ---------- form ---------- */
.c-form { display: grid; gap: 18px; margin-top: 24px; }
.c-field { display: grid; gap: 6px; }
.c-field__label { font-size: 14px; font-weight: 700; color: var(--ink); }
.c-field__hint { font-size: 13px; color: var(--ink-3); }
.c-input, .c-select, .c-textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #C9CAD1; border-radius: var(--r); background: var(--white); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.c-textarea { min-height: 140px; resize: vertical; }
.c-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231E1E24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.c-input:hover, .c-select:hover, .c-textarea:hover { border-color: #A9AAB3; }
.c-input:focus, .c-select:focus, .c-textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(14, 165, 164, .22); }
.c-input[aria-invalid="true"], .c-select[aria-invalid="true"], .c-textarea[aria-invalid="true"] { border-color: var(--coral-ink); }
.c-field__err { font-size: 13px; font-weight: 600; color: var(--coral-ink); }
.c-field__err:empty { display: none; }

.c-pass { position: relative; }
.c-pass .c-input { padding-right: 96px; }
.c-pass__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; font-size: 14px; font-weight: 700; color: var(--teal-ink); }
.c-pass__toggle:hover { background: var(--soft); }

.c-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.c-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-ink); cursor: pointer; }
.c-consent a { color: var(--teal-ink); font-weight: 600; }
.c-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.c-alert { padding: 14px 16px; border: 1px solid #F5C4BE; border-left: 3px solid var(--coral-ink); border-radius: var(--r); background: var(--coral-soft); color: #7A2017; font-size: 15px; font-weight: 600; }
.c-alert--ok { border-color: #BFE6E5; border-left-color: var(--teal-ink); background: var(--teal-soft); color: #064E4D; }
.c-alert:empty { display: none; }

.c-btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.c-btn:disabled { cursor: not-allowed; opacity: .55; }
.c-btn--danger { background: var(--white); color: var(--coral-ink); border-color: #E7A59D; }
.c-btn--danger:hover { border-color: var(--coral-ink); }
.c-btn--danger-solid { background: var(--coral-ink); color: var(--white); }
.c-btn--danger-solid:hover { background: #A82E21; }

/* ---------- plan picker ---------- */
.c-planpick { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.c-planpick legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.c-planopt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid #C9CAD1; border-radius: var(--r); background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.c-planopt:hover { border-color: #A9AAB3; }
.c-planopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal-ink); }
.c-planopt__name { font-weight: 750; }
.c-planopt__name small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.c-planopt__price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-planopt__price small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.c-planopt:has(input:checked) { border-color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal-ink); background: #F7FCFC; }
.c-planopt:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- summary aside (dark) ---------- */
.c-summary { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--ink); color: var(--white); box-shadow: 0 40px 80px -40px rgba(14, 165, 164, .55); }
.c-summary::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(90deg, var(--teal) 0 70%, var(--coral) 70% 100%); }
.c-summary__k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.c-summary__plan { margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.c-summary__price { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.c-summary__price strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--teal); font-variant-numeric: tabular-nums; }
.c-summary__price span { color: #B9B9C3; font-weight: 600; }
.c-summary__note { margin-top: 8px; font-size: 14px; color: #B9B9C3; min-height: 21px; }
.c-summary__list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; font-size: 15px; color: #E3E3E8; }
.c-summary__list li { display: flex; gap: 10px; align-items: baseline; }
.c-summary__list li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.c-summary__free { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--r); background: #25252C; font-size: 14px; color: #D6D6DD; }
.c-summary__free strong { color: var(--white); }

/* ---------- account area ---------- */
.c-area { padding: 40px 0 88px; }
@media (min-width: 960px) { .c-area { padding: 56px 0 112px; } }
.c-area__top { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.c-area__hello { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.c-area__email { margin-top: 6px; color: var(--ink-3); font-size: 15px; word-break: break-all; }
.c-area__grid { margin-top: 32px; display: grid; gap: 20px; }
@media (min-width: 960px) { .c-area__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; } }

.c-build { position: relative; padding: 28px 22px; border-radius: var(--r); background: var(--ink); color: var(--white); overflow: hidden; }
@media (min-width: 600px) { .c-build { padding: 36px; } }
.c-build::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--coral) 70% 100%); }
.c-build__badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid rgba(255, 107, 91, .5); border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.c-build__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
.c-build__title { margin-top: 18px; font-size: clamp(24px, 4.5vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.c-build__text { margin-top: 10px; max-width: 560px; color: #C4C4CD; }
.c-build__meter { margin-top: 28px; }
.c-build__row { display: flex; justify-content: space-between; font-size: 14px; color: #B9B9C3; font-weight: 600; }
.c-build__row strong { color: var(--white); font-variant-numeric: tabular-nums; }
.c-build__bar { position: relative; margin-top: 10px; height: 10px; border-radius: 5px; background: #34343D; overflow: hidden; }
.c-build__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 5px; background: linear-gradient(90deg, var(--teal), #3CCFCD); animation: indet 2.2s var(--ease) infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(265%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.c-steplist { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.c-steplist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; }
.c-steplist__icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; border: 1px solid #4A4A55; }
.c-steplist__state { font-size: 13px; font-weight: 700; color: #9A9AA6; }
.is-done .c-steplist__icon { border-color: var(--teal); background: var(--teal); }
.is-done .c-steplist__icon::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.is-done .c-steplist__state { color: var(--teal); }
.is-active .c-steplist__icon { border-color: var(--coral); }
.is-active .c-steplist__icon::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
.is-active .c-steplist__state { color: var(--coral); }
.is-todo { color: #9A9AA6; }

.c-build__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.c-build__msg { flex-basis: 100%; font-size: 14px; color: var(--teal); font-weight: 600; }
.c-build__msg:empty { display: none; }

.c-side { display: grid; gap: 16px; }
.c-kv { display: grid; gap: 0; margin-top: 12px; }
.c-kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.c-kv div:last-child { border-bottom: 0; }
.c-kv dt { color: var(--ink-3); }
.c-kv dd { font-weight: 700; text-align: right; word-break: break-word; }
.c-card__h { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.c-card p.c-small { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.c-skeleton { display: inline-block; min-width: 6ch; border-radius: 4px; background: var(--soft); color: transparent; }

/* ---------- dialog ---------- */
.c-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: 0 32px 80px -24px rgba(30, 30, 36, .5); }
.c-dialog::backdrop { background: rgba(30, 30, 36, .55); }
.c-dialog__body { padding: 24px 22px; }
.c-dialog__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.c-dialog__text { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.c-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ---------- 404 ---------- */
.c-nf { padding: 80px 0 120px; text-align: center; }
.c-nf__code { font-size: clamp(88px, 22vw, 168px); line-height: 1; font-weight: 800; letter-spacing: -.06em; color: var(--ink); }
.c-nf__code span { color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  .c-build__badge::before, .is-active .c-steplist__icon::after { animation: none; }
  .c-build__fill { animation: none; transform: none; width: 60%; }
}

/* ---------- c-contacts ---------- */
.c-contacts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); width: fit-content; max-width: 100%; }
.c-contacts li { padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.c-contacts li + li { border-left: 1px solid var(--line); }
.c-contacts a { color: var(--teal-ink); text-decoration: none; }
.c-contacts a:hover { text-decoration: underline; }
@media (max-width: 640px) { .c-contacts { flex-direction: column; width: 100%; } .c-contacts li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ==== footer v2 ==== */
/* ---------- c-end (footer) ---------- */
.c-end { background: var(--white); border-top: 1px solid var(--line); color: var(--ink-2); }
.c-end__cta { display: grid; gap: 24px; align-items: end; padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .c-end__cta { grid-template-columns: 1fr auto; padding: 72px 0 48px; } }
.c-end__title { margin: 0; color: var(--ink); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.03em; }
.c-end__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.c-end__mid { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .c-end__mid { grid-template-columns: auto 1fr; align-items: center; } }
.c-end__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
@media (min-width: 900px) { .c-end__links { justify-content: flex-end; } }
.c-end__links a { position: relative; padding: 4px 0; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.c-end__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.c-end__links a:hover { color: var(--teal-ink); }
.c-end__links a:hover::after { transform: scaleX(1); }
.c-end__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 20px 0 28px; font-size: 13px; color: var(--ink-3); }
.c-end__bar p { margin: 0; line-height: 1.6; }
.c-end__bar p a { color: var(--teal-ink); }
.c-end__legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.c-end__legal a, .c-end__btn { color: var(--ink-2); text-decoration: none; }
.c-end__legal a:hover, .c-end__btn:hover { color: var(--teal-ink); text-decoration: underline; }
.c-end__btn { background: none; border: 0; padding: 0; font: inherit; line-height: inherit; cursor: pointer; }
