/* =========================================================
   PulseBreak Landing stylesheet v2
   Pure CSS, system fonts, no external assets.
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f9;
  --color-bg-muted: #fafafa;
  --color-border: #ececf0;
  --color-border-strong: #d9d9de;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-text-soft: #86868b;
  --color-primary: #0071e3;
  --color-primary-hover: #0077ed;
  --color-accent-a: rgba(0, 113, 227, 0.10);
  --color-accent-b: rgba(142, 180, 255, 0.14);
  --color-accent-c: rgba(198, 177, 255, 0.14);
  --color-accent-d: rgba(120, 220, 200, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-mock: 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 60px -20px rgba(0, 0, 0, 0.18),
    0 16px 32px -16px rgba(0, 113, 227, 0.18);

  --max-width: 1120px;
  --section-pad-y: 128px;
  --nav-h: 56px;

  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* Anchor jumps land below the sticky bar + notch. */
  scroll-padding-top: calc(
    max(env(safe-area-inset-top, 0px), 0px) + var(--nav-h) + 6px
  );
  scroll-padding-bottom: max(env(safe-area-inset-bottom, 0px), 0px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-system);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}

/* Split layouts: text + image/visual (alternating via --media-left). */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  width: 100%;
}

.section-split__media {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 100%;
}

.section-split--media-left .section-split__media {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 100%;
  max-width: 100%;
}

.section-split--media-left .section-split__copy {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  max-width: none;
  width: 100%;
}

.section-split__copy {
  min-width: 0;
}

/* Slightly more room for the left column on media-left rows. */
.section-split.section-split--media-left {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

#settings .section-split {
  align-items: start;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--tinted {
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, var(--color-accent-b), transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 100%, var(--color-accent-c), transparent 60%),
    var(--color-bg);
}

.section__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3 {
  color: var(--color-text);
  letter-spacing: 0;
  margin: 0 0 20px;
  font-weight: 600;
}

h1 {
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 600;
}

/* Gradient accent on a highlighted phrase inside a headline. */
.grad {
  background: linear-gradient(100deg, #0071e3 0%, #6b6bd8 45%, #2ab4a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 2px;
}

h2 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 720px;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

p.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 640px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: 0;
  min-width: 0;
  transition: opacity 0.18s ease;
}

.nav__brand:hover {
  opacity: 0.78;
  text-decoration: none;
}

.nav__logo {
  width: 22px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav__links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Only dim plain text links — buttons keep their own colors (fixes white-on-blue bug). */
.nav__links > a:not(.btn) {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .nav__links > a:not(.btn) {
    font-size: 12px;
  }
}

.nav__links > a:not(.btn):hover {
  color: var(--color-text);
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* gap keeps a consistent rhythm between children (e.g. "Download" + version
     pill) inside an inline-flex button — plain whitespace collapses here. */
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary,
.btn--primary:visited {
  background: var(--color-primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--secondary,
.btn--secondary:visited {
  background: var(--color-bg-soft);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--secondary:hover {
  background: #ececf0;
  text-decoration: none;
  color: var(--color-text);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(44px + env(safe-area-inset-top, 0px)) 0 112px;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 10%, var(--color-accent-a), transparent 60%),
    radial-gradient(ellipse 45% 45% at 88% 8%, var(--color-accent-b), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 95%, var(--color-accent-c), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 4vw, 64px);
  align-items: center;
}

.hero__title {
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 20px;
  max-width: 520px;
  font-weight: 400;
  letter-spacing: 0;
}

.hero__support {
  color: var(--color-text-muted);
  max-width: 520px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 10px;
}

.hero__meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__meta .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  outline: 3px solid rgba(52, 199, 89, 0.18);
}

.hero__meta .dot-live--pending {
  background: #ff9f0a;
  outline-color: rgba(255, 159, 10, 0.22);
}

/* NOTE: removed `.macwin*` and old `.menubar*` blocks.
   - `.macwin*` belonged to the CSS-only hero mock (partials/mac-window.php)
     replaced by the real screenshot inside the MacBook mockup.
   - old `.menubar*` / `.menubar__popover` belonged to the rounded popover
     mock, replaced by `.macmenu` + `.macmenu-scene` (realistic native Mac
     dropdown), defined above. Both partials were deleted. */

/* ---------- Prose sections ---------- */

.prose {
  max-width: 680px;
}

.prose p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.prose p.emph {
  color: var(--color-text);
}

.section-split__media .timer-art {
  margin-left: auto;
  margin-right: 0;
}

.problem__split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  align-items: center;
}

.timer-art {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(0, 113, 227, 0.18) 0deg, rgba(0, 113, 227, 0.04) 260deg, rgba(0, 113, 227, 0.18) 360deg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: timerFloat 7s ease-in-out infinite;
  overflow: hidden;
}

.timer-art::before {
  content: "";
  position: absolute;
  inset: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--color-border);
  z-index: 1;
}

.timer-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 113, 227, 0.34) 0deg 28deg, transparent 29deg 360deg);
  animation: timerSweep 9s linear infinite;
  z-index: 0;
}

