/* Home page. */

/* Hero */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-block: calc(var(--header-h) + clamp(24px, 3.2vw, 52px)) clamp(40px, 5vw, 72px); overflow: clip; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 25%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 85% at 70% 25%, #000 15%, transparent 72%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; top: -260px; right: -220px; width: 980px; height: 760px; pointer-events: none;
  background: radial-gradient(closest-side at 55% 45%, color-mix(in srgb, var(--violet) 22%, transparent), transparent),
              radial-gradient(closest-side at 30% 78%, color-mix(in srgb, var(--lime) 20%, transparent), transparent 80%);
  filter: blur(24px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero-copy { padding-top: clamp(4px, 2vw, 36px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 24px; padding: 7px 16px 7px 14px;
  border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow-sm); color: var(--ink-2); font-size: .875rem; font-weight: 500; line-height: 1.3;
}
.kicker-led, .ticket-led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 30%, transparent), 0 0 12px color-mix(in srgb, var(--lime) 80%, transparent); }
.display { font-size: clamp(2.375rem, 1.15rem + 4.2vw, 4.875rem); font-weight: 800; letter-spacing: -.05em; line-height: .98; }
.display strong {
  font-weight: 800; color: var(--violet);
  background: linear-gradient(100deg, var(--violet) 0%, #9C90FF 45%, var(--violet) 90%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-intro { max-width: 34em; margin: 22px 0 28px; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 78%, transparent); box-shadow: var(--highlight), var(--shadow-sm); }
.hero-spec > div { min-width: 0; padding: 12px 16px 13px; }
.hero-spec > div + div { border-left: 1px dashed var(--line-2); }
.hero-spec dt { color: var(--ink); font: 700 1rem/1.3 var(--font-display); letter-spacing: -.01em; }
.hero-spec dt::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--violet); }
.hero-spec dd { margin: 2px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; }
.hero-meta .icon { color: var(--violet-text); }

/* Quote ticket */
.hero-visual { position: relative; }
.ticket { position: relative; padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--highlight), var(--shadow-lg); }
.ticket::before {
  content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ring-angle), transparent 0 62%, color-mix(in srgb, var(--violet) 75%, transparent) 76%, var(--lime) 85%, transparent 93%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring-spin 10s linear infinite;
}
.ticket-head { display: flex; align-items: center; min-height: 24px; margin-bottom: 10px; padding-right: 96px; }
.ticket-ref { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.ticket-no { padding: 1px 7px; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--faint); letter-spacing: .06em; font-variant-numeric: tabular-nums slashed-zero; }
.ticket-led { width: 7px; height: 7px; animation: pulse-dot 2s ease-in-out infinite; }
.ticket-title { margin-bottom: 18px; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); }
.ticket-perf { position: relative; height: 1px; margin: 22px -24px 18px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0 / 10px 1px repeat-x; }
.ticket-perf::before, .ticket-perf::after { content: ''; position: absolute; top: -11px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); }
.ticket-perf::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket-perf::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ticket-track li { display: grid; gap: 8px; min-width: 0; color: var(--faint); font-size: .875rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.ticket-track li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); }
.ticket-track li[aria-current] { color: var(--ink); font-weight: 650; }
.ticket-track li[aria-current]::before { background: linear-gradient(90deg, var(--violet), #9C90FF); box-shadow: 0 0 12px color-mix(in srgb, var(--violet) 45%, transparent); }
.ticket-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px; }
.ticket-note { display: flex; align-items: center; gap: 10px; flex: 1 1 200px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.ticket-note .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--lime-soft); color: var(--lime-text); stroke-width: 2.5; }
.ticket-warranty {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px;
  border-radius: 10px; background: var(--lime-soft); color: var(--lime-text); font-size: .875rem; line-height: 1.25; transition: background-color .2s;
}
.ticket-warranty > span { display: grid; }
.ticket-warranty strong { font-size: .875rem; }
.ticket-warranty small { font-size: .875rem; opacity: .85; }
.ticket-warranty:hover { background: color-mix(in srgb, var(--lime) 40%, var(--lime-soft)); }
.ticket-seal { position: absolute; top: -44px; right: -30px; z-index: 2; width: 132px; height: 132px; pointer-events: none; filter: drop-shadow(0 12px 22px rgba(40, 56, 0, .22)); }


