/* The Digital Organizer, Steady Eddy sales page.
   Tokens and type scale match thedigitalorganizer.com (Matter Light on cream
   #FAF5E8, ink #232222, 1px #161A1D borders, 12px radii, outline buttons with
   a trailing plus). They are duplicated from the Choice Media Referral page on
   purpose: the workspace forbids cross-project imports. If the brand shifts,
   update both. */

@font-face {
  font-family: "Matter";
  src: url("fonts/Matter-Light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Matter";
  src: url("fonts/Matter-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Matter";
  src: url("fonts/Matter-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

:root {
  --cream: #FAF5E8;
  --ink: #232222;
  --border-ink: #161A1D;
  --ink-soft: rgba(35, 34, 34, 0.72);
  --ink-faint: rgba(35, 34, 34, 0.5);
  --line: rgba(22, 26, 29, 0.25);
  --line-soft: rgba(22, 26, 29, 0.14);
  --card: #FFFFFF;
  --accent: #294A48;
  --accent-soft: rgba(41, 74, 72, 0.08);
  --radius: 12px;
  /* Three widths only: the container, block elements, and the prose measure. */
  --max-width: 1140px;
  --block: 900px;
  --measure: 640px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Matter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
:target { scroll-margin-top: 90px; }

/* Header. Logo left, section links centre, one call to action right, the same
   arrangement as the live site's nav. Sticky so the sign-up button never
   leaves the screen on a page this long. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 245, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.site-header .brand { display: inline-block; justify-self: start; }
.site-header .brand img { width: 56px; height: 56px; display: block; }
.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); }
.site-header .btn { justify-self: end; }

main {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0 72px;
}

/* Type */

h1 {
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
}
h2 {
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
  max-width: 20ch;
}
h3 {
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
}
p { margin: 0 0 18px; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 21px; }
strong { font-weight: 500; }
.section-lead { color: var(--ink-soft); margin-bottom: 30px; font-size: 18px; }

/* Buttons. Outline with a trailing plus is the site's button. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  padding: 18px 26px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; }
.btn:hover { background: var(--ink); color: var(--cream); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn.solid { background: var(--ink); color: var(--cream); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.small { padding: 10px 16px; font-size: 15px; gap: 14px; }
.btn.small::after { font-size: 18px; }

.btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero */

.hero { text-align: center; padding-top: 5vh; }
.hero h1 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 600px; margin: 0 auto 28px; }
.hero .btn-row { justify-content: center; }
.price-note {
  margin: 16px auto 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.strip {
  list-style: none;
  padding: 0;
  margin: 0 auto 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.strip li { padding: 0 14px; position: relative; }
.strip li + li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* Video. A still frame with a play button until clicked; script.js swaps in
   the player. The frame is 16:9 and reserves its box before the image lands. */
figure { margin: 0; }
.video {
  margin: 52px auto 0;
  max-width: var(--block);
}
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.video-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.6s ease;
}
.video-facade:hover img { opacity: 1; transform: scale(1.015); }
.video-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.play svg { margin-left: 4px; }
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(35, 34, 34, 0.78);
  color: var(--cream);
  font-size: 14px;
  font-weight: 400;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.video-label em { font-style: normal; font-weight: 300; opacity: 0.75; }
.video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  background: var(--ink);
}

/* Sections */

.block { padding: 64px 0 0; }
.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 64px 0 0;
}

/* Why: four numbered reasons in two columns. */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.reason {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
}
.reason .n {
  grid-row: 1 / span 2;
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 5px;
  letter-spacing: 0.08em;
}
.reason p { font-size: 17px; color: var(--ink-soft); max-width: none; }

/* Included: the list on the left, the month figure on the right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}
.included {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
}
.included li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.included p { font-size: 16.5px; color: var(--ink-soft); max-width: none; }
.cadence {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}

/* The month figure. A grid of weekdays with the standing session marked and
   an email dot on every weekday, so the rhythm is visible without reading. */
.month {
  position: sticky;
  top: 100px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
}
.month figcaption { margin-bottom: 20px; }
.month figcaption strong { display: block; font-weight: 400; font-size: 19px; }
.month figcaption span { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.cal-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-bottom: 6px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.cal-grid .d {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
/* The email dot: one small mark on every weekday. */
.cal-grid .d i {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.cal-grid .d b {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.cal-grid .session { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.cal-grid .session i { background: var(--cream); opacity: 0.7; }
.legend {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.legend li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.legend i {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}
.legend .k-session { background: var(--ink); border-color: var(--ink); }
.legend .k-email { background: var(--cream); position: relative; }
.legend .k-email::after {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
}
.legend .k-quarter { border-radius: 50%; border: 1px dashed var(--accent); background: transparent; }

/* Pillars: four dark cards, the same treatment the live site gives them. */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.pillar {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px 26px 30px;
  min-height: 300px;
}
.pillar .icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 232, 0.25);
  margin-bottom: 22px;
}
.pillar h3 { font-weight: 400; font-size: 21px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; line-height: 1.5; opacity: 0.78; max-width: none; }

/* Testimonials: equal-height cards, attribution pinned to the bottom. */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
blockquote {
  margin: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
blockquote p { font-size: 16.5px; line-height: 1.55; margin: 0 0 16px; max-width: none; }
blockquote p::before { content: "\201C"; color: var(--accent); }
blockquote p::after { content: "\201D"; color: var(--accent); }
blockquote cite {
  display: block;
  margin-top: auto;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
}
blockquote cite span {
  display: block;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.person img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  margin-bottom: 16px;
}
.person h3 { font-size: 22px; }
.person p { font-size: 16px; color: var(--ink-soft); max-width: none; }

/* Pricing */
.price-card {
  max-width: var(--block);
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  padding: 34px 36px 36px;
}
.price-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.price { display: grid; }
.amount {
  font-size: clamp(56px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -2px;
  font-weight: 300;
}
.per { font-size: 17px; margin-top: 8px; }
.cancel { font-size: 14px; color: var(--ink-soft); }
.price-cta { display: grid; gap: 12px; justify-items: start; }
.quiet {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.quiet:hover { color: var(--ink); border-bottom-color: var(--ink); }
.includes-head { margin: 26px 0 12px; font-size: 15px; color: var(--ink-soft); }
.includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
}
.includes li {
  position: relative;
  padding-left: 24px;
  font-size: 16.5px;
}
.includes li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-size: 18px;
}

/* FAQ */
.faq {
  max-width: var(--block);
  border-top: 1px solid var(--line-soft);
  margin-top: 26px;
}
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-size: 20px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 26px;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 44em;
}

/* Closing */
.closing {
  margin-top: 72px;
  padding: 56px 36px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  text-align: center;
}
.closing h2 { margin-left: auto; margin-right: auto; }
.closing p { margin: 0 auto 28px; opacity: 0.8; }
.closing .btn-row { justify-content: center; }
.closing .btn { color: var(--cream); border-color: var(--cream); }
.closing .btn:hover { background: var(--cream); color: var(--ink); }
.closing .btn.solid { background: var(--cream); color: var(--ink); }
.closing .btn.solid:hover { background: transparent; color: var(--cream); }

/* Footer */
.site-footer {
  width: 90%;
  max-width: var(--max-width);
  margin: auto auto 0;
  padding: 32px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer a { color: var(--ink-soft); }

/* Responsive */

@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { min-height: 0; }
  .quotes { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .month { position: static; }
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .site-header .btn { justify-self: end; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  main { padding-bottom: 48px; }
  .block { padding-top: 48px; }
  .rule { margin-top: 48px; }
  .hero { padding-top: 24px; }
  .btn { width: 100%; justify-content: space-between; }
  .site-header .btn.small { width: auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .reasons { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; gap: 24px; }
  .person img { aspect-ratio: 1 / 1; }
  .pillars { grid-template-columns: 1fr; }
  .included li { grid-template-columns: 1fr; gap: 6px; }
  .includes { grid-template-columns: 1fr; }
  .price-card { padding: 26px 22px 28px; }
  .price-cta { width: 100%; }
  .price-cta .btn { width: 100%; }
  .closing { padding: 44px 22px; margin-top: 48px; }
  .video-label em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-facade img, .play { transition: none; }
}
