:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-soft: #151515;
  --bg-panel: rgba(17, 17, 17, 0.88);
  --border: #1f1f1f;
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f4f4;
  --text-muted: #b6b6b6;
  --text-dim: #737373;
  --accent: #c0392b;
  --accent-bright: #d94c3d;
  --accent-soft: rgba(192, 57, 43, 0.14);
  --win: #27ae60;
  --win-soft: rgba(39, 174, 96, 0.16);
  --shadow-lg: 0 26px 90px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 55px rgba(0, 0, 0, 0.32);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(192, 57, 43, 0.18), transparent 22%),
    radial-gradient(circle at 94% 30%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, #121212 0%, #090909 50%, #050505 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
}

.page-glow-left {
  left: -10rem;
  top: -10rem;
  background: var(--accent);
}

.page-glow-right {
  right: -12rem;
  top: 22rem;
  background: white;
  opacity: 0.08;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(12px);
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.section {
  padding: 5.2rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 3rem;
  align-items: center;
  padding-top: 4.6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing-card h2 {
  margin: 0;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.94;
}

.section-heading h2,
.closing-card h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 0.98;
}

.hero-text,
.section-heading p,
.visual-caption,
.copy-card p,
.rule-card p,
.feature-card p,
.compare-card li,
.faq-item p,
.footer-copy,
.closing-card p,
.demo-copy {
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 40rem;
  margin: 1.45rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(180deg, var(--accent-bright) 0%, #af2f23 100%);
  box-shadow: 0 20px 44px rgba(192, 57, 43, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 24px 56px rgba(192, 57, 43, 0.34);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-point,
.copy-card,
.rule-card,
.feature-card,
.compare-card,
.faq-item,
.demo-card,
.metric-box,
.calendar-card,
.history-detail-card,
.review-day,
.reflection-box,
.ring-card,
.bar-card,
.closing-card,
.hero-preview-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 45%),
    rgba(17, 17, 17, 0.88);
  box-shadow: var(--shadow-md);
}

.hero-point {
  padding: 1rem 1.1rem;
}

.hero-point-label,
.demo-label,
.feature-kicker,
.rule-index,
.metric-label,
.reflection-label,
.calendar-topline,
.window-title {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-point-value {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.signal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.signal-chip {
  padding: 0.84rem 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.68);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-preview-card {
  padding: 1.1rem;
}

.preview-window-mini,
.demo-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(10, 10, 10, 0.96);
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.window-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.window-title {
  margin-left: 0.4rem;
}

.mini-preview-layout {
  display: grid;
  grid-template-columns: 11rem 1fr;
  min-height: 34rem;
}

.mini-sidebar,
.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem 1.05rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 45%),
    #111111;
}

.mini-sidebar-item,
.demo-sidebar-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.mini-sidebar-item {
  padding: 0.92rem 1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mini-sidebar-item-active {
  border-color: rgba(192, 57, 43, 0.32);
  background: rgba(192, 57, 43, 0.13);
  color: white;
}

.mini-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.45rem;
}

.mini-topline,
.demo-badge-row,
.history-detail-topline,
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-date,
.demo-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mini-status,
.demo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.demo-pill-danger,
.demo-pill-loss {
  border-color: rgba(192, 57, 43, 0.34);
  background: rgba(192, 57, 43, 0.12);
  color: #f1c1bb;
}

.demo-pill-win {
  border-color: rgba(39, 174, 96, 0.34);
  background: var(--win-soft);
  color: #8ce3b1;
}

.mini-streak {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(192, 57, 43, 0.28);
  border-radius: 1.2rem;
  background: rgba(192, 57, 43, 0.12);
  font-size: 1rem;
  font-weight: 700;
}

.mini-task,
.task-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.05rem;
  padding: 0 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  background: rgba(17, 17, 17, 0.88);
}

.mini-task-complete,
.task-row-complete {
  border-color: rgba(39, 174, 96, 0.28);
}

.mini-task-check,
.task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--win);
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
}