/* Two main directions side by side (social violet, SEO lime), add-ons in one row below. */
.directions { position: relative; z-index: 1; padding-block: 8px 0; scroll-margin-top: var(--header-h); }
.direction-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.direction-card {
  --accent: var(--violet); --accent-soft: var(--violet-soft); --accent-text: var(--violet-text);
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(22px, 2.6vw, 32px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--highlight), var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.direction-seo { --accent: var(--lime); --accent-soft: var(--lime-soft); --accent-text: var(--lime-text); }
.direction-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 85%); }
.direction-card .direction-head { display: flex; align-items: center; gap: 12px; }
.direction-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.direction-kind { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: .9375rem; font-weight: 650; }
.direction-title { font: 750 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.12 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.direction-text { max-width: 46ch; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.direction-marks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.direction-marks .platform-mark { width: 40px; height: 40px; }
.direction-path { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-block: 12px 8px; }
.direction-path span { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--lime) calc(30% + var(--i, 0) * 10%), var(--line)); }
.direction-path span:nth-child(1) { --i: 7; } .direction-path span:nth-child(2) { --i: 6; } .direction-path span:nth-child(3) { --i: 5; }
.direction-path span:nth-child(4) { --i: 4; } .direction-path span:nth-child(5) { --i: 3; } .direction-path span:nth-child(6) { --i: 2; } .direction-path span:nth-child(7) { --i: 1; }
.direction-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.direction-facts { color: var(--muted); font-size: .875rem; }
.direction-facts b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.direction-go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: .9375rem; font-weight: 650; }
.direction-go .icon { transition: transform .2s var(--ease); }
.direction-card:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
@media (hover: hover) {
  .direction-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--highlight), var(--shadow-lg); transform: translateY(-2px); }
  .direction-card:hover .direction-go .icon { transform: translateX(3px); }
}
.direction-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.direction-extra-label { margin-right: 4px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.direction-extra a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: .9375rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: color .15s, border-color .15s; }
.direction-extra a .icon { color: var(--violet-text); }
.direction-extra a:hover { border-color: var(--line-2); color: var(--ink); }

/* Section identities: social keeps violet, SEO sits on a faint lime band with lime stage numbers. */
.section.section-seo { padding-top: clamp(36px, 4.5vw, 64px); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--lime-soft) 55%, transparent) 18%, color-mix(in srgb, var(--lime-soft) 35%, transparent) 82%, transparent); }
.section-seo .section-pill { color: var(--lime-text); }

