/* Log — design tokens lifted from the app (July 2026 handoff) */
:root {
  --pink-100: #fdf1f7;
  --pink-200: #f9a8c8;
  --pink-400: #fb7185;
  --pink-500: #ec4899;
  --pink-700: #be185d;
  --pink-800: #9d174d;

  --ink: #17141a;
  --surface-subtle: #faf8fb;
  --surface-input: #f6f3f7;

  --muted: #a09aa8;
  --secondary: #5b5563;
  --body: #4a4350;
  --hairline: #f3eff4;

  --green-bg: #eefbf3;
  --green-fg: #0f7a4d;

  --grad-primary: linear-gradient(150deg, #fb7185, #ec4899 55%, #be185d);
  --grad-dark: linear-gradient(155deg, #17141a 25%, #4a1030 70%, #9d174d);

  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.6);
}

.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand span {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.55px;
}

/* Centre column — links sit in the middle, Cal-AI style. */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.nav-menu a:hover {
  color: var(--pink-700);
}

.nav-end {
  display: flex;
  justify-content: flex-end;
}

/* ---------- App Store badge ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 13px;
  padding: 9px 18px 9px 15px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -16px rgba(23, 20, 26, 0.8);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store-badge span {
  display: grid;
  text-align: left;
}

.store-badge small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  opacity: 0.85;
}

.store-badge strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.store-badge-lg {
  padding: 12px 24px 12px 20px;
  border-radius: 16px;
  gap: 12px;
}

.store-badge-lg svg {
  width: 30px;
  height: 30px;
}

.store-badge-lg small {
  font-size: 11px;
}

.store-badge-lg strong {
  font-size: 21px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 14px 26px -12px rgba(236, 72, 153, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(236, 72, 153, 0.8);
}

.btn-ghost {
  background: var(--surface-input);
  color: var(--secondary);
}

.btn-ghost:hover {
  background: var(--hairline);
}

/* ---------- Hero ---------- */
.hero {
  /* Light, like the product's own screens — the dark moment comes later, in
     the privacy band, where it actually means something. */
  background:
    radial-gradient(80% 70% at 82% 34%, rgba(236, 72, 153, 0.14), transparent 70%),
    radial-gradient(60% 60% at 8% 10%, rgba(251, 113, 133, 0.09), transparent 70%),
    #fff;
  padding: 40px 0 52px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-200);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(40px, 4.9vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 24px;
}

.h1-name {
  display: block;
  margin-bottom: 6px;
}

.hero p.lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 600;
  margin: 0 0 34px;
  max-width: 27em;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Hero phones ---------- */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  /* Everything inside is sized in %, so the whole cluster scales as one. */
  aspect-ratio: 10 / 11.2;
}

.phone {
  position: absolute;
  width: 43.5%;
  padding: 1.6%;
  border-radius: 15%/6.8%;
  background: #100d13;
  box-shadow:
    0 34px 60px -28px rgba(23, 20, 26, 0.65),
    0 4px 14px -6px rgba(23, 20, 26, 0.25);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 13%/6%;
}

.phone-a {
  left: 0;
  top: 11%;
  transform: rotate(-2.5deg);
  z-index: 2;
}

.phone-b {
  right: 0;
  top: 0;
  transform: rotate(2.5deg);
  z-index: 2;
}

.chip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 1px;
  background: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow:
    0 14px 28px -12px rgba(23, 20, 26, 0.4),
    0 2px 6px -2px rgba(23, 20, 26, 0.16);
}

.chip small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chip strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}

.dot-green {
  background: #22c55e;
}

.dot-red {
  background: #ef4444;
}

/* Chips hang off the outer edges so they never sit on a name or a score. */
.chip-1 {
  right: 36%;
  top: 15%;
}

.chip-2 {
  right: -4%;
  top: 46%;
}

.chip-3 {
  left: -4%;
  top: 57%;
}

/* ---------- Sections ---------- */
section {
  padding: 104px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 12px 0 16px;
}

.section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 600;
  margin: 0;
}

.eyebrow-dark {
  color: var(--pink-700);
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface-subtle);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--hairline);
}

.feature .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--pink-100);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.feature p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 600;
  margin: 0;
}

/* ---------- Showcase ---------- */
.showcase {
  background: var(--surface-subtle);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.shot {
  text-align: center;
}

.shot img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 22px 44px -22px rgba(23, 20, 26, 0.45);
  border: 1px solid rgba(23, 20, 26, 0.06);
  display: block;
}

.shot h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 22px 0 6px;
  letter-spacing: -0.02em;
}

.shot p {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Privacy band ---------- */
.privacy-band {
  background: var(--grad-dark);
  color: #fff;
}

.privacy-band .section-head h2,
.privacy-band .section-head p {
  color: #fff;
}

.privacy-band .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.promise {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.promise h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 8px;
}

.promise p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin: 0;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  border-radius: 26px;
  padding: 34px;
  border: 1px solid var(--hairline);
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(23, 20, 26, 0.3);
}

.plan.pro {
  background: var(--grad-dark);
  color: #fff;
  border: none;
}

.plan h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.plan.pro h3 {
  color: var(--pink-200);
}

.price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
}

.price small {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
}

.plan li {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.plan.pro li {
  color: rgba(255, 255, 255, 0.78);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 9px;
  border-left: 2.5px solid var(--pink-500);
  border-bottom: 2.5px solid var(--pink-500);
  transform: rotate(-45deg);
}

.plan.pro li::before {
  border-color: var(--pink-200);
}

.badge-once {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-bg);
  color: var(--green-fg);
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 11px;
  margin-top: 22px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 20px 24px;
}

details[open] {
  background: var(--pink-100);
  border-color: transparent;
}

summary {
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 800;
  color: var(--pink-700);
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  font-weight: 600;
  margin: 14px 0 0;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
  background: #fff;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}

.foot-links a:hover {
  color: var(--pink-700);
}

.copyright {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Legal / doc pages ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 10px;
}

.doc .updated {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 40px;
}

.doc h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 34px 0 10px;
}

.doc h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  font-weight: 600;
}

.doc ul {
  padding-left: 22px;
}

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

.doc a {
  color: var(--pink-700);
  font-weight: 700;
}

.callout {
  background: var(--pink-100);
  border-radius: 20px;
  padding: 24px 28px;
  margin: 32px 0;
}

.callout p {
  margin: 0;
  color: var(--pink-800);
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero p.lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stage {
    max-width: 480px;
    margin-top: 16px;
  }

  .nav .wrap {
    grid-template-columns: 1fr auto;
    height: 72px;
  }

  .nav-menu {
    display: none;
  }

  .features,
  .shots,
  .promises,
  .plans {
    grid-template-columns: 1fr;
  }

  .promises {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .promises {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px 0 64px;
  }

  /* The cluster keeps its proportions, so only the chip text needs a nudge. */
  .chip {
    border-radius: 10px;
    padding: 5px 9px;
  }

  .chip small {
    font-size: 8px;
  }

  .chip strong {
    font-size: 13px;
  }

  .dot {
    width: 5px;
    height: 5px;
    margin-right: 4px;
  }

  .store-badge strong {
    font-size: 15px;
  }

  .hero-cta .btn-ghost {
    padding: 13px 20px;
  }
}