.mini-task-check-pending,
.task-check-pending {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-cta,
.demo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.9rem;
  margin-top: auto;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, var(--accent-bright) 0%, #af2f23 100%);
  box-shadow: 0 18px 34px rgba(192, 57, 43, 0.25);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.visual-caption {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.walkthrough-copy-grid,
.rule-grid,
.feature-grid,
.compare-grid,
.stats-grid,
.metric-grid,
.review-days,
.pricing-grid {
  display: grid;
  gap: 1.2rem;
}

.walkthrough-copy-grid,
.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.copy-card,
.rule-card,
.feature-card,
.compare-card,
.closing-card {
  padding: 1.6rem;
}

.copy-card h3,
.rule-card h3,
.feature-card h3,
.compare-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.24rem;
  line-height: 1.2;
}

.feature-card-accent {
  border-color: rgba(192, 57, 43, 0.24);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.13), transparent 46%),
    rgba(17, 17, 17, 0.94);
}

.pricing-card {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 45%),
    rgba(17, 17, 17, 0.92);
  box-shadow: var(--shadow-lg);
}

.pricing-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.pricing-price {
  margin: 0.35rem 0 0;
  color: white;
  font-size: clamp(3.1rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.pricing-subtitle,
.pricing-copy,
.checkout-note {
  color: var(--text-muted);
  line-height: 1.7;
}

.pricing-subtitle {
  margin: 0.65rem 0 0;
}

.pricing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.pricing-column {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.62);
}

.pricing-column h4 {
  margin: 0;
  color: white;
  font-size: 1.05rem;
}

.pricing-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.pricing-list li {
  color: var(--text-muted);
  line-height: 1.7;
}

.pricing-list li + li {
  margin-top: 0.55rem;
}

.pricing-copy {
  margin: 1rem 0 0;
}

.pricing-actions {
  margin-top: 1.4rem;
}

.checkout-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.checkout-note.checkout-ready {
  color: #8ce3b1;
}

.rule-index {
  display: inline-block;
  margin-bottom: 0.95rem;
  color: var(--accent);
}

.demo-shell {
  margin-top: 2rem;
}

.demo-body {
  display: grid;
  grid-template-columns: 14rem 1fr;
  min-height: 42rem;
}

.demo-sidebar {
  padding: 1.45rem 1.1rem;
}

.demo-sidebar-title {
  margin-bottom: 1.2rem;
  color: white;
}

.demo-nav-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.demo-nav-button:hover,
.demo-nav-button:focus-visible {
  color: white;
  transform: translateX(1px);
}

.demo-nav-button-active {
  border-color: rgba(192, 57, 43, 0.34);
  background: rgba(192, 57, 43, 0.14);
  color: white;
}

.demo-content {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    #0a0a0a;
}

.demo-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.demo-panel[hidden] {
  display: none;
}

.demo-panel-active {
  animation: panel-fade 220ms ease;
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-card {
  padding: 1.45rem;
}

.demo-card-tight {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-title {
  margin: 0.35rem 0 0;
  font-size: 2.15rem;
}

.demo-copy {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.demo-hero-row,
.history-layout,
.review-layout,
.stats-layout,
.stats-panels {
  display: grid;
  gap: 1.15rem;
}

.demo-hero-row {
  grid-template-columns: 1.25fr 0.75fr;
}

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

.metric-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8rem;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.72);
}

.metric-box-danger {
  border-color: rgba(192, 57, 43, 0.3);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.14), transparent 40%),
    rgba(10, 10, 10, 0.8);
}

