/* ==========================================================================
   HIDE UNFINISHED PARTS
   To hide the "Everything in one place" point (section 11) before launch, remove the two
   comment markers around the rule below (the slash-star and star-slash).
   ========================================================================== */

/*
.is-placeholder-section,
.is-placeholder-item {
  display: none !important;
}
*/

/* To hide every sentence that mentions the demo phone number (if the demo
   line isn't ready at launch), remove the comment markers around this rule. */

/*
.needs-demo-line {
  display: none !important;
}
*/


/* ==========================================================================
   DESIGN SETTINGS: change the whole look here
   ========================================================================== */

:root {
  /* Colours */
  --color-bg: #FAF7F2;            /* main background: warm off-white */
  --color-bg-alt: #F3EDE4;        /* alternate section tint */
  --color-surface: #FFFFFF;       /* cards */
  --color-text: #2B2622;          /* main text: deep warm charcoal */
  --color-text-soft: #6B625A;     /* secondary text */
  --color-accent: #B4654A;        /* muted clay: decorative details */
  --color-accent-strong: #9A5139; /* slightly deeper clay: buttons and accent
                                     words, so text passes contrast checks */
  --color-accent-hover: #844531;
  --color-on-accent: #FFFFFF;     /* text on accent buttons */
  --color-line: #E4DBCF;          /* thin dividers and borders */
  --color-placeholder: #F0E8DD;   /* fill for placeholder boxes */
  --color-placeholder-line: #B9A894; /* dashed outline on placeholders */
  --color-focus: #2B2622;         /* keyboard focus ring */

  /* Fonts */
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Sizes */
  --text-base: 1.0625rem;  /* 17px body text */
  --text-small: 1rem;      /* 16px, the smallest text on the page */
  --radius: 14px;
  --radius-small: 10px;
  --page-max: 1200px;
  --gutter: 1.25rem;
  --section-space: 4.5rem;
  --shadow-soft: 0 1px 2px rgba(43, 38, 34, 0.04), 0 8px 28px rgba(43, 38, 34, 0.07);
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
    --section-space: 6rem;
  }
}


/* ==========================================================================
   BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* keeps jump links and keyboard focus clear of the sticky header */
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* stops sideways scroll without breaking the pinned heading */
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-accent-strong);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-small);
  text-decoration: none;
}

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

.accent {
  color: var(--color-accent-strong);
}


/* ==========================================================================
   PLACEHOLDERS: anything still to be filled in gets a light dashed outline
   ========================================================================== */

.placeholder {
  outline: 1.5px dashed var(--color-placeholder-line);
  outline-offset: 2px;
  border-radius: 3px;
  background: rgba(240, 232, 221, 0.6);
  padding: 0 0.15em;
}

.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--color-placeholder);
  border: 1.5px dashed var(--color-placeholder-line);
  border-radius: var(--radius);
  color: var(--color-text-soft);
  font-size: var(--text-small);
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--color-accent-strong);
  color: var(--color-on-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-line);
}

.btn-secondary:hover {
  border-color: var(--color-text-soft);
  background: var(--color-surface);
}

.btn-small {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
}


/* ==========================================================================
   SITE HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.4rem 0;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  padding: 3rem 0 3.5rem;
  text-align: center;
}

/* Centred column holding the headline, text and buttons */
.hero-inner {
  max-width: 62rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-soft);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw + 0.6rem, 5rem);
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-actions .btn {
  width: 100%;
}

.hero-note {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  margin: 0;
}

/* Small print about the demo line, shown near the demo number */
.demo-note {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  line-height: 1.5;
  max-width: 36rem;
  margin: 0.75rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--color-line);
}

/* In the centred hero, the note sits centred without the side line */
.hero .demo-note {
  margin: 0.75rem auto 0;
  padding-left: 0;
  border-left: 0;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-actions .btn-secondary {
    max-width: 24rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 6rem 0 6.5rem;
  }
}


/* ==========================================================================
   FACT STRIP
   ========================================================================== */

.fact-strip {
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: 1rem 0.75rem;
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-line);
}

