/*
Theme Name: 99tracer
Theme URI: https://tracer99.tomdancu.chatgpt.site/
Author: 99tracer
Description: Responsive 99tracer landing page and pricing theme for WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tracer99
*/

:root {
  color-scheme: light;
  --ink: #101818;
  --muted: #53615f;
  --line: #dce4e1;
  --soft: #f5f8f6;
  --panel: #ffffff;
  --green: #159a83;
  --green-dark: #0f6f61;
  --orange: #ff7a2f;
  --gold: #f5c451;
  --blue: #2384d1;
  --shadow: 0 18px 45px rgba(19, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 251, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
}

nav a,
.header-action,
.back-link,
.feature-link,
.outline-action,
.checkout-row a,
.side-menu a {
  text-decoration: none;
}

nav a {
  color: var(--muted);
}

.header-action,
.solid-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.72fr) minmax(280px, 1fr);
  grid-template-areas:
    "title title title"
    "personal handoff business";
  gap: 30px 36px;
  align-items: start;
  min-height: calc(100vh - 64px);
  padding: 48px 44px 52px;
  background:
    linear-gradient(110deg, rgba(21, 154, 131, 0.09), rgba(255, 255, 255, 0) 55%),
    #fbfcfb;
}

.hero-title {
  grid-area: title;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-title h1 {
  max-width: none;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
}

.hero-title .eyebrow {
  margin-bottom: 10px;
}

.hero-title .lead {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 17px;
}

.slogan {
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: 23px;
  font-weight: 800;
}

.hero-use {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-use-personal {
  grid-area: personal;
}

.hero-use-business {
  grid-area: business;
}

.mail-screen {
  aspect-ratio: 1.36;
  margin: 0;
  border: 1px solid #cfe3ea;
  border-radius: 8px;
  background: #eaf8fb;
  box-shadow: 0 14px 32px rgba(19, 32, 29, 0.1);
  overflow: hidden;
}

.mail-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-copy {
  max-width: 500px;
}

.use-copy h2 {
  margin-bottom: 6px;
  font-size: 28px;
}

.use-copy p {
  color: var(--muted);
}

.use-copy .use-kicker {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-handoff {
  grid-area: handoff;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding-top: 8px;
}

.handoff-arrow {
  color: var(--ink);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 0;
}

.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.hero-image {
  margin: 0;
  width: min(255px, 90%);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 0;
  padding: 18px 44px;
  border-top: 1px solid #cfe3ea;
  border-bottom: 1px solid #cfe3ea;
  background: #effaff;
}

.proof-strip > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-right: 1px solid #cfe3ea;
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.proof-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.receipt-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.receipt-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #10201d;
  color: #fff;
}

.receipt-card-top span {
  color: #cfe2dc;
  font-size: 13px;
}

.receipt-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.receipt-card div {
  display: grid;
  gap: 5px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.receipt-card div:last-child {
  border-bottom: 0;
}

.receipt-card dt {
  color: var(--muted);
  font-size: 13px;
}

.receipt-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.article-band {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(520px, 1fr);
  gap: 44px;
  padding: 58px 44px 64px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.toc-box {
  position: sticky;
  top: 86px;
  display: grid;
  align-self: start;
  gap: 10px;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.toc-box strong {
  margin-bottom: 4px;
}

.toc-box a {
  color: var(--muted);
  text-decoration: none;
}

.article-copy {
  max-width: 880px;
}

.article-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}

.article-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.signal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 20px;
}

.signal-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.signal-grid p {
  color: var(--muted);
}

.billing-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(640px, 1.55fr);
  gap: 34px;
  padding: 54px 44px 42px;
  scroll-margin-top: 78px;
}

.billing-intro {
  padding-top: 6px;
}

.crumb {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  font-size: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
}

.feature-link {
  display: inline-block;
  margin: 8px 0 72px;
  color: var(--blue);
  font-weight: 700;
}

.trust-panel {
  display: grid;
  gap: 14px;
  max-width: 410px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.trust-panel div {
  display: grid;
  gap: 4px;
}

.trust-panel span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(19, 32, 29, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.price-card:hover,
.price-card.selected {
  transform: translateY(-3px);
  border-color: rgba(21, 154, 131, 0.55);
  box-shadow: var(--shadow);
}

.price-card.selected {
  background:
    linear-gradient(140deg, rgba(255, 122, 47, 0.18), rgba(245, 196, 81, 0.2) 32%, rgba(255, 255, 255, 0) 55%),
    #fff;
}

.fit {
  min-height: 18px;
  margin-bottom: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.plan-top {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.plan-top h2 {
  margin: 0;
  font-size: 22px;
}

.badge {
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
}

.badge.strong {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.badge.value {
  border-color: var(--green);
  color: var(--green-dark);
}

.price-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
}

.price-line span:last-child,
.equivalent,
.feature-list {
  color: var(--muted);
  font-size: 13px;
}

.signup-form input,
.signup-form select {
  width: 100%;
  height: 42px;
  border: 1px solid #cbd6d2;
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
}

.equivalent {
  margin: 2px 0 24px;
}

.price-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.feature-list span {
  color: var(--green-dark);
}

.plan-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.price-card.selected .plan-button,
.plan-button:hover {
  background: var(--ink);
  color: #fff;
}

.checkout-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  margin-top: 20px;
}

.checkout-row article,
.flow-step,
.plain-list,
.signup-form,
.dashboard-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.checkout-row article {
  padding: 22px;
}

.checkout-row h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.checkout-row p,
.split-band p,
.section-heading p,
.flow-step p,
.signup-form label,
.site-footer {
  color: var(--muted);
}

.app-band,
.dashboard-band,
.split-band {
  padding: 68px 44px;
  border-top: 1px solid var(--line);
}

.app-band {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.split-band h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
}

.flow-step {
  padding: 20px;
}

.flow-step span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.flow-step h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

.plain-list {
  padding: 24px;
}

.plain-list h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.plain-list ul {
  margin: 0 0 22px;
  padding-left: 19px;
  color: var(--muted);
}

.dashboard-band {
  background: #fff;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(19, 32, 29, 0.08);
}

.side-menu {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #f7faf8;
}

.side-menu strong {
  margin-bottom: 12px;
  font-size: 19px;
}

.side-menu a {
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--muted);
}

.side-menu a.active {
  background: var(--ink);
  color: #fff;
}

.dashboard-main {
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.metric-row div,
.receipt-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.receipt-preview dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.receipt-preview div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}

.receipt-preview dt {
  color: var(--muted);
}

.receipt-preview dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.privacy {
  background: var(--soft);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 44px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .article-band,
  .billing-hero,
  .split-band {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    grid-template-areas:
      "title title"
      "personal business"
      "handoff handoff";
    min-height: auto;
  }

  .hero-handoff {
    grid-template-columns: auto minmax(220px, 300px) auto;
    align-items: center;
  }

  .hero-actions {
    display: grid;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .toc-box {
    position: static;
  }

  .feature-link {
    margin-bottom: 32px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .flow-rail {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .landing-hero,
  .article-band,
  .billing-hero,
  .app-band,
  .dashboard-band,
  .split-band {
    padding: 30px 18px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "personal"
      "handoff"
      "business";
    gap: 28px;
  }

  .hero-title h1 {
    font-size: 42px;
  }

  .slogan {
    font-size: 20px;
  }

  .hero-handoff {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-height: 260px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 10px 18px;
  }

  .proof-strip > div,
  .proof-strip > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #cfe3ea;
    padding: 12px 0;
  }

  .proof-strip > div:last-child {
    border-bottom: 0;
  }

  .pricing-grid,
  .checkout-row,
  .flow-rail,
  .signal-grid,
  .dashboard-shell,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .receipt-preview div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
