/* Juanix AI — the look borrows from the pink "while you were out" message pad every front desk has. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&family=Caveat:wght@500;600&display=swap");

:root {
  --paper: #fbfbf8;
  --ink: #1b2a5b; /* ballpoint blue */
  --slip: #f7c6d0; /* message-pad pink */
  --slip-line: #c9788c;
  --pencil: #f2c230;
  --graphite: #2c2c33;
  --quiet: #5c6072;
  --measure: 62ch;
}

* { box-sizing: border-box; }

html { font-size: 112.5%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.55;
}

a { color: var(--ink); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--pencil); outline-offset: 3px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.brand { font-stretch: 125%; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-weight: 600; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pencil); }

/* Type */
h1, h2, h3 { color: var(--ink); line-height: 1.05; margin: 0; }
h1 { font-stretch: 70%; font-weight: 800; font-size: clamp(2.8rem, 9vw, 6.2rem); letter-spacing: -0.01em; }
h2 { font-stretch: 78%; font-weight: 750; font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin-bottom: 0.35rem; }
p { max-width: var(--measure); margin: 0 0 1rem; }
.lede { font-size: 1.3rem; line-height: 1.4; }
.quiet { color: var(--quiet); }

/* Hero: the phone number is the demo, so it is the headline. */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; padding: 2.5rem 0 4.5rem; }
.hero .number { display: block; white-space: nowrap; }
.hero .lede { margin-top: 1.5rem; }

.button { display: inline-block; background: var(--ink); color: var(--paper); font-weight: 700; padding: 0.8rem 1.3rem; border-radius: 0.3rem; text-decoration: none; }
.button:hover { background: #24387a; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.5rem; }

/* The message slip */
.slip { background: var(--slip); color: var(--ink); padding: 1.4rem 1.5rem 1.6rem; transform: rotate(1.6deg); box-shadow: 0 1px 0 #e9aebb, 0 14px 30px -18px rgba(27, 42, 91, 0.55); max-width: 24rem; justify-self: center; }
.slip h2 { font-size: 1.5rem; font-stretch: 100%; font-weight: 800; text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: 0.5rem; margin-bottom: 0.9rem; }
.slip dl { margin: 0; }
.slip .row { display: flex; gap: 0.6rem; align-items: baseline; border-bottom: 1px solid var(--slip-line); padding: 0.3rem 0; }
.slip dt { font-size: 0.72rem; font-weight: 700; flex: none; }
.slip dd { margin: 0; font-family: "Caveat", cursive; font-size: 1.5rem; line-height: 1.1; }
.slip .note { font-family: "Caveat", cursive; font-size: 1.45rem; line-height: 1.25; margin: 0.8rem 0 0; }
.slip .checks { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; list-style: none; padding: 0; margin: 0.8rem 0 0; font-size: 0.8rem; font-weight: 600; }
.slip .checks li::before { content: ""; display: inline-block; width: 0.8em; height: 0.8em; border: 1.5px solid var(--ink); margin-right: 0.4em; vertical-align: -0.08em; }
.slip .checks li.ticked::before { background: linear-gradient(135deg, transparent 42%, var(--ink) 42% 58%, transparent 58%), linear-gradient(45deg, transparent 42%, var(--ink) 42% 58%, transparent 58%); }
.slip figcaption { font-size: 0.8rem; margin-top: 1rem; }

/* Sections */
section { padding: 3.5rem 0; border-top: 2px solid var(--ink); }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.columns p { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem 2.5rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-stretch: 70%; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ink); margin-bottom: 0.4rem; }

/* Plans */
.plans { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.plans caption { text-align: left; color: var(--quiet); padding-bottom: 0.5rem; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid #c9ccd6; }
.plans thead th { border-bottom: 2px solid var(--ink); color: var(--ink); }
.plans .price { font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.plans .price small { font-size: 0.9rem; font-weight: 600; font-stretch: 100%; }
.terms { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem 2.5rem; }
.terms li { padding-left: 1.1rem; position: relative; }
.terms li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; background: var(--pencil); }

details { border-bottom: 1px solid #c9ccd6; padding: 0.9rem 0; max-width: var(--measure); }
summary { font-weight: 700; color: var(--ink); cursor: pointer; }
details p { margin: 0.6rem 0 0; }

.site-footer { border-top: 2px solid var(--ink); padding: 2rem 0 3rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.site-footer p { margin: 0; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
  .slip { transform: rotate(1deg); }
  .plans, .plans caption, .plans tbody, .plans tr, .plans td, .plans th { display: block; }
  .plans thead { position: absolute; clip-path: inset(50%); }
  .plans tr { border-bottom: 1px solid #c9ccd6; padding: 1rem 0; }
  .plans th, .plans td { border: 0; padding: 0.15rem 0; }
}

@media (max-width: 26rem) {
  html { font-size: 100%; }
  h1 { font-size: 2.6rem; }
}