.metric-value {
  color: white;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.task-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.task-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.task-text {
  font-size: 1rem;
  font-weight: 600;
}

.task-note {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.task-row-complete .task-text {
  color: #9bcfb0;
  text-decoration: line-through;
  text-decoration-color: rgba(39, 174, 96, 0.62);
}

.history-layout,
.review-layout,
.stats-panels {
  grid-template-columns: 1.05fr 0.95fr;
}

.calendar-card,
.history-detail-card,
.reflection-box,
.ring-card,
.bar-card {
  padding: 1.3rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.9rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: rgba(10, 10, 10, 0.72);
}

.calendar-day-empty {
  visibility: hidden;
}

.calendar-day-win {
  border-color: rgba(39, 174, 96, 0.32);
  background: rgba(39, 174, 96, 0.12);
  color: #8ce3b1;
}

.calendar-day-loss {
  border-color: rgba(192, 57, 43, 0.32);
  background: rgba(192, 57, 43, 0.12);
  color: #f1c1bb;
}

.calendar-day-active {
  border-color: rgba(192, 57, 43, 0.46);
  box-shadow: inset 0 0 0 1px rgba(192, 57, 43, 0.26);
  color: white;
}

.history-detail-topline h4 {
  margin: 0.4rem 0 0;
  font-size: 1.45rem;
}

.history-task-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.history-task {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(10, 10, 10, 0.7);
}

.history-task-done {
  border-color: rgba(39, 174, 96, 0.28);
  color: #9bcfb0;
}

.review-days {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-day {
  padding: 1.15rem;
}

.review-day p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.review-summary {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.reflection-box p {
  margin: 0.95rem 0 0;
}

.stats-layout {
  gap: 1.15rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ring-card,
.bar-card {
  min-height: 17rem;
}

.ring-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-chart {
  display: grid;
  place-items: center;
  width: min(17rem, 100%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(10, 10, 10, 1) 0 54%, transparent 55% 100%),
    conic-gradient(var(--accent) 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
}

.ring-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.ring-center strong {
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.ring-center span {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bar-card {
  display: flex;
  align-items: flex-end;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  width: 100%;
  height: 100%;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 14rem;
}

.bar {
  width: 1.2rem;
  border-radius: 999px 999px 0 0;
}

.bar-win {
  background: linear-gradient(180deg, #35d07a 0%, var(--win) 100%);
}

.bar-loss {
  background: linear-gradient(180deg, #da5b4d 0%, var(--accent) 100%);
}

.bar-group label {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.compare-card-good {
  border-color: rgba(192, 57, 43, 0.24);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.12), transparent 46%),
    rgba(17, 17, 17, 0.94);
}

.compare-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.compare-card li + li {
  margin-top: 0.7rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.4rem;
  font-size: 1.02rem;
  font-weight: 700;
}

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

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.35rem;
}

.closing-card {
  padding: 2rem;
}

.closing-card p {
  max-width: 42rem;
  margin-top: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 2.6rem;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.footer-copy {
  max-width: 44rem;
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: white;
}

.policy-wrap {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 860px);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.policy-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 45%),
    rgba(17, 17, 17, 0.9);
  box-shadow: var(--shadow-md);
}

.policy-card h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.05em;
}

.policy-card h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.policy-card p,
.policy-card li {
  color: var(--text-muted);
  line-height: 1.8;
}

.policy-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 1180px) {
  .hero,
  .walkthrough-copy-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview-card {
    max-width: 52rem;
  }
}

@media (max-width: 1080px) {
  .demo-hero-row,
  .history-layout,
  .review-layout,
  .stats-panels,
  .compare-grid,
  .rule-grid,
  .stats-grid,
  .review-days,
  .metric-grid-three,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-points,
  .metric-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .mini-preview-layout,
  .demo-body {
    grid-template-columns: 1fr;
  }

  .mini-sidebar,
  .demo-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .demo-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }

  .demo-sidebar-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .section {
    padding: 3.9rem 0;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .window-title {
    display: none;
  }

  .mini-main,
  .demo-content {
    padding: 1.1rem;
  }

  .mini-date,
  .demo-title {
    font-size: 1.45rem;
  }

  .mini-topline,
  .demo-badge-row,
  .history-detail-topline,
  .review-head,
  .site-footer,
  .pricing-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-points,
  .review-days,
  .walkthrough-copy-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-meta {
    align-items: flex-start;
  }
}