.fact-list li:nth-child(odd) {
  border-right: 1px solid var(--color-line);
}

/* last item spans both columns on phones */
.fact-list li:last-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

@media (min-width: 768px) {
  .fact-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .fact-list li,
  .fact-list li:nth-child(odd),
  .fact-list li:last-child {
    grid-column: auto;
    border-bottom: 0;
    border-right: 1px solid var(--color-line);
    min-height: 92px;
  }

  .fact-list li:last-child {
    border-right: 0;
  }
}


/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.section {
  padding: var(--section-space) 0;
}

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

.section-heading {
  font-size: clamp(2rem, 3.6vw + 1rem, 3.4rem);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}

.section-intro,
.section-body {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 40rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  max-width: 920px;
}

.narrow-left {
  max-width: 46rem;
}

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

.small-print {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  border-left: 2px solid var(--color-line);
  padding-left: 1rem;
  margin-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .card-grid.two-up {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .card {
    padding: 2rem;
  }
}


/* ==========================================================================
   4. THE PROBLEM
   ========================================================================== */

.section-heading + .card-grid {
  margin-top: 2.5rem;
}

.timestamp {
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-accent-strong);
  margin-bottom: 0.75rem;
}

.problem-close {
  max-width: 44rem;
  margin: 3.5rem 0 2.5rem;
}

.lead-line {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.stat-callout {
  max-width: 34rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  padding: 1.25rem 1.5rem;
}

.stat-callout p {
  margin: 0;
}

.stat-figure {
  font-family: var(--font-heading);
  font-size: 1.35em;
  color: var(--color-accent-strong);
  white-space: nowrap;
}

.footnote {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}

/* Phone numbers inside sentences: tap-to-call, with a taller tap area */
.phone-link {
  color: inherit;
  font-weight: 500;
  white-space: nowrap;
  text-underline-offset: 3px;
  padding: 12px 0;
}

.footnote a {
  color: inherit;
  text-underline-offset: 3px;
  /* taller tap area without changing how the line looks */
  padding: 12px 0;
}


/* ==========================================================================
   5. THE SOLUTION
   ========================================================================== */

.solution-points {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.solution-points li {
  font-size: 1.125rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
  position: relative;
}

/* short clay rule above each point */
.solution-points li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-accent);
}

@media (min-width: 768px) {
  .solution-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}


/* ==========================================================================
   6. WHAT IT HANDLES
   ========================================================================== */

.channel-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-line);
}

.channel {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-line);
}

.channel-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-title .icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-accent-strong);
}

.channel-title h3 {
  font-size: 1.5rem;
  margin: 0;
}

.channel-body {
  max-width: 44rem;
}

.channel-body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .channel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 3rem;
    padding: 2.75rem 0;
  }

  .channel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .channel-title h3 {
    font-size: 1.75rem;
  }
}


/* ==========================================================================
   7. EXAMPLE CONVERSATIONS
   ========================================================================== */

.conversation-grid {
  display: grid;
  gap: 3.5rem;
  margin-top: 3rem;
}

.conversation {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.conversation-label {
  margin-bottom: 1rem;
}

.conversation-label h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.conversation-time {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  margin: 0;
}

/* Simple phone-style frame */
.phone {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 32px;
  padding: 0.6rem;
  box-shadow: var(--shadow-soft);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem 0.9rem;
  border-bottom: 1px solid var(--color-line);
}

.phone-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent-strong);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.phone-name {
  font-weight: 600;
  font-size: var(--text-small);
}

.chat {
  list-style: none;
  margin: 0;
  padding: 1rem 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  background: var(--color-bg);
  border-radius: 0 0 24px 24px;
}

.msg {
  position: relative;
  display: flex;
  flex-direction: column;
}

.bubble {
  margin: 0;
  max-width: 85%;
  padding: 0.65rem 0.95rem;
  border-radius: 18px;
  font-size: var(--text-small);
  line-height: 1.45;
}

.from-clinic {
  align-items: flex-start;
}