/* Social price sheet */
.price-sheet { border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--highlight), var(--shadow); overflow: hidden; }
.sheet-row {
  display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(0, 1.3fr) minmax(160px, .7fr) auto; grid-template-areas: "id features price cta";
  align-items: center; gap: 16px 28px; padding: 22px 28px; border-radius: 0;
}
.sheet-row + .sheet-row { border-top: 1px solid var(--line-soft); }
.sheet-id { grid-area: id; display: flex; align-items: center; gap: 16px; min-width: 0; }
.sheet-id h3 { font-size: 1.125rem; }
.sheet-id h3 a { transition: color .15s; }
.sheet-id h3 a:hover { color: var(--violet-text); }
.sheet-id p { margin-top: 2px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.sheet-features { grid-area: features; display: grid; gap: 6px; }
.sheet-features li { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.sheet-features .icon { margin-top: 2px; color: var(--violet-text); }
.sheet-price { grid-area: price; }
.sheet-price strong { display: block; font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.035em; }
.sheet-price span { color: var(--muted); font-size: .875rem; }
.sheet-row > .button { grid-area: cta; }

/* Google SEO: seven stages as cards plus the audit call to action */
.seo-showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1120px) {
  .seo-rail { margin-inline: calc(var(--gutter) * -1); }
  .seo-showcase { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 18px; scrollbar-width: none; }
  .seo-showcase::-webkit-scrollbar { display: none; }
  .seo-stage-card { flex: none; width: min(78vw, 300px); scroll-snap-align: start; }
}
.seo-stage-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.seo-card-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lime-soft); color: var(--lime-text); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.seo-stage-card h3 { font-size: 1.125rem; line-height: 1.3; }
.seo-stage-card ul { display: grid; gap: 4px; }
.seo-stage-card li { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.seo-stage-card > p { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.seo-card-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.seo-card-foot strong { font: 800 1.25rem/1.15 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.seo-card-foot span { color: var(--muted); font-size: .875rem; }
.seo-stage-cta { border-color: var(--invert-bg); background: var(--invert-bg); color: var(--invert-ink); }
.seo-stage-cta .seo-card-num { background: var(--lime); color: var(--lime-ink); }
.seo-stage-cta h3 { color: var(--invert-ink); }
.seo-stage-cta > p { color: color-mix(in srgb, var(--invert-ink) 72%, transparent); }
.seo-stage-cta .seo-card-foot { border-top-color: color-mix(in srgb, var(--invert-ink) 22%, transparent); }
.seo-stage-cta .seo-card-foot strong { color: var(--invert-ink); font-size: 1.0625rem; letter-spacing: -.01em; }
@media (hover: hover) {
  .seo-stage-card:hover { border-color: color-mix(in srgb, var(--lime) 50%, var(--line)); box-shadow: var(--highlight), var(--shadow-lg); transform: translateY(-2px); }
  .seo-stage-cta:hover { border-color: var(--invert-bg); }
}
.seo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.seo-actions-note { color: var(--muted); font-size: .875rem; }
.seo-progress { display: none; }

/* Add-ons: development (with stage prices) and AI subscriptions, both secondary to the two directions above. */
.extras-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.extra-dev, .extra-ai { display: grid; gap: 16px; min-width: 0; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--highlight), var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.extra-dev { position: relative; isolation: isolate; overflow: hidden; }
.extra-dev::before { content: ''; position: absolute; inset: auto -20% -45% 30%; height: 80%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--violet) 14%, transparent), transparent); }
.extra-head { display: flex; align-items: center; gap: 14px; }
.extra-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--violet-soft); color: var(--violet-text); }
.extra-icon .icon { width: 22px; height: 22px; }
.extra-kind { color: var(--muted); font-size: .875rem; font-weight: 600; }
.extra-head h3 { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.25; }
.extra-head h3 a { transition: color .15s; }
.extra-head h3 a:hover { color: var(--violet-text); }
.extra-text { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.extra-dev-list { display: grid; border-top: 1px solid var(--line-soft); }
.extra-dev-list li { border-bottom: 1px solid var(--line-soft); }
.extra-dev-list a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 2px; color: var(--ink-2); font-weight: 600; transition: color .15s; }
.extra-dev-list a > .icon { color: var(--violet-text); }
.extra-dev-list strong { display: grid; justify-items: end; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.extra-dev-list strong small { color: var(--muted); font-size: .875rem; font-weight: 500; }
.extra-dev-list a:hover { color: var(--ink); }
.extra-dev > .button { justify-self: start; }
.extra-ai-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.extra-ai-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mark name" "mark note"; align-items: center; column-gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); transition: border-color .15s; }
.extra-ai-list .platform-mark { grid-area: mark; width: 36px; height: 36px; }
.extra-ai-list span { grid-area: name; min-width: 0; color: var(--ink); font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.extra-ai-list small { grid-area: note; color: var(--muted); font-size: .875rem; }
.extra-ai-list a:hover { border-color: var(--line-2); }
.extra-ai > .button { justify-self: start; }
.ai-section-note { max-width: 80ch; color: var(--muted); font-size: .875rem; }

/* Process band — always dark. A list of the four steps beside a sample request; with motion (below) it is a pinned scene. */
.process-band {
  --band: #0A0A12; --ink: #F2F2F7; --ink-2: #C9CAD6; --muted: #9EA0B4; --violet-text: #ABA5FF; --grid: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .14);
  position: relative; padding-block: clamp(64px, 8vw, 112px); background: var(--band); color: var(--ink); overflow: clip; isolation: isolate; scroll-margin-top: var(--header-h);
}
:root[data-theme="dark"] .process-band { --band: #0E0E16; border-block: 1px solid rgba(255, 255, 255, .08); }
.process-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 20% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 20% 100%, #000, transparent 70%);
}
.process-band::after { content: ''; position: absolute; z-index: -1; left: -200px; bottom: -320px; width: 760px; height: 560px; background: radial-gradient(closest-side, rgba(113, 102, 255, .32), transparent); pointer-events: none; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px clamp(32px, 6vw, 96px); }
.process-copy h2 { margin-bottom: clamp(28px, 4vh, 44px); color: #fff; }
.process-copy h2 span { color: var(--lime); }
.process-list { position: relative; display: grid; gap: clamp(14px, 2.4vh, 24px); }
.process-list::before { content: ''; position: absolute; top: 23px; bottom: 23px; left: 23px; width: 1px; background: linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .06)); }
.process-list li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 18px; }
.process-list li > div { padding-top: 10px; }
.track-node { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: var(--band); color: #fff; font: 700 .875rem/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.process-list li.is-agreed .track-node { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 6px rgba(200, 255, 61, .12), 0 0 28px rgba(200, 255, 61, .38); }
.process-list h3 { margin-bottom: 4px; color: #fff; font-size: 1.125rem; }
.process-list p { max-width: 46ch; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.process-aside { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(32px, 5vw, 56px); }
.process-aside p { max-width: 56ch; color: var(--ink-2); font-size: 1.0625rem; }

/* Sample request: the same ticket language as the hero, on the dark band. Without motion it shows the finished order. */
.process-ticket { position: relative; display: grid; gap: 16px; margin: 0; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-xl); background: linear-gradient(160deg, #17172A, #101019 60%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); }
.pt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 0 76px 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.pt-ref { color: var(--muted); font-size: .875rem; font-weight: 600; }
.pt-status { display: grid; justify-items: end; }
.pt-status > span { grid-area: 1 / 1; padding: 4px 12px; border-radius: 99px; background: rgba(200, 255, 61, .14); color: var(--lime); font-size: .875rem; font-weight: 650; white-space: nowrap; opacity: 0; }
.pt-status > span:last-child { opacity: 1; }
.pt-service { display: flex; align-items: center; gap: 14px; }
.pt-service strong { display: block; color: #fff; font: 700 1.125rem/1.25 var(--font-display); letter-spacing: -.02em; }
.pt-service span { color: var(--muted); font-size: .9375rem; }
/* Terms as rows, label left and value right: in three columns «в согласовании» and «критерий приёмки» broke onto two lines. */
.pt-terms { display: grid; margin: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); }
.pt-terms > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; padding: 9px 14px; }
.pt-terms > div + div { border-top: 1px dashed rgba(255, 255, 255, .14); }
.pt-terms dt { color: var(--muted); font-size: .875rem; }
.pt-terms dd { margin: 0; color: #fff; font-weight: 650; line-height: 1.3; text-align: right; white-space: nowrap; }
.pt-seal { position: absolute; top: -34px; right: -26px; width: 116px; height: 116px; pointer-events: none; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
.pt-action { display: grid; }
.pt-action > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 700; }
.pt-wait { border: 1px dashed rgba(255, 255, 255, .2); color: var(--muted); font-weight: 600; opacity: 0; }
.pt-pay { background: var(--lime); color: var(--lime-ink); opacity: 0; }
.pt-paid { border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.pt-report { display: grid; gap: 8px; color: var(--muted); font-size: .875rem; }
.pt-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pt-bar::after { content: ''; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lime)); transform-origin: left; }
.pt-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pt-track li { display: grid; gap: 8px; min-width: 0; color: var(--muted); font-size: .875rem; }
.pt-track li::before { content: ''; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet), #9C90FF); }
.pt-track li:nth-child(2)::before { background: var(--lime); }

/* Contact */
.home-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 32px 64px; padding-bottom: clamp(64px, 8vw, 104px); scroll-margin-top: calc(var(--header-h) + 24px); }
.home-contact h2 + p { max-width: 46ch; margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.contact-links { display: grid; justify-items: start; gap: 12px; }
.contact-email {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow);
  font: 700 1.25rem/1.25 var(--font-display); letter-spacing: -.02em; transition: border-color .2s;
}
.contact-email span { display: inline-flex; align-items: center; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.contact-email span .icon { color: var(--violet-text); }
.contact-email:hover { border-color: var(--violet-line); }
.contact-links .link-arrow { font-size: .9375rem; }

/* Below-the-fold sections render lazily; anchors above them stay exact. */
#faq, .closing-wrap, .home-contact { content-visibility: auto; contain-intrinsic-size: auto 720px; }

@media (max-width: 1120px) {
  .sheet-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id price cta" "features features features"; padding: 20px 24px; }
  .sheet-features { grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 6px 24px; padding-left: 56px; }
  .extras-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 600px; margin-top: 24px; }
  .direction-pair { grid-template-columns: minmax(0, 1fr); }
  .home-contact, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-ticket { max-width: 520px; }
}
@media (max-width: 720px) {
  .sheet-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id cta" "price price" "features features"; gap: 12px 16px; padding: 18px; }
  .sheet-id p { display: none; }
  .sheet-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-left: 56px; }
  .sheet-price strong { display: inline; font-size: 1.375rem; }
  .sheet-features { grid-template-columns: minmax(0, 1fr); padding-left: 56px; }
  .sheet-cta { width: 40px; min-height: 40px; padding: 0; }
  .sheet-cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 560px) {
  .hero-kicker { padding-left: 12px; font-size: .875rem; }
  .hero-meta, .hero-spec { display: none; }
  .hero-intro { margin: 18px 0 22px; }
  .hero-buttons .button { flex: 1 1 auto; }
  .hero-buttons .button-ghost { display: none; }
  .hero-buttons .button { flex: 1 1 auto; }
  .ticket { padding: 20px 18px 18px; }
  .ticket-perf { margin-inline: -18px; }
  .ticket-head { padding-right: 64px; }
  .ticket-seal { top: -34px; right: -6px; width: 72px; height: 72px; }
  .hero-visual { margin-top: 32px; }
  .ticket-track li:not([aria-current]) { font-size: 0; }
  .seo-stage-card { padding: 20px; }
  .process-ticket { padding: 20px 18px; }
  .pt-seal { top: -22px; right: -8px; width: 68px; height: 68px; }
  .pt-head { padding-right: 52px; }
  .pt-terms > div { padding: 7px 12px; }
  .direction-marks .platform-mark { width: 34px; height: 34px; }
  .extra-ai-list { grid-template-columns: minmax(0, 1fr); }
  .extra-dev > .button, .extra-ai > .button { justify-self: stretch; }
}
@media (hover: hover) {
  .sheet-row:hover .sheet-cta { --btn-bg: var(--invert-bg); --btn-ink: var(--invert-ink); --btn-line: var(--invert-bg); --btn-hover: var(--invert-bg); }
}

/* Scroll scenes (motion.js + motion.css, docs/DESIGN.md §7). Everything below needs html.fx; without it the page above is final. */

/* Hero leaves: the copy lifts away, the request ticket tips back like a lid and the seal rolls off it. */
.fx .hero::after { translate: 0 calc(var(--p) * 140px); scale: calc(1 + var(--p) * .3); will-change: transform; }
.fx .hero-copy { translate: 0 calc(var(--p) * -64px); opacity: calc(1 - clamp(0, (var(--p) - .45) / .55, 1) * .85); will-change: transform, opacity; }
@media (min-width: 961px) {
  .fx .hero-grid { perspective: 1600px; }
  .fx .hero-visual { transform-origin: 50% 100%; rotate: x calc(var(--p) * 16deg); scale: calc(1 - var(--p) * .1); translate: 0 calc(var(--p) * 48px); will-change: transform; }
  .fx .ticket-seal { rotate: calc(var(--p) * 120deg); translate: calc(var(--p) * 60px) calc(var(--p) * -80px); scale: calc(1 + var(--p) * .25); will-change: transform; }
}

/* Two directions assemble: the cards come together from both sides, social platforms join one by one,
   the seven SEO stages fill like a path, the add-ons settle last. */
.fx .directions { overflow-x: clip; }
.fx .direction-card { --a: 0; --b: .75; --dx: -56px; --dr: -2deg; opacity: calc(.08 + .92 * var(--e)); translate: calc((1 - var(--e)) * var(--dx)) calc((1 - var(--e)) * 48px); rotate: calc((1 - var(--e)) * var(--dr)); will-change: transform, opacity; }
.fx .direction-seo { --a: .1; --b: .85; --dx: 56px; --dr: 2deg; }
.fx .direction-marks { --from: .3; --stagger: .07; --len: .3; }
.fx .direction-marks > * { opacity: var(--e); scale: calc(.4 + .6 * var(--e)); rotate: calc((1 - var(--e)) * -30deg); }
.fx .direction-path { --from: .4; --stagger: .06; --len: .25; }
.fx .direction-path > span { transform-origin: left; scale: var(--e) 1; }
.fx .direction-extra { --a: .6; --b: 1; opacity: calc(.08 + .92 * var(--e)); translate: 0 calc((1 - var(--e)) * 24px); }
@media (max-width: 960px) {
  /* One column: the section is a cover scene, each card plays while it crosses the lower half of the screen. */
  .fx .direction-card { --b: .2; --dx: -32px; }
  .fx .direction-seo { --a: .22; --b: .42; --dx: 32px; }
  .fx .direction-marks { --from: .06; --stagger: .025; --len: .12; }
  .fx .direction-path { --from: .3; --stagger: .02; --len: .1; }
  .fx .direction-extra { --a: .46; --b: .58; }
}

/* Price sheet: every row is its own scene — name from the left, price from the right, the button snaps in last. */
.fx .sheet-id { --a: 0; --b: .7; opacity: calc(.08 + .92 * var(--e)); translate: calc((1 - var(--e)) * -40px) 0; }
.fx .sheet-id .platform-mark { rotate: calc((1 - var(--e)) * -90deg); scale: calc(.6 + .4 * var(--e)); }
.fx .sheet-features { --a: .15; --b: .85; opacity: calc(.08 + .92 * var(--e)); translate: 0 calc((1 - var(--e)) * 18px); }
.fx .sheet-price { --a: .25; --b: .95; opacity: calc(.08 + .92 * var(--e)); translate: calc((1 - var(--e)) * 40px) 0; }
.fx .sheet-cta { --a: .4; --b: 1; opacity: calc(.08 + .92 * var(--e)); scale: calc(.6 + .4 * var(--e)); }

/* SEO: the section entrance (--q) brings the stage cards in one after another. On wide screens the section then pins and the
   seven stages travel past in order (--p); each stage number lights up when the route reaches it, the bar shows the way. */
.fx .section-seo .section-heading { --qt: clamp(0, var(--q) / .55, 1); opacity: calc(.08 + .92 * var(--qt)); translate: 0 calc((1 - var(--qt)) * 32px); }
.fx .seo-stage-card { --qt: clamp(0, (var(--q) - .35 - var(--k, 0) * .05) / .3, 1); --qe: calc(var(--qt) * var(--qt) * (3 - 2 * var(--qt))); opacity: calc(.1 + .9 * var(--qe)); scale: calc(.9 + .1 * var(--qe)); }
.fx .seo-showcase { --from: .02; --stagger: .12; --len: .08; }
.fx .seo-pin[data-mode="pin"] { --pin: calc(100svh - var(--header-h) + var(--track, 0px) * 1.25 + 35vh); }
.fx .seo-pin[data-mode="pin"] .seo-stage-wrap { display: grid; align-content: center; }
.fx .seo-pin[data-mode="pin"] .seo-showcase { --tt: clamp(0, (var(--p) - .08) / .84, 1); display: flex; width: max-content; translate: calc(var(--tt) * var(--track, 0px) * -1) 0; will-change: translate; }
.fx .seo-pin[data-mode="pin"] .seo-stage-card { flex: none; width: 296px; translate: calc((1 - var(--qe)) * 120px) 0; scale: none; }
.fx .seo-pin[data-mode="pin"] .seo-card-num { position: relative; isolation: isolate; }
.fx .seo-pin[data-mode="pin"] .seo-card-num::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--lime); opacity: var(--e); }
/* The number turns to lime ink as the fill arrives (in the dark theme --lime-text is lime itself and would vanish). */
.fx .seo-pin[data-mode="pin"] .seo-stage-card:not(.seo-stage-cta) .seo-card-num { color: color-mix(in srgb, var(--lime-ink) calc(var(--e) * 100%), var(--lime-text)); }
.fx .seo-pin[data-mode="pin"] .seo-progress { display: block; max-width: 360px; margin-top: 28px; }

