/* Eacy marketing site — Direction A (Editorial Calm), from website_redesign/ */
:root {
  --n900: #171717;
  --n700: #404040;
  --n500: #737373;
  --n400: #a3a3a3;
  --n300: #d4d4d4;
  --n200: #e5e5e5;
  --n100: #f5f5f5;
  --hero: #f5f2ed;
  --warm2: #efeae1;
  --page: #fff;
  --tight: -0.02em;
  --tighter: -0.03em;
  --shadow-card: 0 12px 24px rgba(15, 23, 41, 0.06);
  --shadow-soft: 0 24px 60px -20px rgba(15, 23, 41, 0.18);
  --shadow-chip: 0 14px 16px rgba(15, 23, 41, 0.08), 0 2px 3px rgba(15, 23, 41, 0.08);
  --gutter: clamp(22px, 6vw, 96px);
  --maxw: 1240px;
  --measure: 34rem;
  --legal-measure: min(100%, 56rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Legacy aliases */
  --neutral-900: var(--n900);
  --neutral-700: var(--n700);
  --neutral-500: var(--n500);
  --neutral-400: var(--n400);
  --neutral-200: var(--n200);
  --hero-bg: var(--hero);
  --page-bg: var(--page);
  --page-gutter: var(--gutter);
  --copy-measure: var(--measure);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[id="how"],
[id="faq"] {
  scroll-margin-top: 80px;
}

html, body { margin: 0; padding: 0; }

body {
  background: var(--page);
  color: var(--n900);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--n200);
  transition: transform 0.3s var(--ease);
}

.hdr.hide { transform: translateY(-100%); }

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  box-sizing: border-box;
}

.hdr-end {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-left: auto;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--n900);
}

.brand img { height: 30px; width: auto; }

.brand b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: var(--tight);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--n500);
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover { color: var(--n900); }

.hdr-act {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hdr-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.hdr-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.hdr-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
}

.lang a,
.lang .on {
  color: var(--n400);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.lang a:hover { color: var(--n700); }

.lang a.on,
.lang .on {
  color: var(--n900);
  cursor: default;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--n900);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font: 600 15px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), opacity 0.15s, box-shadow 0.25s var(--ease);
}

.btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(23, 23, 23, 0.5);
}

.btn:active { transform: translateY(0) scale(0.99); }

.badge { display: inline-block; line-height: 0; }

.badge img {
  height: 54px;
  width: auto;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.badge:hover img {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* Hero — Direction A */
.heroA {
  padding-top: clamp(56px, 9vh, 110px);
  padding-bottom: clamp(64px, 10vh, 120px);
  overflow: hidden;
}

.heroA-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.heroA h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.heroA h1 .q { color: var(--n900); }

.heroA .sub {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: var(--n500);
  margin: 30px 0 0;
  max-width: 30rem;
}

.heroA .sub b {
  color: var(--n900);
  font-weight: 600;
}

.heroA .cta {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.lead-in {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 500;
  color: var(--n500);
  letter-spacing: -0.01em;
}

.lead-in img {
  height: 18px;
  width: auto;
  opacity: 0.9;
}

.phonewrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phonewrap::before {
  content: "";
  position: absolute;
  inset: -14% -10% -6% -10%;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 42%, #f5f2ed 0%, rgba(245, 242, 237, 0) 72%);
  z-index: 0;
}

.phonewrap .herophone {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 84%;
  margin: 0 auto;
  transform: rotate(2.5deg);
}

/* Sections */
section { position: relative; }

.band {
  padding-top: clamp(72px, 11vh, 140px);
  padding-bottom: clamp(72px, 11vh, 140px);
}

.band--warm {
  background: var(--hero);
  border-top: 1px solid var(--n200);
  border-bottom: 1px solid var(--n200);
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--n500);
  margin: 0 0 14px;
}

.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: var(--tighter);
  margin: 0;
  text-wrap: balance;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--n500);
  margin: 18px 0 0;
  max-width: var(--measure);
}

.lead--xl {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--n700);
  line-height: 1.4;
}

