@charset "UTF-8";

/* ==========================================================================
   SOBRIETY TRACKER — BESPOKE PRODUCT THEME
   Inspired by Ping & Myra Craftsmanship
   ========================================================================== */

:root {
  --sob-ink: #121417;
  --sob-paper: #fbf9f5;
  --sob-cream: #f3efe6;
  --sob-card: #ffffff;
  --sob-card-hover: #fdfcf9;
  --sob-muted: #525966;
  --sob-line: #e2ded5;
  --sob-line-light: #ece8df;
  --sob-amber: #d97706;
  --sob-amber-light: #fef3c7;
  --sob-beacon: #f59e0b;
  --sob-sage: #059669;
  --sob-sage-light: #ecfdf5;
  --sob-twilight: #161824;
  --sob-twilight-surface: #1e2233;
  --sob-twilight-text: #f1f4f9;
  --sob-stage-bg: radial-gradient(circle at 50% 20%, #2a2542 0%, #13141f 85%);
  --sob-phone-border: #14171d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

/* Base & Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--sob-paper);
  color: var(--sob-ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sob-beacon); outline-offset: 5px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; font-weight: 800; color: var(--sob-ink); }
p + p { margin-top: 1rem; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--sob-beacon);
  color: #121417;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Navigation */
.site-nav {
  background: rgba(243, 239, 230, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sob-line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all .25s ease;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.04em;
  color: var(--sob-ink);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.brand small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--sob-muted);
  text-transform: uppercase;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--sob-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--sob-ink); }
.nav-links .nav-download {
  background: var(--sob-ink);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-links .nav-download:hover {
  background: var(--sob-amber);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Typography Helpers */
.eyebrow {
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sob-amber);
}

/* Hero Section */
.hero {
  background: var(--sob-cream);
  overflow: hidden;
  border-bottom: 1px solid var(--sob-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 76px 72px;
}
.release-pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: .09em;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid var(--sob-line);
  background: #ffffff;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.release-pill span {
  background: var(--sob-amber);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1.05;
}
.hero h1 span {
  display: block;
  color: var(--sob-amber);
}
.hero-copy > p {
  font-size: 17.5px;
  max-width: 480px;
  margin-top: 24px;
  color: var(--sob-muted);
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 26px;
  background: var(--sob-ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(18, 20, 23, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.button svg { width: 20px; height: 20px; flex-shrink: 0; }
.button:hover {
  background: var(--sob-amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sob-ink);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.hero-copy .fine-print {
  font-size: 12.5px;
  margin-top: 22px;
  color: var(--sob-muted);
  line-height: 1.5;
}

/* Dual Phone Hero Art Stage */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 590px;
  padding: 30px 24px 60px;
  background: var(--sob-stage-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 350px at 50% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}
.phone {
  position: relative;
  z-index: 2;
  width: 47%;
  max-width: 260px;
  border: 6px solid var(--sob-phone-border);
  border-radius: 34px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}
.phone:first-of-type {
  transform: rotate(-5deg) translateY(-8px);
}
.phone:nth-of-type(2) {
  transform: rotate(5deg) translateY(16px);
}
.hero-art:hover .phone:first-of-type {
  transform: rotate(-2deg) translateY(-14px);
}
.hero-art:hover .phone:nth-of-type(2) {
  transform: rotate(2deg) translateY(8px);
}
.art-label {
  position: absolute;
  bottom: 18px;
  left: 24px;
  max-width: calc(100% - 48px);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
}

/* Value Strip */
.free-strip {
  background: var(--sob-ink);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.free-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-block: 22px;
  font-size: 13.5px;
  font-weight: 600;
}
.free-inner strong {
  color: var(--sob-beacon);
  font-size: 19px;
  letter-spacing: -.03em;
}
.free-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.free-inner span::before {
  content: "•";
  color: var(--sob-beacon);
  font-size: 14px;
}

/* Sections */
.section { padding-block: 96px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  margin-top: 10px;
}
.section-heading > p {
  font-size: 17px;
  color: var(--sob-muted);
  max-width: 460px;
}

/* 6-Up Platform Capability Suite Grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform {
  background: var(--sob-card);
  border: 1px solid var(--sob-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.platform:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}
.platform h3 {
  font-size: 21px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.platform p {
  font-size: 14.5px;
  color: var(--sob-muted);
  line-height: 1.6;
}

/* Feature Spotlights (Alternating Rows) */
.features { background: var(--sob-paper); }
.feature-grid {
  display: grid;
  gap: 48px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  background: var(--sob-cream);
  border: 1px solid var(--sob-line);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.feature:nth-child(even) {
  direction: rtl;
}
.feature:nth-child(even) > * {
  direction: ltr;
}
.feature figure {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
  border: 5px solid var(--sob-ink);
  background: #000000;
}
.feature .number {
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sob-amber);
}
.feature h3 {
  font-size: clamp(28px, 2.8vw, 38px);
  margin-top: 14px;
  margin-bottom: 18px;
}
.feature p {
  font-size: 16px;
  color: var(--sob-muted);
  line-height: 1.65;
}
.feature ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--sob-muted);
}
.feature li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

/* Empathetic Relapse Highlight Box */
.compassion-banner {
  background: linear-gradient(135deg, #181b26 0%, #0f1118 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}
.compassion-banner h2 {
  color: #ffffff;
  font-size: clamp(30px, 3.2vw, 44px);
  margin-bottom: 16px;
}
.compassion-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}
.compassion-banner figure {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  border: 5px solid #2a2e3d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Appearance Section */
.appearance-section {
  background: var(--sob-cream);
  border-top: 1px solid var(--sob-line);
  border-bottom: 1px solid var(--sob-line);
}
.appearance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.icon-item {
  text-align: center;
}
.icon-item img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 8px;
  border: 1px solid var(--sob-line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.icon-item span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sob-muted);
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.faq-card {
  background: var(--sob-card);
  border: 1px solid var(--sob-line);
  border-radius: var(--radius-md);
  padding: 30px;
}
.faq-card h3 {
  font-size: 18.5px;
  margin-bottom: 12px;
}
.faq-card p {
  font-size: 14.5px;
  color: var(--sob-muted);
  line-height: 1.6;
}

/* Final Closing CTA */
.closing-stage {
  background: var(--sob-ink);
  color: #ffffff;
  padding-block: 84px;
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-inner h2 {
  color: #ffffff;
  font-size: clamp(38px, 4.4vw, 56px);
  margin-bottom: 18px;
}
.closing-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  margin-bottom: 32px;
}
.closing-inner .button {
  background: #ffffff;
  color: var(--sob-ink);
  font-size: 15px;
  font-weight: 800;
  padding: 16px 32px;
}
.closing-inner .button:hover {
  background: var(--sob-beacon);
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #0d0f13;
  color: #a0a6b5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 48px 32px;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .feature:nth-child(even) { direction: ltr; }
  .compassion-banner { grid-template-columns: 1fr; padding: 36px; }
  .appearance-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .nav-inner { min-height: 72px; }
  .brand { font-size: 20px; }
  .brand small { display: none; }
  .nav-links a.nav-secondary { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-art { min-height: 420px; padding: 20px; }
  .phone { width: 48%; border-width: 4px; border-radius: 22px; }
  .platform-grid { grid-template-columns: 1fr; }
  .free-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