/* Add-ons: development comes from the left with its stages one by one, AI subscriptions from the right. */
.fx .section-extras { overflow-x: clip; }
.fx .extra-dev { --a: 0; --b: .7; --dx: -48px; }
.fx .extra-ai { --a: .1; --b: .8; --dx: 48px; }
.fx .extra-dev, .fx .extra-ai { opacity: calc(.08 + .92 * var(--e)); translate: calc((1 - var(--e)) * var(--dx)) calc((1 - var(--e)) * 24px); }
.fx .extra-dev-list { --from: .25; --stagger: .06; --len: .35; }
.fx .extra-dev-list > li { opacity: calc(.1 + .9 * var(--e)); translate: calc((1 - var(--e)) * -24px) 0; }
.fx .extra-ai-list { --from: .35; --stagger: .08; --len: .3; }
.fx .extra-ai-list > li { opacity: calc(.1 + .9 * var(--e)); scale: calc(.85 + .15 * var(--e)); }
@media (max-width: 1120px) {
  .fx .extra-dev { --b: .22; --dx: -24px; }
  .fx .extra-ai { --a: .32; --b: .5; --dx: 24px; }
  .fx .extra-dev-list { --from: .06; --stagger: .025; --len: .12; }
  .fx .extra-ai-list { --from: .36; --stagger: .03; --len: .12; }
}