.timer-art__label {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0;
}

.timer-art__label strong {
  display: block;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

@keyframes timerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes timerSweep {
  to { transform: rotate(1turn); }
}

/* ---------- Bullet list ---------- */

.bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  max-width: 620px;
}

.bullets li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 17px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bullets li:last-child {
  border-bottom: none;
}

.bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.85;
}

/* ---------- Three-up cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.26);
  background: #fbfdff;
}

.card__num {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Color-coded pillar accents. */
.card--eye    { --pillar: #0071e3; }  /* soft blue */
.card--body   { --pillar: #7569d8; }  /* soft indigo */
.card--energy { --pillar: #2ab4a7; }  /* soft teal */

.card__accent {
  width: 36px;
  height: 2px;
  background: var(--pillar, var(--color-border-strong));
  border-radius: 2px;
  margin-top: 18px;
  opacity: 0.9;
}

.card h3 {
  margin-bottom: 8px;
}

.card__pillar-title {
  color: var(--pillar, var(--color-text));
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* “How it works”: intro full width, then menubar | cards split. */
.how__intro {
  margin-bottom: 40px;
  max-width: 720px;
}

.how__intro h2 {
  max-width: none;
}

.how__split.section-split.section-split--media-left {
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
}

.how__cards {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.how__cards .card {
  padding: 22px 24px;
}

.how__menubar .macmenu-scene {
  max-width: 100%;
  margin: 0;
  padding: 0 0 24px;
}

@media (max-height: 720px) {
  .cards {
    margin-top: 32px;
    gap: 12px;
  }

  .card {
    padding: 22px 20px;
  }
}

/* ---------- The fix — decorative panel (no screenshot) ---------- */

.fix__panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  max-width: 360px;
  margin-left: auto;
}

.fix__row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.fix__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fix__row:first-child {
  padding-top: 0;
}

.fix__row span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fix__row--a span {
  background: #0071e3;
}

.fix__row--b span {
  background: #7569d8;
}

.fix__row--c span {
  background: #2ab4a7;
}

/* ---------- Break guide ---------- */

.break-guide {
  background:
    radial-gradient(ellipse 80% 58% at 78% 14%, rgba(0, 113, 227, 0.05), transparent 62%),
    radial-gradient(ellipse 68% 52% at 10% 92%, rgba(120, 220, 200, 0.05), transparent 64%),
    var(--color-bg);
}

.break-guide__inner {
  max-width: 900px;
}

.break-guide h2 {
  max-width: 720px;
}

.break-guide .lead {
  max-width: 640px;
  color: var(--color-text-muted);
}

.break-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.break-action,
.break-impact {
  display: grid;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.break-action {
  grid-template-columns: 74px 1px 38px minmax(0, 1fr);
  gap: 20px;
  min-height: 92px;
  padding: 18px 24px;
}

.break-action__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
}

.break-action__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.break-action__rule {
  width: 1px;
  height: 42px;
  background: var(--color-border-strong);
}

.break-action__num {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.break-action__copy h3,
.break-impact h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.break-action__copy p,
.break-impact p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.45;
}

.break-impact {
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  padding: 18px 24px;
  background: rgba(246, 250, 255, 0.88);
  border-color: rgba(0, 113, 227, 0.18);
}

.break-impact .break-action__icon {
  width: 54px;
  height: 54px;
}

/* ---------- Why section ---------- */

.why__text p {
  font-size: 18px;
  line-height: 1.65;
}

.why__signature {
  margin-top: 24px;
  color: var(--color-text);
  font-style: italic;
}

.why__links {
  margin-top: 12px;
  font-size: 14px;
  display: flex;
  gap: 16px;
}

.why__card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  background: #fff;
}

.why__card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-text-soft);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 500;
}

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.why__stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.why__stat strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0;
  margin-bottom: 4px;
}