.pull .h2 {
  font-size: clamp(32px, 5.4vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.pull .h2 .mute { color: var(--n400); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split.rev .media { order: -1; }

.media { position: relative; }

.shot {
  width: clamp(258px, 29vw, 322px);
  margin: 0 auto;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #202022, #0c0c0d);
  box-shadow: 0 54px 96px -32px rgba(15, 23, 41, 0.42), 0 12px 26px -12px rgba(15, 23, 41, 0.22);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border: none;
  border-radius: 38px;
  box-shadow: none;
  object-fit: cover;
  object-position: top center;
}

.split .shot { justify-self: center; }

.steps {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--n200);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--n200);
  transition: padding-left 0.3s var(--ease);
}

.step:hover { padding-left: 10px; }

.step .no {
  font-size: 15px;
  font-weight: 600;
  color: var(--n400);
  font-variant-numeric: tabular-nums;
  padding-top: 8px;
}

.step h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: var(--tight);
  margin: 0;
}

.step p {
  margin: 8px 0 0;
  color: var(--n500);
  font-size: 18px;
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--n200);
}

.faq details {
  border-bottom: 1px solid var(--n200);
  padding: 8px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: var(--tight);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary .pm {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  background: var(--n400);
  transition: transform 0.3s var(--ease);
}

.faq summary .pm::before {
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
}

.faq summary .pm::after {
  top: 3px;
  left: 11px;
  width: 2px;
  height: 18px;
}

.faq details[open] summary .pm::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq p {
  margin: 0 0 20px;
  color: var(--n500);
  font-size: 18px;
  line-height: 1.55;
  max-width: 52ch;
}

.final { text-align: center; }

.final .h2 { margin: 0 auto; max-width: 18ch; }

.final .sub {
  margin: 16px auto 0;
  color: var(--n400);
  font-size: 18px;
}

.final .actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.final .kicker-center {
  display: block;
  text-align: center;
}

.foot {
  border-top: 1px solid var(--n200);
  padding: 48px 0;
  color: var(--n500);
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.foot nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot a {
  color: var(--n500);
  text-decoration: none;
  font-size: 15px;
}

.foot a:hover { color: var(--n900); }

.foot .cr { font-size: 14px; }

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* Legal pages (full-width bands, readable measure) */
.legal-hero {
  padding-top: clamp(40px, 7vh, 72px);
  padding-bottom: clamp(8px, 2vh, 16px);
}

.legal-title {
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 500;
  letter-spacing: var(--tighter);
  margin: 0;
  max-width: var(--legal-measure);
}

.legal-band {
  padding-top: clamp(32px, 5vh, 56px);
  padding-bottom: clamp(72px, 10vh, 120px);
}

.wrap > .legal-doc {
  max-width: var(--legal-measure);
  width: 100%;
}

.legal-doc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--n900);
}

.legal-doc > p:first-child {
  color: var(--n500);
  margin: 0 0 28px;
}

.legal-doc h2 {
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--n900);
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--n900);
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc a {
  color: var(--n900);
}

.legal-doc code {
  font-size: 0.92em;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hdr { transition: none; }
  .step:hover { padding-left: 0; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .hdr-in { gap: 12px; }
  .hdr-end { gap: 12px; }
  .hdr-badge img { height: 36px; }
  .heroA-grid { grid-template-columns: 1fr; }
  .phonewrap { order: -1; }
  .phonewrap .herophone { transform: none; width: 240px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .media { order: 0; }
}

@media (max-width: 520px) {
  .hdr-in { gap: 10px; }
  .hdr-badge img { height: 32px; }
  .lang { font-size: 12px; }
  .brand b { font-size: 18px; }
  .brand img { height: 26px; }
}

@media (max-width: 560px) {
  .heroA h1 { font-size: clamp(36px, 9.5vw, 50px); }
  .heroA .sub { font-size: 18px; margin-top: 22px; }
  .heroA { padding-top: 36px; padding-bottom: clamp(48px, 8vh, 80px); }
  .phonewrap .herophone { width: 215px; }
}