/* Process: the dark band opens from a card to full width, then pins. Scrolling walks the four steps on the left while the sample
   request on the right lives through them: estimate → the seal stamps the quote → Pay → Paid → the report fills. */
.fx .process-band { clip-path: inset(0 calc((1 - var(--e)) * max(16px, 4vw)) round calc((1 - var(--e)) * 40px)); }
/* The grid and the glow get their own layers, so moving the clip repaints only the plain band colour. */
.fx .process-band::before, .fx .process-band::after { will-change: transform; }
.fx .process-band:has(> [data-mode="pin"]) { padding-top: 0; }
.fx .process-pin[data-mode="pin"] { --pin: 340vh; }
.fx .process-pin[data-mode="pin"] .process-stage { display: grid; align-content: center; }
.fx .process-pin[data-mode="pin"] .process-list li { opacity: .45; transition: opacity .35s var(--ease), translate .35s var(--ease); }
.fx .process-pin[data-mode="pin"] .process-list li .track-node { border-color: rgba(255, 255, 255, .22); background: var(--band); color: #fff; box-shadow: none; transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s; }
.fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(1),
.fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(-n + 2),
.fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(-n + 3) { opacity: .7; }
.fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(1) .track-node,
.fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(-n + 2) .track-node,
.fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(-n + 3) .track-node { border-color: var(--violet); background: var(--violet); }
.fx .process-pin[data-mode="pin"][data-step="0"] .process-list li:nth-child(1),
.fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(2),
.fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(3),
.fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(4) { opacity: 1; }
.fx .process-pin[data-mode="pin"][data-step="0"] .process-list li:nth-child(1) .track-node,
.fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(2) .track-node,
.fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(3) .track-node,
.fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(4) .track-node { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 6px rgba(200, 255, 61, .12), 0 0 28px rgba(200, 255, 61, .38); }
.fx .process-pin[data-mode="pin"] .process-list::after { content: ''; position: absolute; top: 23px; bottom: 23px; left: 23px; width: 1px; background: linear-gradient(var(--violet), var(--lime)); transform-origin: top; scale: 1 min(1, calc(var(--p) * 4 / 3)); }
.fx .process-pin[data-mode="pin"] .process-ticket { translate: 0 calc((.5 - var(--p)) * 40px); }
.fx .process-pin[data-mode="pin"] .pt-status > span { opacity: 0; translate: 0 8px; transition: opacity .3s var(--ease), translate .3s var(--ease); }
.fx .process-pin[data-mode="pin"][data-step="0"] .pt-status > [data-s="0"],
.fx .process-pin[data-mode="pin"][data-step="1"] .pt-status > [data-s="1"],
.fx .process-pin[data-mode="pin"][data-step="2"] .pt-status > [data-s="2"],
.fx .process-pin[data-mode="pin"][data-step="3"] .pt-status > [data-s="3"] { opacity: 1; translate: 0 0; }
.fx .process-pin[data-mode="pin"] .pt-seal { --st: clamp(0, (var(--p) - .27) / .07, 1); --se: calc(var(--st) * var(--st)); opacity: min(1, calc(var(--st) * 4)); scale: calc(2.4 - 1.4 * var(--se)); rotate: calc((1 - var(--se)) * -50deg); }
.fx .process-pin[data-mode="pin"] .pt-action { --pa: clamp(0, (var(--p) - .32) / .05, 1); --pb: clamp(0, (var(--p) - .54) / .05, 1); }
/* One label gives way before the next appears, so two texts never overlap in the same button. */
.fx .process-pin[data-mode="pin"] .pt-wait { opacity: calc(1 - min(1, var(--pa) * 2)); }
.fx .process-pin[data-mode="pin"] .pt-pay { opacity: calc(clamp(0, var(--pa) * 2 - 1, 1) - min(1, var(--pb) * 2)); scale: calc(.92 + .08 * var(--pa) - .04 * var(--pb)); }
.fx .process-pin[data-mode="pin"] .pt-paid { opacity: clamp(0, var(--pb) * 2 - 1, 1); }
.fx .process-pin[data-mode="pin"] .pt-bar::after { scale: clamp(0, (var(--p) - .78) / .18, 1) 1; }
.fx .process-pin[data-mode="pin"] .pt-track li { --f: clamp(0, (var(--p) - var(--at, 0)) * 4, 1); transition: color .3s; }
.fx .process-pin[data-mode="pin"] .pt-track li::before { background: linear-gradient(90deg, var(--violet), #9C90FF) 0 0 / calc(var(--f) * 100%) 100% no-repeat, rgba(255, 255, 255, .12); }
.fx .process-pin[data-mode="pin"] .pt-track li:nth-child(2)::before { background: linear-gradient(var(--lime), var(--lime)) 0 0 / calc(var(--f) * 100%) 100% no-repeat, rgba(255, 255, 255, .12); }
.pt-track li:nth-child(2) { --at: .25; } .pt-track li:nth-child(3) { --at: .5; } .pt-track li:nth-child(4) { --at: .75; }
.fx .process-pin[data-mode="pin"][data-step="0"] .pt-track li:nth-child(1), .fx .process-pin[data-mode="pin"][data-step="1"] .pt-track li:nth-child(2),
.fx .process-pin[data-mode="pin"][data-step="2"] .pt-track li:nth-child(3), .fx .process-pin[data-mode="pin"][data-step="3"] .pt-track li:nth-child(4) { color: #fff; }
@media (max-width: 960px) {
  /* One column: only the current step is shown above the request, so the stage fits a phone screen without clipping. */
  .fx .process-pin[data-mode="pin"] .process-grid { gap: 20px; }
  .fx .process-pin[data-mode="pin"] .process-copy h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); }
  .fx .process-pin[data-mode="pin"] .process-list { grid-template-areas: "step"; }
  .fx .process-pin[data-mode="pin"] .process-list::before, .fx .process-pin[data-mode="pin"] .process-list::after { display: none; }
  .fx .process-pin[data-mode="pin"] .process-list li { grid-area: step; opacity: 0; translate: 0 14px; }
  .fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(1),
  .fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(-n + 2),
  .fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(-n + 3) { opacity: 0; translate: 0 -14px; }
  .fx .process-pin[data-mode="pin"][data-step="0"] .process-list li:nth-child(1),
  .fx .process-pin[data-mode="pin"][data-step="1"] .process-list li:nth-child(2),
  .fx .process-pin[data-mode="pin"][data-step="2"] .process-list li:nth-child(3),
  .fx .process-pin[data-mode="pin"][data-step="3"] .process-list li:nth-child(4) { opacity: 1; translate: 0 0; }
  .fx .process-pin[data-mode="pin"] .process-ticket { translate: none; }
}
@media (max-width: 720px) {
  /* Phone: the stage must fit a screen with the browser bars shown (100svh), so the request gets compact. */
  .fx .process-pin[data-mode="pin"] { --pin: 300vh; }
  .fx .process-pin[data-mode="pin"] .section-pill, .fx .process-pin[data-mode="pin"] .pt-track, .fx .process-pin[data-mode="pin"] .pt-report > span:first-child { display: none; }
  .fx .process-pin[data-mode="pin"] .process-ticket { gap: 10px; padding: 16px; }
  .fx .process-pin[data-mode="pin"] .pt-terms > div { padding-block: 6px; }
  .fx .process-pin[data-mode="pin"] .process-grid { gap: 16px; }
  .fx .process-pin[data-mode="pin"] .process-copy h2 { margin-bottom: 14px; }
  .fx .process-pin[data-mode="pin"] .pt-head { padding-bottom: 10px; }
  .fx .process-pin[data-mode="pin"] .pt-action > span { min-height: 42px; }
}
@media (max-height: 760px) {
  .fx .process-pin[data-mode="pin"] .section-pill { display: none; }
  .fx .process-pin[data-mode="pin"] .process-ticket { gap: 12px; padding-block: 18px; }
}
.pt-status > [data-s="0"] { background: rgba(255, 196, 77, .14); color: #FFD27A; }
.pt-status > [data-s="2"] { background: rgba(171, 165, 255, .16); color: #C9C5FF; }
.pt-status > [data-s="3"] { background: rgba(123, 227, 166, .14); color: #8FE9B4; }