.why__stat span {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* ---------- Download CTA ---------- */

.cta {
  text-align: center;
  padding: 118px 0 132px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 50% 50%, var(--color-accent-a), transparent 60%);
  pointer-events: none;
}

.cta h2 {
  margin-left: auto;
  margin-right: auto;
  font-size: 40px;
  line-height: 1.12;
  max-width: 720px;
}

.cta .btn-row {
  justify-content: center;
}

.cta__note {
  margin-top: 20px;
  color: var(--color-text-soft);
  font-size: 14px;
}

/* ---------- Desktop section scroll rhythm ----------
   Native scroll snap gives a section-to-section feel without hijacking the
   wheel or trackpad. It stays off on mobile, touch-first devices, reduced
   motion, and short windows where full-viewport sections would feel cramped. */

@media (min-width: 1024px) and (min-height: 760px) and (hover: hover) and (pointer: fine) {
  html.page-landing {
    scroll-snap-type: y proximity;
  }

  main > .hero,
  main > #problem,
  main > #fix,
  main > #how,
  main > #settings,
  main > #break,
  main > #why,
  main > #pricing,
  main > #download {
    min-height: max(720px, calc(100vh - var(--nav-h)));
    min-height: max(720px, calc(100svh - var(--nav-h)));
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  main > .hero {
    padding-top: clamp(56px, 7vh, 96px);
    padding-bottom: clamp(72px, 8vh, 112px);
  }

  main > #problem,
  main > #fix,
  main > #how,
  main > #settings,
  main > #break,
  main > #why,
  main > #pricing,
  main > #download {
    padding-top: clamp(72px, 8vh, 128px);
    padding-bottom: clamp(72px, 8vh, 128px);
  }

  html.page-landing .footer {
    scroll-snap-align: end;
  }
}

/* ---------- Free and Pro ---------- */

.pricing {
  background: var(--color-bg);
}

.pricing__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

.pricing__intro {
  min-width: 0;
}

.pricing__intro .lead {
  max-width: 520px;
}

.pricing-free {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.pricing-free__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.pricing-free__heading strong {
  font-size: 19px;
}

.pricing-free__heading span,
.pricing-free p {
  color: var(--color-text-muted);
}

.pricing-free__heading span {
  font-size: 14px;
}

.pricing-free p {
  margin: 8px 0 20px;
  font-size: 15px;
  line-height: 1.55;
}

.pricing-pro {
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(0, 113, 227, 0.28);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.055), rgba(120, 220, 200, 0.035) 68%, #fff);
}

.pricing-pro__header,
.pricing-pro__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.pricing-pro__eyebrow {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.pricing-pro__header h3 {
  margin: 5px 0 0;
  font-size: 25px;
  line-height: 1.2;
}

.pricing-pro__price {
  flex: 0 0 auto;
  text-align: right;
}

.pricing-pro__price strong,
.pricing-pro__price span {
  display: block;
}

.pricing-pro__price strong {
  font-size: 34px;
  line-height: 1;
}

.pricing-pro__price span {
  margin-top: 5px;
  color: var(--color-text-soft);
  font-size: 13px;
}

.pricing-pro__features {
  margin: 28px 0;
  border-top: 1px solid rgba(0, 113, 227, 0.14);
  border-bottom: 1px solid rgba(0, 113, 227, 0.14);
}

.pricing-feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
}

.pricing-feature + .pricing-feature {
  border-top: 1px solid rgba(0, 113, 227, 0.1);
}

