/* =========================================================
   PRACTICE LANDING — PLATINUM system
   Shared by restructuring / disputes / assets subdomains
   ========================================================= */

:root {
  --ink: #08090b;
  --ink-soft: #0d0f12;
  --bone: #f0f1ef;
  --bone-deep: #e2e6e3;
  --plat: #aebec9;
  --plat-light: #dde7ee;
  --plat-deep: #5e7280;
  --muted: #8b949c;
  --muted-dark: #5f6870;
  --line: rgba(240, 241, 239, 0.14);
  --line-soft: rgba(240, 241, 239, 0.08);
  --line-dark: rgba(8, 9, 11, 0.16);
  --serif: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4.6vw, 68px);
  --max: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--plat); color: var(--ink); }
:focus-visible { outline: 1px solid var(--plat); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.p-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--plat-light);
}

.p-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--plat);
}

.p-label--dark { color: var(--plat-deep); }
.p-label--dark::before { background: var(--plat-deep); }

.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.p-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  transition: transform 0.4s var(--ease);
}

.p-btn:hover svg { transform: translate(2px, -2px); }

.p-btn--fill {
  color: var(--ink);
  background: var(--plat);
  border-color: var(--plat);
}

.p-btn--fill:hover {
  color: var(--plat-light);
  background: transparent;
}

.p-btn--ghost {
  color: var(--bone);
  border-color: rgba(240, 241, 239, 0.28);
}

.p-btn--ghost:hover {
  color: var(--plat-light);
  border-color: var(--plat);
}

/* header */
.p-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.p-header.is-scrolled {
  background: rgba(8, 9, 11, 0.82);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.p-header__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 86px;
}

.p-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.p-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(174, 190, 201, 0.5);
  color: var(--plat-light);
  font-family: var(--serif);
  font-size: 15px;
}

.p-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.p-brand__text small {
  font-size: 7px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.p-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.p-nav a {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 241, 239, 0.6);
  transition: color 0.3s;
}

.p-nav a:hover { color: var(--bone); }

.p-header .p-btn {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 8px;
  gap: 18px;
}

.p-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  position: relative;
  cursor: pointer;
}

.p-burger span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.p-burger span:first-child { top: 18px; }
.p-burger span:last-child { top: 24px; }

body.menu-open .p-burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .p-burger span:last-child { top: 21px; transform: rotate(-45deg); }

.p-mobile {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 100px var(--pad) 40px;
  background: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}

body.menu-open .p-mobile {
  visibility: visible;
  clip-path: inset(0);
  transition: clip-path 0.7s var(--ease), visibility 0s;
}

.p-mobile a {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 46px);
  line-height: 1;
}

.p-mobile a:last-child { border-bottom: 1px solid var(--line); }

/* hero */
.p-hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  background: var(--ink);
}

.p-hero::before {
  content: "";
  position: absolute;
  top: -33%;
  right: -18%;
  width: 68vw;
  height: 68vw;
  min-width: 600px;
  min-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 150, 175, 0.19), rgba(120, 150, 175, 0) 62%);
  pointer-events: none;
}

.p-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(174, 190, 201, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(174, 190, 201, 0.025),
    0 0 0 140px rgba(174, 190, 201, 0.015);
  pointer-events: none;
}

.p-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: 60px;
  align-items: end;
}

.p-hero__eyebrow { margin-bottom: 30px; }

.p-hero h1 {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 108px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.p-hero h1 em {
  color: var(--plat-light);
  font-style: normal;
}

.p-hero__lead {
  max-width: 570px;
  margin-top: 34px;
  color: rgba(240, 241, 239, 0.64);
  font-size: 14px;
  line-height: 1.75;
}

.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.p-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-hero__points span {
  position: relative;
}

.p-hero__points span + span::before {
  content: "·";
  position: absolute;
  left: -14px;
  color: var(--plat);
}

.p-hero__aside {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(174, 190, 201, 0.22);
  background: rgba(13, 15, 18, 0.52);
}

.p-hero__aside h2 {
  margin: 16px 0 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.p-hero__aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.p-hero__aside li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(240, 241, 239, 0.68);
}

.p-hero__aside li span {
  color: var(--plat);
  font-family: var(--serif);
  font-size: 13px;
}

.p-hero__num {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--plat);
}

/* sections */
.p-section {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--bone);
  color: var(--ink);
}

.p-section--dark {
  background: var(--ink);
  color: var(--bone);
}

.p-section--soft {
  background: #e9ece9;
  color: var(--ink);
}

.p-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px 70px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.p-head .p-label { grid-column: 1 / -1; }

.p-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.025em;
}

.p-head h2 em {
  color: var(--plat-deep);
  font-style: normal;
}

.p-section--dark .p-head h2 em { color: var(--plat-light); }

.p-head p {
  justify-self: end;
  max-width: 460px;
  padding-bottom: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted-dark);
}

.p-section--dark .p-head p { color: var(--muted); }

/* signals */
.p-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.p-signal {
  min-height: 170px;
  padding: 26px 24px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.p-signal span {
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--plat-deep);
}

.p-signal h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.p-signal p {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-dark);
}

/* work rows */
.p-work { border-bottom: 1px solid var(--line); }

.p-work__row {
  display: grid;
  grid-template-columns: 54px 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.p-work__num {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--plat);
}

.p-work__row h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.1;
}

.p-work__row p {
  max-width: 56ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* process */
.p-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.p-step {
  padding: 24px 22px 30px 0;
  border-right: 1px solid var(--line-dark);
}

.p-step:last-child { border-right: 0; }

.p-step span {
  display: block;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--plat-deep);
}

.p-step h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.p-step p {
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted-dark);
}

