/* =========================================================
   Avernora v9 (2026-10-11) · subpages brought to the Home system, starting with Services.
   Samu: violet hover + moving arrow on the hero index, wheel review, Dayos card flip on add-ons,
   Home's closing split, uppercase headings, no mono eyebrows.
   ========================================================= */

/* ---------- Headings: Dayos style like Home (Archivo Condensed, uppercase) ---------- */
html[data-font] :is(.ph-title, .display) {
  font-family: "Archivo", "Inter", system-ui, sans-serif; font-variation-settings: "wdth" 62; font-stretch: 62%;
  font-weight: 700; letter-spacing: -0.02em; word-spacing: .1em; line-height: .92;
}
html[data-font="dayos"] :is(.ph-title, .display) { text-transform: uppercase; }
.ph-title { margin-top: 0; }

/* ---------- Hero index: violet diagonal sweep (as Home's closing) + the arrow flies out and back ---------- */
.phx a { overflow: hidden; isolation: isolate; padding: 18px 64px 18px 20px; }
.phx a + a { padding-left: 20px; }
.phx b, .phx span { transition: color .3s; }
.phx a:hover b { text-decoration: none; }
.phx-go {
  position: absolute; right: 16px; top: 18px; width: 36px; height: 36px; border: 1px solid #cfcfd4; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden; color: var(--ink); background: transparent;
  transition: background-color .35s, border-color .35s, color .35s;
}
.phx-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.phx-go path { transition: transform .45s var(--v7-ease); }
.phx-go .a2 { transform: translate(-26px, -26px); }
@media (hover: hover) and (pointer: fine) {
  .phx a::before {
    content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 180%;
    background: var(--signal); transform: translateX(-125%) skewX(-28deg); transform-origin: 0 100%;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1);
  }
  .phx a:hover::before { transform: translateX(0) skewX(-28deg); }
  .phx a:hover span { color: var(--ink); }
  .phx a:hover .phx-go { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .phx a:hover .a1 { transform: translate(26px, 26px); }
  .phx a:hover .a2 { transform: translate(0, 0); }
}
.phx a:focus-visible { outline-offset: -3px; }
.phx a:focus-visible .phx-go { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (max-width: 960px) {
  .phx a, .phx a + a { padding: 16px 60px 16px 0; grid-template-columns: 1fr; }
  .phx-go { top: 50%; translate: 0 -50%; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .phx a::before, .phx-go path { transition: none; } }

/* ---------- Wheel: group legend beside the copy, the ring itself shows the two halves ---------- */
.wheel-side .head .lead { margin-top: 20px; }
.wheel-legend { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--on-dark-muted); }
.wheel-legend li { display: flex; align-items: center; gap: 10px; }
.wheel-legend li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: #1c1c20; box-shadow: inset 0 0 0 1px #3a3a40; }
.wheel-legend li.is-flow::before { background: #18152b; box-shadow: inset 0 0 0 1.5px rgba(139, 124, 255, .7); }
.wheel-arc {
  position: absolute; left: 50%; top: 50%; width: 54%; height: 54%; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  /* flow tiles sit between 234° and 342° on the ring (conic 0° = top), website tiles between 18° and 198° */
  background: conic-gradient(from 0deg,
    transparent 0deg 6deg, rgba(255, 255, 255, .18) 6deg 210deg, transparent 210deg 222deg,
    rgba(139, 124, 255, .75) 222deg 354deg, transparent 354deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
          mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
}
.wheel-panel { width: min(490px, 42%); max-height: min(720px, calc(100svh - 140px)); }
.wheel-note { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-muted); }
.wheel-note a { color: var(--white); }
@media (max-width: 860px) { .wheel-legend { display: none; } }

/* ---------- Add-ons: the card turns over to its answer (Dayos flip), tablets and up ---------- */
@media (min-width: 761px) {
  .adc { perspective: 900px; background: none; box-shadow: none; overflow: visible; }
  .adc button, .adc .desc {
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    transition: transform .7s cubic-bezier(.3, .8, .2, 1), opacity 0s;
  }
  .adc button { background: #141417; box-shadow: inset 0 0 0 1px #26262b; transform: rotateY(0deg); }
  .adc .desc {
    opacity: 1; translate: none; border-radius: 22px; transform: rotateY(180deg);
    background: var(--signal); color: var(--ink); justify-content: space-between;
  }
  .adc .desc b { color: var(--ink); font-size: 19px; }
  .adc .desc em { color: var(--ink); opacity: .7; }
  .adc:hover button, .adc.is-open button { transform: rotateY(-180deg); }
  .adc:hover .desc, .adc.is-open .desc { transform: rotateY(0deg); }
  .adc-ask { background: var(--signal-soft); }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .adc button, .adc .desc { transform: none !important; transition: opacity .25s ease; }
  .adc .desc { opacity: 0; }
  .adc:hover .desc, .adc.is-open .desc { opacity: 1; }
  .adc:hover button, .adc.is-open button { opacity: 0; }
}
/* phones keep the plain list with every answer visible: nothing to hover there */
@media (hover: none) and (min-width: 761px) {
  .adc { height: 212px; }
  .adc button { display: flex; padding: 20px 20px 18px; position: absolute; cursor: pointer; }
  .adc button svg { width: 44px; height: 44px; }
  .adc button b { margin-top: auto !important; }
  .adc .desc { position: absolute; padding: 20px !important; font-size: 15px; color: var(--ink); }
  .adc .desc b { display: block; }
}

/* =========================================================
   How it works (v9): black hero like Dayos subpages, steps as numbered rows (Dayos /company)
   ========================================================= */
.hh9 { background: #000; color: #e9e9ec; --night-line: rgba(255, 255, 255, .14); --on-night-muted: #a1a1aa; }
.hh9 .hh-ok { background: #0d0d10; border-color: rgba(255, 255, 255, .12); }
.hh9 .hh-rail::before { background: rgba(255, 255, 255, .14); }
.hh9 .hh-rail li + li { border-top-color: rgba(255, 255, 255, .08); }
.hh9 .hh-rail i { background: #000; }
.hh-cta { margin-top: 32px; }
.btn-cta.is-light { background: var(--white); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-cta.is-light:hover { background: #f1f1f1; box-shadow: 0 18px 40px -18px rgba(139, 124, 255, .55); }
}

.st9 { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); }
.st9-head { margin-bottom: clamp(32px, 5vw, 64px); }
.st9-head .v7-lead { margin-top: clamp(16px, 1.6vw, 24px); max-width: 38em; }
.st9-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.st9-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.st9-row {
  position: relative; display: grid; grid-template-columns: clamp(64px, 7vw, 104px) minmax(0, 1fr); gap: 0 clamp(16px, 2vw, 28px);
  padding: clamp(28px, 4.5vh, 48px) clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--border); transition: background-color .4s ease;
}
.st9-row::before {
  content: ""; position: absolute; left: 0; top: clamp(28px, 4.5vh, 48px); bottom: clamp(28px, 4.5vh, 48px); width: 3px;
  background: var(--signal); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--v7-ease);
}
.st9-row.is-on { background: #f3f3f1; }
.st9-row.is-on::before { transform: scaleY(1); }
.st9-n {
  font: 700 clamp(56px, 6vw, 92px)/.82 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%;
  letter-spacing: -.03em; color: #d9d9d6; transition: color .4s ease;
}
.st9-row.is-on .st9-n { color: var(--ink); }
.st9-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.st9-body h3 { margin-top: 10px; font-size: clamp(28px, 2.6vw, 40px); }
html[data-font="dayos"] .st9-body h3 { text-transform: uppercase; }
.st9-t { margin-top: 12px; color: var(--text); max-width: 34em; }
.st9-who { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15.5px; line-height: 1.5; color: var(--ink); max-width: 34em; }
.st9-who b { margin-right: 4px; color: #6a5cf0; font-weight: 700; }
.st9-who i { margin: 0 10px; font-style: normal; color: var(--muted); }
.st9-row.is-on .st9-who { border-top-color: #e2e2df; }

/* the example document: a white card on a black stage */
.st9-art { position: relative; }
.st9-art > div {
  position: relative; width: min(100%, 440px); background: var(--white); color: var(--text); border-radius: 20px;
  padding: clamp(18px, 1.8vw, 26px); font-size: 15px; line-height: 1.5; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8);
}
.st9-art .concept { left: auto; right: 14px; top: 14px; }
.st9-art p + p:not([class]) { margin-top: 8px; }
.st9-art ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.st9-art ul li { display: flex; gap: 10px; }
.st9-art ul li::before { content: ""; width: 6px; height: 6px; flex: none; margin-top: 9px; border-radius: 50%; background: var(--muted); }
.st9-art ul.is-check li::before { width: 18px; height: 18px; margin-top: 2px; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a0a0a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.st9-art .ta-check ul li { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.st9-art .ta-check ul li::before { grid-row: span 2; }

/* desktop: only the document stays in view, beside the rows */
.st9-stage { display: none; }
@media (min-width: 901px) {
  .st9-row .st9-art { display: none; }
  .st9-stage {
    display: block; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 24px);
    height: min(580px, calc(100svh - var(--nav-top) - var(--nav-h) - 48px)); border-radius: var(--v7-r); background: #000; overflow: hidden;
  }
  .st9-stage .st9-art {
    position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(28px, 3vw, 48px);
    opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s;
  }
  .st9-stage .st9-art.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
  .st9-stage .st9-art > div { transform: translateY(24px) rotate(2deg); transition: transform .8s var(--v7-ease); }
  .st9-stage .st9-art.is-on > div { transform: rotate(-1deg); }
  .st9-stage .concept { right: 22px; top: 22px; }
}
@media (max-width: 900px) {
  .st9-grid { grid-template-columns: 1fr; }
  .st9-row { grid-template-columns: 52px minmax(0, 1fr); padding: 28px 16px 32px; }
  .st9-n { font-size: 52px; }
  .st9-row .st9-art { grid-column: 1 / -1; margin-top: 22px; padding: 28px 18px; border-radius: 22px; background: #000; display: grid; place-items: center; }
  .st9-row .st9-art .concept { right: 12px; top: 12px; }
  .st9-row .st9-art > div { font-size: 14.5px; }
}
/* phones (Samu 2026-10-12, after Dayos mobile): the hero drops the "Where you decide" card (Dayos heroes are
   text only on phones), and the five steps become full-width cards you swipe sideways instead of a long column */
@media (max-width: 760px) {
  .hh9 .hh-ok { display: none; }
  section.st9 .st9-head { margin-bottom: 24px; }
  section.st9 .st9-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
    border-top: 0; scrollbar-width: none;
  }
  section.st9 .st9-list::-webkit-scrollbar { display: none; }
  section.st9 .st9-row, section.st9 .st9-row.is-on {
    flex: 0 0 88%; scroll-snap-align: start; display: flex; flex-direction: column;
    padding: 22px 18px 18px; border: 0; border-radius: 24px; background: #f3f3f1;
  }
  section.st9 .st9-row::before, section.st9 .st9-row.is-on::before { display: none; }
  section.st9 .st9-n, section.st9 .st9-row.is-on .st9-n { font-size: 40px; color: var(--ink); }
  section.st9 .st9-body { margin: 14px 0 18px; }
  section.st9 .st9-body h3 { margin-top: 6px; font-size: 26px; }
  section.st9 .st9-t { font-size: 15px; line-height: 1.5; }
  section.st9 .st9-who { margin-top: 14px; padding-top: 12px; font-size: 14px; border-top-color: #e2e2df; }
  /* the example document: same black stage, capped so every card is about one screen */
  section.st9 .st9-row .st9-art {
    margin-top: auto; padding: 0; height: 300px; overflow: hidden; border-radius: 18px; background: #000;
    display: block; position: relative;
  }
  section.st9 .st9-row .st9-art > div { width: auto; margin: 44px 14px 0; font-size: 13.5px; line-height: 1.45; padding: 16px; border-radius: 14px; }
  section.st9 .st9-row .st9-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, #000); pointer-events: none; }
  section.st9 .st9-row .st9-art .concept { right: 12px; top: 12px; }
  section.st9 .st9-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  section.st9 .st9-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d4d4d1; cursor: pointer; transition: width .3s var(--v7-ease), background-color .3s; }
  section.st9 .st9-dots button[aria-current="true"] { width: 28px; background: var(--ink); }
}
@media (min-width: 761px) { .st9-dots { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .st9-row, .st9-row::before, .st9-n, .st9-stage .st9-art, .st9-stage .st9-art > div { transition: none; }
  .st9-stage .st9-art > div, .st9-stage .st9-art.is-on > div { transform: none; }
}

/* =========================================================
   About (v9): black hero like Dayos /company, white sheet with a sticky page index
   ========================================================= */
.ab9-hero { background: #000; color: #fff; padding: calc(var(--nav-top) + var(--nav-h) + clamp(56px, 10vh, 120px)) 0 calc(var(--arc) + clamp(64px, 11vh, 128px)); }
.ab9-pre, .ab9-title { font-family: "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%; font-weight: 700; letter-spacing: -.02em; word-spacing: .1em; text-transform: uppercase; }
.ab9-pre { font-size: clamp(32px, 4vw, 60px); line-height: .95; color: #a1a1aa; }
.ab9-title { margin-top: clamp(10px, 1.4vw, 20px); font-size: clamp(56px, 8.2vw, 136px); line-height: .9; color: #fff; max-width: 10.5em; }

.ab9 { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); }
.ab9-grid { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.ab9-nav { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 32px); display: grid; gap: 10px; padding-top: 6px; }
.ab9-nav a {
  position: relative; padding-left: 18px; text-decoration: none; color: #a1a1aa; transition: color .25s;
  font: 700 19px/1.1 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em;
}
.ab9-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 2px; background: var(--ink); transform: scale(0) rotate(45deg); transition: transform .3s var(--v7-ease); }
.ab9-nav a.is-on, .ab9-nav a:hover { color: var(--ink); }
.ab9-nav a.is-on::before { transform: scale(1) rotate(45deg); }
.ab9-main { min-width: 0; max-width: 860px; }
.ab9-part + .ab9-part { margin-top: clamp(88px, 11vw, 160px); }
.ab9-part > .v7-h { font-size: clamp(40px, 5vw, 80px); }
.ab9-part .ab-story { margin-top: clamp(24px, 3vw, 36px); }
.ab9-ink { margin-top: clamp(56px, 7vw, 96px); font: 500 clamp(28px, 3.1vw, 46px)/1.18 var(--font-body); letter-spacing: -.015em; color: var(--ink); max-width: 20em; }
.ab9-rows { margin-top: clamp(28px, 3.5vw, 44px); }
.ab9-rows .st9-body h3 { margin-top: 4px; }
.ab9-note { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 44em; }
.ab9-part .ab-profile { margin-top: clamp(28px, 3.5vw, 44px); }
.ab9-part[id] { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 24px); }
@media (max-width: 900px) {
  .ab9-grid { grid-template-columns: 1fr; }
  .ab9-nav { display: none; }
}

/* =========================================================
   FAQ (v9): black hero with a big index (Dayos /plans), questions on a white sheet
   ========================================================= */
.fq9-hero { background: #000; color: #fff; padding: calc(var(--nav-top) + var(--nav-h) + clamp(48px, 8vh, 104px)) 0 calc(var(--arc) + clamp(56px, 9vh, 104px)); }
.fq9-hero .v7-h { color: #fff; font-size: clamp(56px, 7.4vw, 120px); line-height: .9; }
.fq9-lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: #a1a1aa; max-width: 34em; }
.fq9-index { margin-top: clamp(40px, 6vh, 72px); max-width: 820px; border-top: 1px solid rgba(255, 255, 255, .16); }
.fq9-index a {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; overflow: hidden; isolation: isolate;
  padding: clamp(16px, 2.2vh, 24px) 20px; border-bottom: 1px solid rgba(255, 255, 255, .16); text-decoration: none; color: #fff;
}
.fq9-index b {
  font: 700 clamp(30px, 3.4vw, 52px)/1 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%;
  letter-spacing: -.02em; text-transform: uppercase; transition: color .3s;
}
.fq9-index .phx-go { position: relative; right: auto; top: auto; flex: none; width: 48px; height: 48px; border-color: rgba(255, 255, 255, .3); color: #fff; }
.fq9-index .phx-go svg { width: 18px; height: 18px; }
.fq9-index .phx-go { translate: none; }
.fq9-index .phx-go .a2 { transform: translate(-44px, -44px); }
@media (hover: hover) and (pointer: fine) {
  .fq9-index a::before {
    content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 180%;
    background: var(--signal); transform: translateX(-125%) skewX(-28deg); transform-origin: 0 100%;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1);
  }
  .fq9-index a:hover::before { transform: translateX(0) skewX(-28deg); }
  .fq9-index a:hover { color: var(--ink); }
  .fq9-index a:hover .phx-go { background: var(--ink); border-color: var(--ink); color: #fff; }
  .fq9-index a:hover .a1 { transform: translate(44px, 44px); }
  .fq9-index a:hover .a2 { transform: translate(0, 0); }
}
.fq9-index a:focus-visible { outline-offset: -3px; color: #fff; }
@media (max-width: 760px) { .fq9-index a { padding: 14px 0; } .fq9-index .phx-go { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .fq9-index a::before { transition: none; } }

.faq9 { padding-bottom: calc(var(--sec-y) + var(--arc)); }
html[data-font="dayos"] .faq9 .faq-group-head h2 { text-transform: uppercase; font-size: clamp(32px, 3.2vw, 48px); }
.faq9 .faq-list summary { font: 600 18px/1.35 var(--font-body); }
.faq9 .faq-list summary::after { transition: transform .3s var(--v7-ease); }
.faq9 .faq-list details.is-closing summary::after { transform: translateY(-3px) rotate(45deg); }
.faq9 .faq-list details > p { overflow: hidden; }
@media (min-width: 961px) {
  .faq9 .faq-nav { border-top: 0; gap: 10px; padding-top: 8px; }
  .faq9 .faq-nav a, .faq9 .faq-nav a.is-on {
    display: block; position: relative; padding: 0 0 0 18px; border: 0; box-shadow: none; color: #a1a1aa;
    font: 700 19px/1.1 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em;
  }
  .faq9 .faq-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-radius: 2px; background: var(--ink); transform: scale(0) rotate(45deg); transition: transform .3s var(--v7-ease); }
  .faq9 .faq-nav a.is-on, .faq9 .faq-nav a:hover { color: var(--ink); }
  .faq9 .faq-nav a.is-on::before { transform: scale(1) rotate(45deg); }
}

/* =========================================================
   Teardown (v9): black hero, the form as a white card (Dayos "Schedule a Demo"),
   the example report as a case study (Dayos /case-studies), new example Hollis Creek
   ========================================================= */
.tdx-hero { background: #000; color: #fff; padding: calc(var(--nav-top) + var(--nav-h) + clamp(40px, 6vh, 80px)) 0 calc(var(--arc) + clamp(56px, 8vh, 96px)); }
.tdx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px clamp(40px, 5vw, 88px); align-items: center; }
.tdx-copy .v7-h { color: #fff; font-size: clamp(52px, 6.4vw, 104px); line-height: .9; }
.tdx-lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #a1a1aa; max-width: 30em; }
.tdx-promises { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 34em; }
.tdx-promises li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tdx-promises li::before { content: ""; grid-row: span 2; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.4' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.tdx-promises b { font-weight: 600; color: #fff; }
.tdx-promises span { font-size: 14.5px; color: #a1a1aa; }
.tdx-see { display: inline-flex; gap: 8px; margin-top: 26px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.tdx-see:hover { border-bottom-color: var(--signal); }

/* the form card */
.tdx-form { background: var(--white); border-radius: 32px; padding: clamp(28px, 3vw, 48px); grid-template-columns: 1fr; gap: 14px; box-shadow: 0 40px 90px -40px rgba(139, 124, 255, .45); }
.tdx-form .tform6-h { justify-content: center; margin-bottom: 10px; }
.tdx-form .tform6-h b {
  font: 700 clamp(30px, 2.8vw, 42px)/.95 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%;
  letter-spacing: -.02em; text-transform: uppercase; text-align: center;
}
.tdx-form > .field { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; align-items: center; column-gap: 16px; row-gap: 4px; }
.tdx-form > .field label { font-weight: 600; }
.tdx-form > .field .field-error { grid-column: 2; }
.tdx-form .field input[type] { border-radius: 10px; padding: 12px 14px; }
.tdx-form > .full:has(.check) { padding-top: 14px; border-top: 1px solid var(--border); }
.tdx-form .more-fields { border-top: 0; }
.tdx-form .btn { border-radius: 12px; }
@media (max-width: 1000px) { .tdx-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tdx-form > .field { grid-template-columns: 1fr; } .tdx-form > .field .field-error { grid-column: 1; } }

/* the example report */
.tdr { padding: var(--sec-y) 0 calc(var(--sec-y) + var(--arc)); }
.tdr-head { padding-bottom: clamp(40px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.tdr-concept { position: static; display: inline-flex; }
.tdr-head .v7-h { margin-top: 22px; font-size: clamp(48px, 6.4vw, 104px); line-height: .9; }
.tdr-meta { margin-top: 20px; font-size: 15px; color: var(--muted); }
.tdr-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tdr-tags li { padding: 6px 12px; background: var(--surface); font: 500 12.5px/1.2 var(--font-mono); color: var(--ink); }
.tdr-main { max-width: 980px; }
.tdr-f + .tdr-f { margin-top: clamp(80px, 10vw, 140px); }
.tdr-k { font-size: 14px; font-weight: 600; color: #6a5cf0; }
.tdr-h {
  margin-top: 10px; font: 700 clamp(34px, 3.6vw, 58px)/.95 "Archivo", var(--font-display); font-variation-settings: "wdth" 62; font-stretch: 62%;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); max-width: 16em;
}
.tdr-fig { margin: clamp(24px, 3vw, 36px) 0 0; }
.tdr-fig > img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--border), 0 30px 60px -40px rgba(0, 0, 0, .45); }
.tdr-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: var(--surface); }
.tdr-phones > div { max-width: 340px; justify-self: center; }
.tdr-phones img { width: 100%; height: auto; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; border-radius: 26px; box-shadow: 0 0 0 6px #111, 0 30px 50px -30px rgba(0, 0, 0, .5); }
.tdr-phones div:last-child img { object-position: bottom; }
.tdr-phones figcaption { margin-top: 16px; font-size: 14.5px; color: var(--text); text-align: center; }
.tdr-cols { margin: clamp(24px, 3vw, 36px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(20px, 2.6vw, 40px); }
.tdr-cols div { padding-top: 14px; border-top: 2px solid var(--signal); }
.tdr-cols dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.tdr-cols dd { margin: 8px 0 0; color: var(--text); font-size: 16px; line-height: 1.55; }
.tdr-nosite { margin-top: clamp(64px, 8vw, 112px); padding: 22px 26px; border-radius: 18px; background: var(--signal-soft); color: #2b2170; font-size: 16.5px; max-width: 46em; }
.tdr-nosite b { color: #17114a; }
@media (max-width: 760px) {
  .tdr-cols { grid-template-columns: 1fr; }
  .tdr-phones { grid-template-columns: 1fr 1fr; padding: 16px; gap: 14px; }
  .tdr-phones img { border-radius: 18px; box-shadow: 0 0 0 4px #111; }
  .tdr-phones figcaption { font-size: 13px; }
}
html[data-font="dayos"] .tdx-faq .display { font-size: clamp(40px, 4.6vw, 72px); }

/* =========================================================
   r7 · Subpages: violet as one marker per view, readable index, one CTA family (critic round 2, 13.10.)
   ========================================================= */

/* Teardown hero: no violet glow under the form card; the three promises get neutral (white) checks */
.tdx-form { box-shadow: none; }
.tdx-promises li::before { background-color: #fff; }

/* Teardown findings: the violet outline on the marked screenshot is the one marker; eyebrow and rules go neutral */
.tdr-k { color: var(--muted); }
.tdr-cols div { border-top-color: var(--ink); }
/* topic tags in Inter, not mono */
.tdr-tags li { font: 500 13px/1.2 var(--font-body); border-radius: 999px; }
@media (max-width: 760px) { .tdr-phones figcaption { font-size: 14px; } }

/* Teardown submit: a pill in the hero CTA's family (black pill, violet arrow disc on the right) */
.tdx-form .btn.tdx-submit { position: relative; min-height: 60px; padding: 7px 60px; border-radius: 999px; }
.tdx-submit .btn-cta-go { position: absolute; right: 7px; top: 50%; margin-top: -23px; }
@media (hover: hover) and (pointer: fine) {
  .tdx-submit:hover { background: #1d1d20; }
  .tdx-submit:hover .btn-cta-go { transform: scale(1.06); background: #a99dff; }
  .tdx-submit:hover .a1 { transform: translate(22px, -22px); }
  .tdx-submit:hover .a2 { transform: translate(0, 0); }
}
@media (max-width: 520px) { .tdx-submit .btn-cta-go { width: 42px; height: 42px; margin-top: -21px; } .tdx-form .btn.tdx-submit { min-height: 56px; padding: 7px 54px; font-size: 15px; } }

/* How it works hero: neutral checks in "Where you decide" (the CTA's arrow disc is the violet marker);
   the light CTA's hover shadow is neutral, not a violet glow */
.hh-rail i { border-color: #fff; }
.hh-rail i::after { background-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-cta.is-light:hover { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
}
/* How it works steps: "You" / "We" in ink; the violet active bar stays */
.st9-who b { color: var(--ink); }

/* Sticky page index (About, Teardown, FAQ): inactive labels readable (muted grey, ~5:1 on white, was #a1a1aa) */
.ab9-nav a { color: var(--muted); }
.ab9-nav a.is-on, .ab9-nav a:hover { color: var(--ink); }
@media (min-width: 961px) {
  .faq9 .faq-nav a { color: var(--muted); }
  .faq9 .faq-nav a.is-on, .faq9 .faq-nav a:hover { color: var(--ink); }
}

/* r7b · Hero index arrows round like the other arrow buttons; example-document checks neutral (13.10.) */
.phx-go { border-radius: 50%; }
.st9-art ul.is-check li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* r9 · Teardown screenshots cropped to the part being critiqued, so their text reads near 1:1 (critic round 3, 13.10.)
   The figure is the crop frame; the image is scaled and shifted inside it. Crop box in source pixels:
   --iw/--ih = image size, --cx/--cy = top-left of the crop, --cw/--ch = crop size. The violet outlines are
   part of the images, so they stay aligned with whatever the crop shows. */
.tdr-f .tdr-fig:not(.tdr-phones) {
  position: relative; overflow: hidden; aspect-ratio: var(--cw) / var(--ch);
  border-radius: 18px; box-shadow: 0 0 0 1px var(--border), 0 30px 60px -40px rgba(0, 0, 0, .45);
}
.tdr-f .tdr-fig:not(.tdr-phones) > img {
  position: absolute; max-width: none; height: auto; border-radius: 0; box-shadow: none;
  width: calc(var(--iw) / var(--cw) * 100%);
  left: calc(var(--cx) / var(--cw) * -100%);
  top: calc(var(--cy) / var(--ch) * -100%);
}
/* Message: the headline and the Learn More button (no nav, little kitchen) */
#f-next .tdr-fig { --iw: 2000; --cx: 440; --cy: 200; --cw: 1120; --ch: 490; }
/* Proof: the outlined gallery grid */
#f-then .tdr-fig { --iw: 2000; --cx: 52; --cy: 280; --cw: 1896; --ch: 838; }
/* Form: the outlined form with all eleven fields */
#f-later .tdr-fig { --iw: 2000; --cx: 440; --cy: 345; --cw: 1120; --ch: 1065; }
@media (max-width: 760px) {
  /* phones: tighter crops; the desktop captures are 2000 px wide, so the headline box is as far as stays whole */
  #f-next .tdr-fig { --cx: 572; --cy: 244; --cw: 856; --ch: 400; }
  #f-then .tdr-fig { --cx: 52; --cy: 280; --cw: 1420; --ch: 838; }
  /* the left column of the form, stopping short of the centred full-width labels: labels at about 15 px */
  #f-later .tdr-fig { --cx: 446; --cy: 352; --cw: 454; --ch: 720; }
  /* the two phone captures stack, each cropped to its own part, so the footer number is legible */
  .tdr-phones { grid-template-columns: 1fr; gap: 22px; }
  .tdr-phones > div { max-width: none; justify-self: stretch; }
  .tdr-phones img { aspect-ratio: 780 / 760; }
}

/* r10 · Teardown hero: the single column may shrink below the form's min-content (overflowed under 384 px, Samu 13.10.) */
@media (max-width: 1000px) { .tdx-grid { grid-template-columns: minmax(0, 1fr); } .tdx-grid > * { min-width: 0; } }
.tform6 > *, .tform6 input, .tform6 select, .tform6 textarea { min-width: 0; }
@media (max-width: 1000px) { .tform6 { grid-template-columns: minmax(0, 1fr); } }

/* r10 · Teardown submit: label left, room for the arrow disc on the right; on narrow forms the label wraps instead of running under the disc (Samu 13.10.) */
.tdx-form .btn.tdx-submit { justify-content: flex-start; text-align: left; white-space: normal; line-height: 1.2; padding: 8px 72px 8px 28px; }
.tdx-form .btn.tdx-submit .sw, .tdx-form .btn.tdx-submit .sw-a { white-space: normal; }
@media (max-width: 520px) { .tdx-form .btn.tdx-submit { padding: 8px 62px 8px 22px; } }