.pricing-feature__num {
  padding-top: 2px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 650;
}

.pricing-feature h4,
.pricing-feature p {
  margin: 0;
}

.pricing-feature h4 {
  font-size: 16px;
}

.pricing-feature p {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-pro__footer > div {
  display: grid;
  gap: 2px;
}

.pricing-pro__footer strong {
  font-size: 14px;
}

.pricing-pro__footer span {
  color: var(--color-text-soft);
  font-size: 12px;
}

.pricing-pro__footer .btn {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html.page-landing {
    scroll-snap-type: none;
  }
}

/* ---------- Subscribe (email capture) ---------- */

.subscribe {
  max-width: 460px;
  margin: 40px auto 0;
  text-align: left;
}

.subscribe--center {
  text-align: center;
}

.subscribe__label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.subscribe__row {
  display: flex;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  transition: border-color 0.18s ease, outline-color 0.18s ease;
}

.subscribe__row:focus-within {
  border-color: var(--color-primary);
  outline: 4px solid rgba(0, 113, 227, 0.12);
}

.subscribe__row input[type="email"] {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  min-width: 0;
}

.subscribe__row input[type="email"]::placeholder {
  color: var(--color-text-soft);
}

.subscribe__row button {
  border: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease;
}

.subscribe__row button:hover {
  background: var(--color-primary-hover);
}

.subscribe--launch {
  max-width: 560px;
  margin-top: 42px;
}

.subscribe--launch .subscribe__row {
  min-height: 56px;
  padding: 5px 5px 5px 20px;
  gap: 10px;
}

.subscribe--launch .subscribe__row input[type="email"] {
  font-size: 17px;
}

.subscribe--launch .subscribe__row button {
  min-width: 132px;
  padding: 12px 20px;
  font-size: 16px;
}

/* honeypot */
.subscribe__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.subscribe__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-soft);
}

.subscribe__status {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  border: 1px solid var(--color-border);
}

.subscribe__status--ok {
  background: rgba(52, 199, 89, 0.08);
  border-color: rgba(52, 199, 89, 0.25);
  color: #1d6a36;
}

.subscribe__status--err {
  background: rgba(255, 59, 48, 0.06);
  border-color: rgba(255, 59, 48, 0.25);
  color: #8a2320;
}

.turnstile-field {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.turnstile-field--compact {
  margin: 12px 0 0;
}

/* ---------- Contact and confirmation forms ---------- */

.legal-section {
  background: var(--color-bg-soft);
}

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}

.form-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.form-card--success {
  border-color: rgba(52, 199, 89, 0.26);
  background: rgba(52, 199, 89, 0.06);
}

.form-card__debug {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 14px;
}

.confirm-form {
  display: grid;
  gap: 14px;
  max-width: 320px;
  margin-top: 18px;
}

