/* AML Casework — landing page
   Ported from the Claude Design prototype "AML Casework Landing v3.dc.html".
   Values (colors, spacing, type scale) are taken verbatim from that file. */

:root {
  --ink:            #101B2D;
  --ink-panel:      #152238;
  --blue:           #2B5FD9;
  --blue-hover:     #2350BC;
  --blue-light:     #7CA5F5;
  --blue-bg:        #E8EFFD;
  --muted:          #455471;
  --grey:           #7C8CA6;
  --border:         #E3EAF3;
  --tint:           #F6F9FC;
  --panel:          #EEF3F9;
  --img-border:     #CFDAE8;
  --red:            #C33A3E;
  --amber:          #A96A05;
  --green:          #17845A;
  --on-dark:        #E3EAF3;
  --on-dark-muted:  #B7C2D4;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1140px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 96px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

img, svg { max-width: 100%; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- shared blocks ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; }

.section { padding: var(--section-y) var(--gutter); }
.section--tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--grey);
  font-weight: 600;
}
.kicker--light { color: var(--blue-light); }

.h2 {
  margin: 14px 0 0;
  font-size: clamp(1.65rem, 3.3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.h2--narrow { max-width: 20em; }
.h2--narrow-22 { max-width: 22em; text-wrap: pretty; }
.h2--sm { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.h2--light { max-width: 20em; text-wrap: pretty; }
.h2--spaced { margin-top: var(--section-y); }

.lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.lead--wide { max-width: 640px; margin-top: 16px; }

.card__title {
  margin: 10px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.card__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--sm { font-size: 13.5px; padding: 9px 16px; }
.btn--lg { font-size: 15px; padding: 14px 26px; justify-self: start; }
.btn--ghost {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 22px;
}
.btn--ghost:hover { border-color: rgba(255,255,255,.55); color: #fff; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  color: #FFFFFF;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--border);
  color: var(--ink);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__logo { display: flex; align-items: center; flex: none; }
.logo { display: block; height: 24px; width: auto; }
.logo--on-light { display: none; }
.site-header.is-scrolled .logo--on-dark { display: none; }
.site-header.is-scrolled .logo--on-light { display: block; }

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  opacity: .82;
}
.site-nav a { color: inherit; }
.site-nav a:hover { color: inherit; opacity: 1; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-family: var(--font-mono);
}
.lang__btn {
  background: none;
  border: none;
  padding: 3px 5px;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: .5;
  font-weight: 400;
}
.lang__btn.is-active { opacity: 1; font-weight: 700; }
.lang__sep { opacity: .35; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 420px at 12% -5%, rgba(43,95,217,.42), transparent 70%),
    radial-gradient(520px 380px at 92% 18%, rgba(195,58,62,.22), transparent 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 168px) var(--gutter) clamp(72px, 10vw, 104px);
}
.hero__title {
  margin: 20px 0 0;
  font-size: clamp(2.25rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 16em;
  text-wrap: pretty;
}
.hero__list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 640px;
}
.hero__item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--on-dark);
}
.hero__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--blue-light);
  letter-spacing: 0.04em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--on-dark-muted);
}
.chip {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- 01 · problem ---------- */

.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.problem { border-top: 3px solid var(--red); padding-top: 18px; }
.problem__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.04em;
}

/* ---------- 02 · product ---------- */

.steps {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.step {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex: 1 1 240px;
  min-width: 0;
}
.step__body { flex: 1; min-width: 0; }
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.step__arrow {
  flex: none;
  display: flex;
  align-items: center;
  color: var(--blue);
}

.figure { margin: 56px 0 0; }
.figure--tight { margin-top: 40px; }
.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--img-border);
  box-shadow: 0 24px 60px -24px rgba(16,27,45,.28);
}
.figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--grey);
  max-width: 56em;
}

/* ---------- 03 · inside a case ---------- */

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(16,27,45,.3);
}
.case-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.case-card__tag--blue  { color: var(--blue); }
.case-card__tag--amber { color: var(--amber); }
.case-card__tag--green { color: var(--green); }
.case-card__title {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- 04 · why it works ---------- */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.compare__panel { border-radius: 10px; padding: 28px; }
.compare__panel--old { background: var(--panel); border: 1px solid var(--border); }
.compare__panel--new { background: var(--blue-bg); border: 1px solid var(--blue); }
.compare__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.compare__panel--new .compare__title { color: var(--blue); }
.compare__list { display: grid; gap: 14px; margin-top: 20px; }
.compare__row {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.compare__panel--new .compare__row { color: var(--ink); }
.compare__mark { flex: none; font-family: var(--font-mono); color: var(--grey); }
.compare__panel--new .compare__mark { color: var(--blue); }

.cycle {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  overflow-x: auto;
}
.cycle__text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 05 · for the business ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.benefit { border-left: 2px solid var(--blue); padding-left: 20px; }
.benefit__title { margin: 0; font-size: 1.0625rem; font-weight: 600; }

/* ---------- 06 · custom modules ---------- */

.custom {
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 56px;
}

/* ---------- 07 · what you're choosing between ---------- */

.alts { margin-top: 40px; border-top: 1px solid var(--border); }
.alt {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.alt__name { font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.alt__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.alt--ours {
  padding: 24px 28px;
  margin-top: 20px;
  background: var(--blue-bg);
  border: 1px solid var(--blue);
  border-radius: 10px;
}
.alt--ours .alt__name { color: var(--blue); }
.alt--ours .alt__text { color: var(--ink); }

/* ---------- 08 · pricing ---------- */

.pricing {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.pricing__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 400px at 88% 108%, rgba(43,95,217,.4), transparent 70%);
}
.pricing__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.price-card {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
}
.price-card__left {
  background: var(--ink);
  padding: 40px 36px;
  display: grid;
  align-content: space-between;
  gap: 28px;
}
.price-card__right { background: var(--ink-panel); padding: 40px 36px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__unit { font-size: 15px; color: var(--on-dark-muted); }
.price__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.incl__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  font-weight: 600;
}
.incl__list { display: grid; gap: 14px; margin-top: 20px; }
.incl__row {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark);
}
.incl__mark { flex: none; color: var(--blue-light); font-family: var(--font-mono); }

/* ---------- footer ---------- */

.site-footer { padding: 48px var(--gutter); border-top: 1px solid var(--border); }
.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.site-footer__logo { display: block; height: 26px; width: auto; }
.site-footer__meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.7;
}
.site-footer__meta a { color: inherit; }
.site-footer__meta a:hover { color: var(--blue); }
.site-footer__copy { margin-top: 20px; font-size: 12.5px; color: var(--grey); }
.site-footer__disclaimer {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--grey);
  max-width: 44em;
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .site-nav { display: none; }
}

@media (max-width: 700px) {
  .custom { padding: 32px 24px; }
  .alt { grid-template-columns: 1fr; gap: 8px; }
  .alt--ours { padding: 24px; }
  /* Stacked steps read better without a right-pointing arrow at the end of each. */
  .step__arrow { display: none; }
  .steps { padding: 28px 24px; }
  .price-card__left,
  .price-card__right { padding: 32px 24px; }
}