/* context */
.p-context {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

.p-context h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.02;
}

.p-context h2 em { color: var(--plat-light); font-style: normal; }

.p-context__body {
  padding-top: 9px;
}

.p-context__body p {
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.p-context__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.p-context__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(240, 241, 239, 0.72);
}

.p-context__list b { color: var(--bone); font-weight: 400; }

.p-disclaimer {
  margin-top: 18px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
}

/* stats */
.p-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.p-stat {
  padding: 22px 20px 26px 0;
  border-right: 1px solid var(--line-dark);
}

.p-stat:last-child { border-right: 0; }

.p-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.p-stat span {
  display: block;
  margin-top: 9px;
  font-size: 8px;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.p-section--dark .p-stats { border-top-color: var(--line); }
.p-section--dark .p-stat { border-right-color: var(--line); }
.p-section--dark .p-stat strong { color: var(--bone); }
.p-section--dark .p-stat span { color: var(--muted); }

/* cards */
.p-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.p-case {
  padding: 24px;
  border: 1px solid var(--line-dark);
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.p-case small {
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plat-deep);
}

.p-case h3 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.p-case p {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted-dark);
}

/* FAQ */
.p-faq { border-top: 1px solid var(--line-dark); }

.p-faq details {
  border-bottom: 1px solid var(--line-dark);
}

.p-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; color: var(--plat-deep); font-family: var(--sans); }
.p-faq details[open] summary::after { content: "−"; }

.p-faq details p {
  max-width: 70ch;
  padding: 0 0 22px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}

/* contact */
.p-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.p-contact h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 400;
  line-height: 0.98;
}

.p-contact h2 em { color: var(--plat-light); font-style: normal; }

.p-contact__lead {
  max-width: 42ch;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.p-contact__meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

.p-form .field { margin-bottom: 22px; }

.p-form label {
  display: block;
  margin-bottom: 9px;
  font-size: 7.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-form input,
.p-form textarea {
  width: 100%;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(240, 241, 239, 0.24);
  background: transparent;
  font-size: 14px;
  outline: none;
  color: var(--bone);
  transition: border-color 0.3s;
}

.p-form textarea { min-height: 62px; resize: vertical; }
.p-form input:focus,
.p-form textarea:focus { border-color: var(--plat); }
.p-form input::placeholder,
.p-form textarea::placeholder { color: rgba(240, 241, 239, 0.3); }

.p-form .p-btn { width: 100%; margin-top: 4px; }

.p-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
}

.p-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  border: 1px solid rgba(240, 241, 239, 0.35);
  appearance: none;
  background: transparent;
  flex: none;
  cursor: pointer;
  position: relative;
}

.p-consent input:checked { background: var(--plat); border-color: var(--plat); }

.p-consent input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
}

.p-consent a { border-bottom: 1px solid rgba(174, 190, 201, 0.45); }
.p-form__note { margin-top: 12px; font-size: 9px; line-height: 1.6; color: var(--muted); }
.p-form__status { min-height: 18px; margin-top: 10px; font-size: 10px; color: var(--plat-light); }
.p-form__status a { color: var(--plat-light); border-bottom: 1px solid var(--plat); }
.p-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* CTA strip */
.p-cta {
  padding: clamp(60px, 7vw, 90px) 0;
  background: var(--plat);
  color: var(--ink);
}

.p-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.p-cta h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.p-cta .p-btn--fill {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.p-cta .p-btn--fill:hover { color: var(--ink); background: transparent; }

/* footer */
.p-footer {
  padding: 46px 0 28px;
  background: var(--ink);
}

.p-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.p-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.p-footer__nav a { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.p-footer__nav a:hover { color: var(--plat-light); }
.p-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6d757c; }
.p-footer__bottom a { color: var(--muted); }

.p-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.p-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .p-nav, .p-header .p-btn { display: none; }
  .p-burger { display: block; margin-left: auto; }
  .p-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .p-hero__aside { max-width: 420px; }
  .p-head { grid-template-columns: 1fr; gap: 20px; }
  .p-head p { justify-self: start; }
  .p-signals { grid-template-columns: 1fr 1fr; }
  .p-process { grid-template-columns: 1fr 1fr; }
  .p-step:nth-child(2) { border-right: 0; }
  .p-step:nth-child(3), .p-step:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .p-context { grid-template-columns: 1fr; gap: 32px; }
  .p-cases { grid-template-columns: 1fr; }
  .p-contact { grid-template-columns: 1fr; gap: 40px; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .p-stat:nth-child(2) { border-right: 0; }
  .p-stat:nth-child(3), .p-stat:nth-child(4) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 720px) {
  .p-header__inner { height: 74px; }
  .p-hero { padding: 110px 0 56px; min-height: auto; }
  .p-hero h1 { font-size: clamp(32px, 9.2vw, 48px); }
  .p-hero__lead { font-size: 13px; }
  .p-hero__actions .p-btn { flex: 1 1 auto; }
  .p-hero__aside { padding: 20px; }
  .p-signals { grid-template-columns: 1fr; }
  .p-work__row { grid-template-columns: 34px 1fr; gap: 10px 14px; }
  .p-work__row p { grid-column: 2; }
  .p-process { grid-template-columns: 1fr; }
  .p-step { border-right: 0; border-top: 1px solid var(--line-dark); padding: 20px 0; }
  .p-step:first-child { border-top: 0; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .p-cta__inner { display: block; }
  .p-cta .p-btn { margin-top: 24px; width: 100%; }
  .p-footer__top { align-items: flex-start; flex-direction: column; }
  .p-footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .p-reveal { opacity: 1; transform: none; }
}