.code-input {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
  font-size: 24px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.code-input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: 4px solid rgba(0, 113, 227, 0.12);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form--compact textarea {
  min-height: 92px;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-dialog {
  width: min(540px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.contact-dialog::backdrop {
  background: rgba(20, 22, 28, 0.38);
  backdrop-filter: blur(8px);
}

.contact-dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.contact-dialog__header .section__num {
  margin-bottom: 8px;
}

.contact-dialog__header h2 {
  font-size: 24px;
  margin: 0;
}

.contact-dialog__intro {
  margin: 10px 0 16px;
}

.contact-dialog__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.contact-dialog__close:hover {
  background: #ececf0;
  color: var(--color-text);
}

.contact-dialog__success {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.contact-dialog__success h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.contact-dialog__success p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

/* ---------- Email confirmation dialog ---------- */

.confirm-dialog {
  width: min(500px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-xl);
  padding: 24px 20px 20px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.22);
}

.confirm-dialog::backdrop {
  background:
    radial-gradient(ellipse 55% 50% at 20% 10%, rgba(0, 113, 227, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 25%, rgba(117, 105, 216, 0.16), transparent 60%),
    rgba(246, 248, 252, 0.62);
  backdrop-filter: blur(16px);
}

.confirm-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.confirm-dialog__close:hover {
  background: rgba(236, 236, 240, 0.92);
  color: var(--color-text);
}

.confirm-dialog__heading {
  text-align: center;
  margin: 0 auto 16px;
}

.confirm-dialog__heading .section__num {
  margin-bottom: 8px;
}

.confirm-dialog__heading h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.confirm-dialog__heading p {
  margin: 0 auto;
  font-size: 14px;
}

.confirm-dialog__heading p,
.confirm-panel > p,
.confirm-secure {
  color: var(--color-text-muted);
}

.confirm-panel {
  max-width: 100%;
  margin: 0 auto;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.confirm-panel__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.12);
  color: var(--color-primary);
  font-size: 20px;
}

.confirm-panel h3 {
  font-size: 19px;
  text-align: center;
  margin-bottom: 6px;
}

.confirm-panel > p {
  text-align: center;
}

.confirm-sent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(247, 247, 249, 0.92);
  color: var(--color-text);
  font-size: 13px;
}

.confirm-sent strong {
  color: var(--color-primary);
}

.confirm-sent button {
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: color 0.18s ease;
}

.confirm-sent button:hover {
  color: var(--color-primary-hover);
}

.confirm-code-form {
  display: grid;
  gap: 12px;
}

.confirm-code-form label {
  color: var(--color-text-muted);
  font-size: 15px;
}

.confirm-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 330px);
  margin: 0 auto;
}

.confirm-code-cell {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font: inherit;
  font-size: 22px;
  text-align: center;
  outline: 0;
  transition: border-color 0.18s ease, outline-color 0.18s ease;
}

.confirm-code-cell:focus {
  border-color: var(--color-primary);
  outline: 4px solid rgba(0, 113, 227, 0.12);
}

.confirm-submit {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}

.confirm-success {
  text-align: center;
}

.confirm-dialog.is-confirmed .confirm-dialog__heading {
  display: none;
}

.confirm-dialog.is-confirmed .confirm-panel > h3,
.confirm-dialog.is-confirmed .confirm-panel > p,
.confirm-dialog.is-confirmed .confirm-sent {
  display: none;
}

.confirm-dialog.is-confirmed .confirm-panel {
  padding-top: 28px;
  padding-bottom: 28px;
}

.confirm-secure {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 34px;
  color: var(--color-text-soft);
  font-size: 14px;
  background: var(--color-bg);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-bottom: 34px;
}

.footer__brand {
  max-width: 420px;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

.footer__logo-link:hover {
  opacity: 0.78;
  text-decoration: none;
}

.footer__logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer__brand p {
  margin: 16px 0 0;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
}

.footer__promise {
  color: var(--color-text);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer__group {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer__group h2 {
  margin: 0 0 4px;
  color: var(--color-text-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer__group a,
.footer__feedback {
  color: var(--color-text-muted);
  transition: color 0.18s ease;
}

.footer__group a:hover,
.footer__feedback:hover {
  color: var(--color-text);
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  color: var(--color-text-soft);
}

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

.footer__meta {
  color: var(--color-text-soft);
}

.footer__feedback {
  font-weight: 500;
}

/* ---------- Admin ---------- */

.admin-page {
  min-height: calc(100vh - 82px);
}

.admin-shell {
  max-width: 1120px;
}

.admin-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-header h1 {
  margin-top: 8px;
}

.admin-login {
  max-width: 520px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stat,
.admin-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.admin-stat {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.admin-stat span,
.admin-stat small {
  color: var(--color-text-soft);
  font-size: 13px;
}

.admin-stat strong {
  color: var(--color-text);
  font-size: 32px;
  line-height: 1;
}

.admin-stat a,
.admin-panel__head a {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.admin-stat a:hover,
.admin-panel__head a:hover,
.admin-message a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.admin-panel {
  overflow: hidden;
}

.admin-panel__head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.admin-panel__head h2 {
  margin: 0;
  font-size: 22px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--color-text-soft);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--color-text);
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-list {
  display: grid;
}

.admin-message {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.admin-message:last-child {
  border-bottom: 0;
}

.admin-message div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.admin-message a {
  color: var(--color-primary);
  font-size: 14px;
  transition: color 0.18s ease;
}

.admin-message small,
.admin-empty {
  color: var(--color-text-soft);
}

.admin-message p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.admin-empty {
  padding: 18px 20px;
  font-size: 14px;
}


.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: 44px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root {
    --section-pad-y: 88px;
  }

  .hero {
    padding: calc(30px + env(safe-area-inset-top, 0px)) 0 76px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .cta h2 {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .hero__grid,
  .section-split,
  .section-split.section-split--media-left {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-split--media-left .section-split__copy,
  .section-split--media-left .section-split__media {
    grid-column: auto;
    grid-row: auto;
  }

  .section-split__media .timer-art {
    margin-left: auto;
    margin-right: auto;
  }

  .how__split.section-split.section-split--media-left {
    grid-template-columns: 1fr;
  }

  .how__menubar {
    order: 1;
  }

  .how__split .section-split__copy {
    order: 2;
  }

  .fix__panel {
    margin: 0 auto;
    max-width: 100%;
  }

  #settings .section-split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .break-guide__inner {
    max-width: 720px;
  }

  .break-action {
    grid-template-columns: 82px 1px 40px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 24px;
  }

  .break-impact {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 22px 24px;
  }

  .nav__links {
    gap: 10px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 20px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 30px;
  }

  .cta h2 {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 19px;
  }

  .legal h1 {
    font-size: 34px;
  }

  .nav__brand {
    gap: 7px;
    font-size: 15px;
  }

  .nav__links .btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .timer-art {
    width: 220px;
    height: 220px;
  }

  .timer-art__label strong {
    font-size: 40px;
  }

  .why__stats {
    grid-template-columns: 1fr;
  }

  .pricing-pro {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .pricing-pro__header,
  .pricing-pro__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .pricing-pro__price {
    text-align: left;
  }

  .pricing-pro__footer .btn {
    width: 100%;
  }

  .form-card {
    padding: 22px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer__bottom {
    display: grid;
    justify-content: stretch;
  }

  .admin-header,
  .admin-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .subscribe__row {
    border-radius: 22px;
    padding: 8px;
    flex-direction: column;
  }

  .subscribe__row input[type="email"] {
    padding: 9px 10px;
  }

  .subscribe__row button {
    width: 100%;
  }

  .subscribe--launch .subscribe__row {
    flex-direction: row;
    align-items: center;
    border-radius: 999px;
    padding: 5px;
    gap: 6px;
  }

  .subscribe--launch .subscribe__row input[type="email"] {
    flex: 1 1 auto;
    width: auto;
    height: 42px;
    min-width: 0;
    padding: 0 4px 0 12px;
    font-size: 14px;
  }

  .subscribe--launch .subscribe__row button {
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    padding: 11px 13px;
    font-size: 14px;
  }
}

/* ---------- MacBook Pro mockup (wraps full-screen break screenshots) ---------- */

.macbook {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  /* drop-shadow so the floor shadow follows the bottom rounded corners of the base */
  filter: drop-shadow(0 40px 48px rgba(0, 0, 0, 0.22))
          drop-shadow(0 12px 20px rgba(0, 0, 0, 0.10));
}

/* Breathing room for MacBook filter shadow inside split columns. */
.section-split__media .macbook {
  margin-bottom: 8px;
}

.macbook__lid {
  position: relative;
  background: linear-gradient(180deg, #1a1a1c 0%, #0f0f11 100%);
  border-radius: 20px 20px 4px 4px;
  padding: 22px 18px 18px;
  box-shadow:
    inset 0 0 0 1.5px #2a2a2d,
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.macbook__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.macbook__notch::after {
  /* tiny camera lens */
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0c0c0e;
  box-shadow: inset 0 0 0 1px #222426;
}

.macbook__screen {
  position: relative;
  aspect-ratio: 2294 / 1490; /* matches source screenshot */
  border-radius: 3px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65);
}

.macbook__screen > picture,
.macbook__screen > picture > img,
.macbook__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.macbook__base {
  position: relative;
  height: 22px;
  margin: 0 -3.2%;
  background: linear-gradient(180deg,
    #e0e0e3 0%,
    #c4c4c7 28%,
    #a6a6a9 62%,
    #7e7e81 100%);
  border-radius: 0 0 10px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.macbook__base::before {
  /* hinge concavity where lid meets body */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 5px;
  background: linear-gradient(180deg, #5a5a5d 0%, #9a9a9d 100%);
  border-radius: 0 0 10px 10px;
}

.macbook__label {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.32);
  letter-spacing: 0;
  font-family: var(--font-system);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .macbook__base {
    margin-left: -2%;
    margin-right: -2%;
  }
}

@media (max-width: 640px) {
  .break-actions {
    margin-top: 28px;
  }

  .break-action {
    grid-template-columns: 44px 30px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .break-action__icon,
  .break-impact .break-action__icon {
    width: 44px;
    height: 44px;
  }

  .break-action__icon svg {
    width: 23px;
    height: 23px;
  }

  .break-action__rule {
    display: none;
  }

  .break-action__num {
    font-size: 16px;
    padding-top: 3px;
  }

  .break-action__copy h3,
  .break-impact h3 {
    font-size: 18px;
  }

  .break-action__copy p,
  .break-impact p {
    font-size: 16px;
  }

  .break-impact {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
  }

  .cta {
    padding: 96px 0 116px;
  }

  .subscribe--launch {
    margin-top: 34px;
  }

  .subscribe--launch .subscribe__row {
    align-items: center;
    min-height: auto;
    padding: 5px;
    gap: 6px;
  }

  .subscribe--launch .subscribe__row input[type="email"] {
    flex: 1 1 auto;
    height: 44px;
    min-width: 0;
    padding: 0 6px 0 12px;
    font-size: 15px;
  }

  .subscribe--launch .subscribe__row button {
    flex: 0 0 auto;
    min-width: 0;
    width: auto;
    padding: 12px 15px;
    font-size: 14px;
  }

  .confirm-dialog {
    width: min(100vw - 24px, 420px);
    padding: 24px 14px 18px;
    border-radius: 18px;
  }

  .confirm-dialog__heading {
    margin-bottom: 16px;
  }

  .confirm-panel {
    padding: 18px 14px;
  }

  .confirm-panel__icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
    margin-bottom: 12px;
  }

  .confirm-panel h3 {
    font-size: 18px;
  }

  .confirm-sent {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }

  .confirm-sent button {
    grid-column: 2;
    justify-self: start;
  }

  .confirm-code-grid {
    gap: 8px;
  }

  .confirm-code-cell {
    border-radius: 10px;
    font-size: 20px;
  }

  .confirm-submit {
    min-height: 44px;
    font-size: 16px;
  }

  .macbook__lid {
    padding: 16px 10px 12px;
    border-radius: 14px 14px 3px 3px;
  }
  .macbook__notch {
    width: 110px;
    height: 15px;
    border-radius: 0 0 10px 10px;
  }
  .macbook__notch::after { top: 5px; width: 4px; height: 4px; }
  .macbook__base { height: 15px; }
  .macbook__base::before { height: 4px; }
  .macbook__label { font-size: 7px; bottom: 2px; }
}

/* ---------- Prefs / settings window screenshot (no MacBook — dialog-sized UI) ---------- */

.prefs-shot {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f2;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 24px 48px -12px rgba(0, 0, 0, 0.2),
    0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

.prefs-shot > picture,
.prefs-shot > picture > img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Native Mac dropdown menu (pure CSS rebuild) ---------- */

.macmenu-scene {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px 40px;
  /* subtle "desktop" backdrop — reads as "the menu opened against a desktop"
     without actually showing wallpaper */
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(117, 105, 216, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(0, 113, 227, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(245, 246, 250, 0) 0%, rgba(245, 246, 250, 0.6) 100%);
  border-radius: var(--radius-xl);
}

/* Thin mini menubar above the dropdown */
.macmenu-scene__bar {
  position: relative;
  height: 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 18px;
  font-size: 12px;
  color: var(--color-text);
  margin: 20px 0 0;
}

.macmenu-scene__apple {
  width: 12px;
  height: 12px;
  background: var(--color-text);
  -webkit-mask: radial-gradient(circle at 70% 30%, transparent 2.5px, #000 3px) center / 100% 100%;
          mask: radial-gradient(circle at 70% 30%, transparent 2.5px, #000 3px) center / 100% 100%;
  opacity: 0.85;
}

.macmenu-scene__bar strong { font-weight: 600; }
.macmenu-scene__bar .spacer { flex: 1; }

.macmenu-scene__pulse-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(0, 113, 227, 0.08);
  outline: 4px solid rgba(0, 113, 227, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macmenu-scene__pulse-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.macmenu-scene__clock {
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

/* The dropdown itself */
.macmenu {
  display: block;
  width: 300px;
  margin: 0 0 0 auto; /* right-aligned under the active icon */
  transform: translateX(-32px);
  background: rgba(246, 246, 247, 0.94);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  border-radius: 10px;
  padding: 5px;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.18),
    0 40px 60px -20px rgba(0, 0, 0, 0.20);
  font-size: 13px;
  color: #000;
  line-height: 1.35;
  /* tiny arrow could be added, but Apple's dropdowns have no connecting arrow */
  position: relative;
}

.macmenu__header {
  padding: 7px 10px 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0;
}

.macmenu__item {
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
  gap: 10px;
  min-height: 22px;
  cursor: default;
  user-select: none;
}

/* Single "highlighted" item (simulating keyboard selection / hover) */
.macmenu__item--active {
  background: #0a7bff;
  color: #fff;
}

.macmenu__item--active .macmenu__chevron {
  color: rgba(255, 255, 255, 0.85);
}

.macmenu__chevron {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1;
}

.macmenu__sep {
  height: 1px;
  background: rgba(0, 0, 0, 0.10);
  margin: 5px 8px;
}

@media (max-width: 520px) {
  .macmenu { width: 88%; transform: none; margin: 0 auto; }
  .macmenu-scene { padding: 0 14px 32px; }
}

/* NOTE: Full-screen break shots use `.macbook`. The preferences/settings
   window uses `.prefs-shot` (see partials/prefs-window-frame.php) — it is
   not full-bleed laptop chrome. */

/* ---------- Version pill (nav + hero) ---------- */

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.version-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  outline: 3px solid rgba(0, 113, 227, 0.18);
}

.nav__version {
  /* Spacing handled by .btn's gap; font-size only here. */
  font-size: 11px;
  opacity: 0.9;
}

/* ---------- Dark CTA section (inspired by the reference screenshots) ---------- */

.cta--dark {
  --dark-bg: #0b0d12;
  --dark-text: #e6e7eb;
  --dark-muted: #9ea3ad;
  background: var(--dark-bg);
  color: var(--dark-text);
}

.cta--dark::before {
  background:
    radial-gradient(ellipse 55% 50% at 20% 15%, rgba(0, 113, 227, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 45% at 85% 20%, rgba(117, 105, 216, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(42, 180, 167, 0.15), transparent 60%);
  opacity: 1;
}

.cta--dark h2 {
  color: var(--dark-text);
}

.cta--dark .section__num {
  color: var(--dark-muted);
}

.cta--dark p,
.cta--dark .cta__note {
  color: var(--dark-muted);
}

.cta--dark .btn--secondary,
.cta--dark .btn--secondary:visited {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dark-text);
  border-color: rgba(255, 255, 255, 0.14);
}

.cta--dark .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.cta--dark .subscribe__row {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.cta--dark .subscribe__row:focus-within {
  border-color: var(--color-primary);
  outline-color: rgba(0, 113, 227, 0.22);
}

.cta--dark .subscribe__row input[type="email"] {
  color: var(--dark-text);
}

.cta--dark .subscribe__row input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta--dark .subscribe__label,
.cta--dark .subscribe__note {
  color: var(--dark-muted);
}

/* ---------- Eyebrow pill (like "TRANSFORM YOUR WORKDAY" in the ref) ---------- */

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  outline: 3px solid rgba(52, 199, 89, 0.18);
}

.eyebrow-pill--pending::before {
  background: #ff9f0a;
  outline-color: rgba(255, 159, 10, 0.22);
}

.cta--dark .eyebrow-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--dark-muted);
}

/* ---------- Accessibility ---------- */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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