.from-clinic .bubble {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-bottom-left-radius: 6px;
}

.from-patient {
  align-items: flex-end;
}

.from-patient .bubble {
  background: var(--color-accent-strong);
  color: var(--color-on-accent);
  border-bottom-right-radius: 6px;
}

/* Sign-off at the end of each clinic text (required by Australian anti-spam rules) */
.sig {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-soft);
}

/* "Try it yourself" box under the example conversations */
.try-it {
  margin-top: 3.5rem;
  max-width: 46rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.try-it h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.try-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.try-list li {
  margin-bottom: 0.6rem;
}

.try-list li::marker {
  color: var(--color-accent-strong);
}

@media (min-width: 768px) {
  .try-it {
    padding: 2.25rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .try-it {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Lock-screen style notification to the clinic */
.notification {
  margin-top: 0.75rem;
}

.notification-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(43, 38, 34, 0.06);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.notification-card p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.45;
}

.notification-icon {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 9px;
  background: var(--color-accent-strong);
  color: var(--color-on-accent);
}

.conversation-caption {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  margin: 1.1rem 0 0;
  padding: 0 0.25rem;
}

/* Typing animation states (only used when the animation runs) */
/* Hide each message's contents (not the typing dots) until its turn */
.chat-animate .msg > :not(.typing) {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.chat-animate .msg.is-shown > * {
  opacity: 1;
  transform: none;
}

/* The "typing…" dots sit where the next message will appear */
.typing {
  position: absolute;
  top: 0;
  display: inline-flex;
  gap: 4px;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.from-clinic > .typing { left: 0; }
.from-patient > .typing { right: 0; }

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-soft);
  animation: typing-dot 1s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}

@media (min-width: 1024px) {
  .conversation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
  }

  .conversation {
    max-width: none;
  }
}


/* ==========================================================================
   8. HOW IT WORKS
   ========================================================================== */

.how-grid {
  display: grid;
  gap: 1.5rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-line);
}

.step-number {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 3.5rem;
  line-height: 0.9;
  color: var(--color-accent);
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.step p {
  margin: 0;
  color: var(--color-text-soft);
}

.steps-note {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
  font-size: 1.125rem;
}

@media (min-width: 960px) {
  .how-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }

  /* Pinned heading on the left while the steps scroll past */
  .how-pin {
    position: sticky;
    top: 120px;
  }

  .step {
    grid-template-columns: 6rem 1fr;
    gap: 1.5rem;
    padding: 3.5rem 0;
  }

  .step:first-child {
    border-top: 0;
    padding-top: 0.5rem;
  }

  .step-number {
    font-size: 5.5rem;
  }

  .step h3 {
    font-size: 1.85rem;
  }
}


/* ==========================================================================
   9. BUILT FOR COSMETIC CLINICS
   ========================================================================== */

.rules-grid {
  margin-top: 2.5rem;
}

.rules-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mark-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mark-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2.25rem;
  border-top: 1px solid var(--color-line);
}

.mark-list li:last-child {
  padding-bottom: 0;
}

/* Small round mark before each line: a dash ("no") or a tick */
.mark-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.mark-list.is-never li::before {
  border: 1.5px solid var(--color-text-soft);
}

.mark-list.is-always li::before {
  background-color: var(--color-accent-strong);
}

/* The cross / tick itself, drawn as a shape filled with a colour setting */
.mark-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 22px;
  height: 22px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.mark-list.is-never li::after {
  background-color: var(--color-text-soft);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2L2 8' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2L2 8' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.mark-list.is-always li::after {
  background-color: var(--color-on-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.rules-note {
  max-width: 44rem;
  margin-top: 2rem;
}


/* ==========================================================================
   10. COMPARED WITH THE ALTERNATIVES
   ========================================================================== */

.compare-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.compare-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.compare-card p {
  color: var(--color-text-soft);
}

.compare-card.is-highlight {
  border: 2px solid var(--color-accent-strong);
  box-shadow: var(--shadow-soft);
}

.compare-card.is-highlight h3 {
  color: var(--color-accent-strong);
}

.compare-card.is-highlight p {
  color: var(--color-text);
}

.compare-close {
  max-width: 40rem;
  margin: 3rem 0 0;
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .compare-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==========================================================================
   11. YOU STAY IN CONTROL
   ========================================================================== */

.control-grid {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-line);
}

.control-point {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-line);
}

.control-point h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.control-point p {
  margin: 0;
  color: var(--color-text-soft);
}

.control-close {
  max-width: 40rem;
  margin: 3rem 0 0;
}

@media (min-width: 768px) {
  .control-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  .control-point {
    padding: 2.25rem 0;
  }
}


/* ==========================================================================
   12. WHO YOU'LL BE TALKING TO
   ========================================================================== */

.founders-grid {
  display: grid;
  gap: 2.5rem;
}

.founder-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder {
  margin: 0;
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius);
  background: var(--color-placeholder);
}

.founder figcaption {
  margin-top: 0.75rem;
  font-size: var(--text-small);
}

@media (min-width: 960px) {
  .founders-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }

  .founder-photos {
    gap: 1.5rem;
  }
}


/* ==========================================================================
   13. FAQ
   ========================================================================== */

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

.faq-list {
  border-top: 1px solid var(--color-line);
}

.faq {
  border-bottom: 1px solid var(--color-line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 0;
}

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

.faq summary h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}

/* Plus sign that turns into a minus when open */
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(var(--color-accent-strong), var(--color-accent-strong)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--color-accent-strong), var(--color-accent-strong)) center / 1.5px 12px no-repeat;
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  background:
    linear-gradient(var(--color-accent-strong), var(--color-accent-strong)) center / 12px 1.5px no-repeat;
}

.faq summary:hover h3 {
  color: var(--color-accent-strong);
}

.faq-answer {
  padding: 0 3rem 1.5rem 0;
  color: var(--color-text-soft);
}

.faq-answer p {
  margin: 0;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }
}


/* ==========================================================================
   14. FINAL CALL TO ACTION AND EMAIL
   ========================================================================== */

.book-grid {
  display: grid;
  gap: 2.5rem;
}

.book-founders {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.book-founders p {
  margin: 0;
  font-weight: 500;
}

.avatars {
  display: flex;
  flex: none;
  gap: 0.5rem;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-surface);
  background: var(--color-placeholder);
}

.email-card {
  padding: 1.5rem;
}

.btn-block {
  width: 100%;
}

/* The email address with its copy button */
.email-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
}

.email-text {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.copy-btn {
  flex: none;
  min-width: 84px;
}

.email-hint {
  margin: 1.25rem 0 0;
  color: var(--color-text-soft);
}

.book-alt {
  margin: 1.25rem 0 0;
  font-size: var(--text-small);
  color: var(--color-text-soft);
}

@media (min-width: 768px) {
  .email-card {
    padding: 2.25rem;
  }
}

@media (min-width: 960px) {
  .book-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--color-line);
  font-size: var(--text-small);
  color: var(--color-text-soft);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-list a {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--color-text);
}

@media (min-width: 960px) {
  .footer-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.25rem;
  }

  /* thin dot between items on wider screens */
  .footer-list li + li::before {
    content: "·";
    margin-right: 1.25rem;
    color: var(--color-text-soft);
  }
}


/* ==========================================================================
   SIMPLE INNER PAGE (privacy)
   ========================================================================== */

.page-simple {
  padding: var(--section-space) 0;
  min-height: 55vh;
}

.policy {
  max-width: 44rem;
}

.policy h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}

.policy ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.policy li {
  margin-bottom: 0.75rem;
}

.policy a {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
}

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

.page-simple h1 {
  font-size: clamp(2.2rem, 4.5vw + 1rem, 3.8rem);
  margin-bottom: 1.25rem;
}


/* ==========================================================================
   MOTION: gentle fade-and-rise as sections scroll into view
   (Only applies when JavaScript is running; otherwise everything shows.)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Visitors who ask their device to reduce motion: no animation at all */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
