/* Nestomatic site: landing page (/) plus /privacy, /terms, /contact and /pricing.
   Dark, with the app's orange accent (P15.60). Refined look: P15.175.
   Layout after Adam's mockup: P15.177. */
:root {
  /* Colours follow the app's UI5 palette (app/src/styles/ui5.css, P15.193). */
  --bg: #1a1c20;
  --bg-raised: #202226;
  --bg-raised-2: #25282d;
  --text: #ecedef;
  --text-soft: #d7d9dd;
  --muted: #a1a6ae;
  --subtle: #7c828b;
  --line: #2c2f35;
  --line-strong: #3a3e46;
  /* Soft blue for text, icons and lines (the app's accent ink). */
  --accent: #8ab4ff;
  --accent-2: #b8cfff;
  --accent-hover: #a9c6ff;
  --accent-ink: #0b1a3d;
  --accent-dim: rgba(106, 150, 255, 0.14);
  --accent-line: rgba(106, 150, 255, 0.38);
  /* Navy fill for primary buttons and badges (the app's Nest button). */
  --fill: linear-gradient(180deg, #2a4aa3, #1e3a8a);
  --fill-hover: linear-gradient(180deg, #3b63c4, #27479e);
  --fill-border: rgba(106, 150, 255, 0.75);
  --fill-glow: rgba(59, 99, 196, 0.7);
  --grid: rgba(255, 255, 255, 0.04);
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)), var(--bg-raised);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4);
  --focus: #ffffff;
  --radius: 14px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 520px at 50% -140px, rgba(59, 99, 196, 0.12), transparent 70%), var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: rgba(59, 99, 196, 0.5);
  color: #fff;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header ------------------------------------------------------------- */

.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 25, 29, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.site-header-bar .site-header {
  flex-wrap: nowrap;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* Closed beta (P15.55). */
.beta-badge {
  display: inline-block;
  padding: 0.05rem 0.42rem;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.brand-tagline {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-header-bar .btn {
  padding: 8px 16px;
  font-size: 0.93rem;
}

/* The phone menu button: only under 960 px (see the media rule below). */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: '';
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid var(--fill-border);
  background: var(--fill);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px -10px var(--fill-glow);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--fill-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 32px -10px var(--fill-glow);
}

.btn:disabled,
.btn:disabled:hover {
  background: var(--fill);
  border-color: var(--fill-border);
  filter: none;
  transform: none;
  opacity: 0.5;
  box-shadow: none;
  cursor: not-allowed;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1.02rem;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.btn--ghost .icon {
  width: 18px;
  height: 18px;
}

/* Icons -------------------------------------------------------------- */

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature icons: plain orange line icons. */
.icon--feature {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.accent {
  background: linear-gradient(90deg, #6a96ff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nowrap {
  white-space: nowrap;
}

/* The hero glow bleeds past the edge; keep it from adding a sideways scroll. */
main {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.tag {
  display: inline-block;
  margin-left: 4px;
  padding: 0 7px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 0.15em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

/* The hero is Adam's photo of the app on a laptop (P15.253), full width
   behind the copy. A mask fades its left side out under the text, and a
   dark wash on the left and bottom keeps the headline readable. */
.hero-band {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  top: 0;
  /* Full bleed to the right edge, sized by the window's width (Adam 2026-10-21: the box was sized by its height, so it ended before the
     edge on wide windows and grew over the headline on narrow ones). object-fit: cover crops the empty left of the photo first. */
  right: 0;
  z-index: -2;
  height: 100%;
  width: 66%;
  min-width: 0;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 52%);
}

/* Adam 2026-10-22: on a very wide window the photo ran on to the window's right edge, past the page. Past 1500px it ends at the
   page's right edge (the .wrap column, 1200px wide) and fades out there instead. */
@media (min-width: 1500px) {
  .hero-photo {
    right: calc((100% - 1200px) / 2);
    width: min(66%, 1000px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 52%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 22%, #000 52%, #000 86%, transparent 100%);
  }
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0, transparent 16%),
    linear-gradient(90deg, var(--bg) 0, rgba(26, 28, 32, 0.9) 28%, rgba(26, 28, 32, 0.35) 50%, transparent 66%);
  pointer-events: none;
}

.hero {
  padding: 112px 0 128px;
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 800;
  white-space: nowrap;
}

.hero-line--accent {
  padding-bottom: 0.06em;
  background: linear-gradient(90deg, #5b86f0 10%, #a9c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pitch {
  margin: 22px 0 0;
  max-width: 30rem;
  color: var(--text-soft);
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-trust .icon {
  width: 16px;
  height: 16px;
}

/* Plan tag for something every plan has. */
.tag--free {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted);
}

.format-name {
  color: var(--text);
  font-weight: 600;
}

/* Feature strip ------------------------------------------------------ */

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 44px 0 8px;
}

.strip-image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.strip-item {
  padding: 4px 26px;
}

.strip-item:first-child {
  padding-left: 0;
}

.strip-item + .strip-item {
  border-left: 1px solid var(--line);
}

.strip-item h3 {
  margin: 16px 0 6px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.strip-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Sections ----------------------------------------------------------- */

.section {
  padding: 96px 0 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 32px;
}

/* Heading on the left, a link or toggle on the right. */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
}

.section-head--row > div {
  max-width: 54rem;
}

.section h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lede {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.head-link {
  flex-shrink: 0;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.head-link:hover {
  border-bottom-color: var(--accent);
}

.head-aside {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Real nests --------------------------------------------------------- */

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

.example {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.example:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.example img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-raised-2);
}

/* Cards that alternate between the nest on screen and the machine at work:
   the second image fades over the first. */
.example-fade {
  position: relative;
}

.example-fade img:last-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: exampleFade 10s ease-in-out infinite;
}

@keyframes exampleFade {
  0%,
  40% {
    opacity: 1;
  }
  50%,
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.example figcaption {
  padding: 14px 8px 6px;
}

.example-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.example-title h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.example-title span {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.example figcaption p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.example figcaption .example-tagline {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 3px;
}

.example dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.example dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.example dt {
  color: var(--muted);
}

.example dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Cards -------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease;
}

.cards li:hover {
  border-color: var(--line-strong);
}

.cards h3 {
  margin: 2px 0 6px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Steps -------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps > li {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--fill-border);
  background: var(--fill);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.steps h3 {
  margin: 16px 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* A small picture of each step, drawn in HTML and hidden from screen readers. */
.step-visual {
  margin-top: auto;
  padding-top: 22px;
}

.step-files {
  display: flex;
  gap: 14px;
  padding-left: 12px;
}

.file-chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 56px;
  padding-top: 8px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.file-chip svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, 0.03);
  stroke: var(--text-soft);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.step-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: end;
}

.mock-field {
  display: grid;
  gap: 4px;
}

.mock-label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-select {
  position: relative;
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #17191d;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.mock-select::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}

.mock-select--sm {
  width: 60%;
}

.mock-btn {
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid var(--fill-border);
  background: var(--fill);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.step-export {
  display: flex;
  align-items: center;
  gap: 18px;
}

.step-export img {
  width: 58%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.format-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.format-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 11px;
  margin-right: 7px;
  border: 1.3px solid var(--muted);
  border-radius: 1.5px;
  vertical-align: -1px;
}

/* Pricing ------------------------------------------------------------ */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

/* Pro (Adam 2026-10-20): two columns of the three wide, its list in two columns. */
.plan--wide {
  grid-column: span 2;
}

.plan--wide ul {
  columns: 2;
  column-gap: 28px;
}

.plan--wide li {
  break-inside: avoid;
}

.plan-tags {
  display: inline-flex;
  gap: 6px;
}

.badge--beta {
  border-color: var(--accent);
  color: var(--accent);
}

.plan--recommended {
  border-color: var(--fill-border);
  background: radial-gradient(120% 55% at 50% 0%, rgba(59, 99, 196, 0.2), transparent 70%), var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(106, 150, 255, 0.18), 0 30px 70px -30px var(--fill-glow);
}

.plan h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-flag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--fill);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.billing:has(#billing-annual:checked) .plan-price.price--annual {
  display: flex;
}

.plan-amount {
  font-size: 2.4rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.plan-period {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* P15.297: the soft-beta line sits in the price slot while prices are hidden. */
.plan-beta {
  margin: 0;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* The early-bird amount is the headline price (Adam 2026-10-21); the regular price is struck through beside it. */
.plan-amount--early {
  color: var(--accent);
  font-size: 3rem;
}

.plan-was {
  margin-left: 12px;
  color: var(--muted);
  font-size: 1.1rem;
  text-decoration-thickness: 2px;
}

.plan-early {
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 4px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-summary,
.plan-wait {
  color: var(--muted);
}

.plan-summary {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.plan ul {
  margin: 18px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.plan li + li {
  margin-top: 8px;
}

/* An orange check mark before each feature. */
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ab4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The button (and its note) sit at the bottom, level across the cards: the
   box keeps room for a note even when the card has none. */
.plan-action {
  display: flex;
  flex-direction: column;
  min-height: 76px;
  margin-top: auto;
}

.plan .btn {
  width: 100%;
}

/* Outline buttons in plan cards are orange, like the mockup's Free card. */
.plan .btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.plan .btn--ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent-hover);
}

.plan-cta-note {
  margin: 8px 0 0;
  color: var(--subtle);
  font-size: 0.82rem;
  text-align: center;
}

.plan-wait {
  margin: 0;
  padding: 11px 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.93rem;
  font-weight: 600;
  text-align: center;
}

.note {
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: 0.88rem;
}

/* The landing Monthly / Yearly toggle sits right of the heading. */
.section-head--row .billing-toggle {
  margin: 0;
}

.section-head--row .billing-toggle label {
  padding: 6px 16px;
  font-size: 0.88rem;
}

/* Closing call to action -------------------------------------------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 80px;
  padding: 34px 40px;
  border: 1px solid var(--fill-border);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 160% at 0% 50%, rgba(30, 58, 138, 0.55), transparent 60%),
    radial-gradient(60% 160% at 100% 50%, rgba(59, 99, 196, 0.2), transparent 60%),
    var(--bg-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px var(--fill-glow);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.cta-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .footer-brand {
  color: var(--text);
  font-size: 1rem;
}

.footer-brand .brand-logo {
  width: 26px;
  height: 26px;
}

.footer-legal {
  flex: 1 1 18rem;
  text-align: right;
}

/* Privacy / terms / contact pages ------------------------------------ */

.page {
  max-width: 760px;
  padding: 32px 0 24px;
}

.page h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.page h2 {
  margin: 32px 0 8px;
  font-size: 1.3rem;
}

.page p,
.page li {
  color: #d4d4d8;
}

.page ul {
  margin: 0;
  padding-left: 1.2rem;
}

.page li + li {
  margin-top: 8px;
}

.page a:not(.btn) {
  color: var(--accent);
}

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

@media (max-width: 1120px) {
  .brand-tagline {
    display: none;
  }

  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .strip-item:nth-child(2n + 1) {
    padding-left: 0;
    border-left: none;
  }

}

@media (max-width: 960px) {
  /* The phone menu (P15.713): the links drop down under the bar when the Menu button opens it. */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px 12px;
    background: #17191d;
    border-bottom: 1px solid var(--line);
  }

  .site-header-bar[data-nav='open'] .site-nav {
    display: flex;
  }

  .site-header-bar .site-nav a {
    padding: 12px 10px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 56px 0 32px;
  }

  .hero-band {
    display: flex;
    flex-direction: column;
  }

  .hero-band::before {
    display: none;
  }

  .hero-photo {
    position: static;
    order: 2;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 4 / 3;
    object-position: 88% center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }

  .example-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .section-head--row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Three tiers stay side by side down to phones, in tighter cards. */
  .plans {
    gap: 14px;
  }

  .plan {
    padding: 22px 18px 18px;
    font-size: 0.92rem;
  }

  .plan-amount {
    font-size: 1.9rem;
  }

  .plan li {
    font-size: 0.88rem;
  }

  .footer-legal {
    flex-basis: 100%;
    order: 3;
    text-align: left;
  }
}

@media (max-width: 760px) {

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

  .strip-item,
  .strip-item:nth-child(n) {
    padding: 0 16px 0 0;
    border-left: none;
  }

  .example-grid,
  .cards,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }

  .plan--wide {
    grid-column: auto;
  }

  .plan--wide ul {
    columns: 1;
  }

  .section {
    padding-top: 72px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .site-header-bar .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 40px;
  }

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

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

}

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

  .btn,
  .example,
  .cards li,
  .site-nav a {
    transition: none;
  }

  .btn:hover,
  .example:hover {
    transform: none;
  }

  .example-fade img:last-child {
    animation: none;
    opacity: 0;
  }
}

/* Pricing page (/pricing) -------------------------------------------- */

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

.pricing-page .section {
  padding-top: 64px;
}

.pricing-hero {
  padding: 56px 0 8px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pricing-hero .lede {
  max-width: 36rem;
  margin: 12px auto 0;
}

/* Monthly / Annual: the radios drive which price block shows. */
.billing-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing-toggle {
  display: flex;
  width: max-content;
  margin: 28px auto 24px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-raised);
}

.billing-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.billing:has(#billing-monthly:checked) label[for="billing-monthly"],
.billing:has(#billing-annual:checked) label[for="billing-annual"] {
  background: var(--bg-raised-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.billing:has(.billing-radio:focus-visible) .billing-toggle {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.billing-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.price--annual,
.billing:has(#billing-annual:checked) .price--monthly {
  display: none;
}

.billing:has(#billing-annual:checked) .price--annual {
  display: block;
}

/* Free, Maker and Pro side by side (P15.182), like the landing plan cards. */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

/* Same highlight as the landing page's recommended plan (P15.175). */
.tier--recommended {
  border-color: var(--fill-border);
  background: radial-gradient(120% 55% at 50% 0%, rgba(59, 99, 196, 0.2), transparent 70%), var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(106, 150, 255, 0.18), 0 30px 70px -30px var(--fill-glow);
}

.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tier-name {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.tier-flag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--fill);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-tagline {
  margin: 4px 0 16px;
  color: var(--muted);
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  line-height: 1.1;
}

.price-regular {
  color: var(--muted);
  font-size: 1.2rem;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-note {
  /* Two lines, so the buttons line up when one note wraps. */
  min-height: 3.2em;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tier-cta {
  width: 100%;
}

/* Outline buttons in the cards are orange, like the landing page's. */
.tier .btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.tier .btn--ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent-hover);
}

/* P15.297: the soft-beta line sits in the tier price slot while prices are hidden. */
.tier-beta {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Pro has no button yet: a quiet "Coming soon" box the same height. */
.tier-wait {
  margin: 0;
  padding: 11px 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.tier-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* P15.623: Maker's buy block - early-bird monthly and yearly, each with its Get Maker link. */
.tier-checkout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier-checkout .price-note {
  min-height: 0;
  margin: 0;
}

.tier-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-choice .price-amount {
  font-size: 2rem;
}

.tier-cta-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.tier-includes-lead {
  margin: 20px 0 8px;
  font-weight: 700;
}

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

.tier-includes li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  font-size: 0.97rem;
}

.tier-includes li + li {
  margin-top: 10px;
}

/* The landing page's check mark (P15.175). */
.tier-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ab4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.tiers-note {
  margin: 16px auto 0;
  text-align: center;
}

/* Comparison table: plan header sticks under the site header on desktop;
   narrow screens scroll the table sideways instead. */
.compare-scroll {
  max-width: 1040px;
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.97rem;
}

.compare th,
.compare td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare th[scope="row"] {
  font-weight: 500;
  text-align: left;
}

.compare thead th {
  position: sticky;
  top: 72px;
  z-index: 1;
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.05rem;
}

/* The recommended plan's column. */
.compare thead th:nth-child(3) {
  color: var(--accent);
}

.compare thead .badge {
  margin-left: 4px;
  vertical-align: 0.15em;
}

.compare th:not([scope="row"]):not([colspan]),
.compare td {
  width: 19%;
}

.compare-group th {
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.tick {
  color: var(--accent);
  font-weight: 800;
}

.dash {
  color: var(--line-strong);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--muted);
}

.privacy-points strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.faq-list {
  max-width: 48rem;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
}

.pricing-page .cta-band {
  margin-top: 72px;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

/* Three tiers stay side by side down to phones, in tighter cards (P15.182). */
@media (max-width: 960px) {
  .tiers {
    gap: 14px;
  }

  .tier {
    padding: 22px 18px 18px;
    font-size: 0.92rem;
  }

  .price-amount {
    font-size: 1.9rem;
  }

  .tier-includes li {
    font-size: 0.88rem;
  }
}

@media (max-width: 760px) {
  .tiers,
  .privacy-points {
    grid-template-columns: 1fr;
  }

  .pricing-hero {
    padding-top: 40px;
  }

  .compare-scroll {
    overflow-x: auto;
  }

  .compare {
    font-size: 0.9rem;
  }

  .compare thead th {
    position: static;
  }

  .compare th,
  .compare td {
    padding: 9px 6px;
  }

  .compare th:not([scope="row"]):not([colspan]),
  .compare td {
    width: 22%;
  }
}

/* Examples and Resources pages (P15.251) ---------------------------- */

.page-hero {
  padding: 64px 0 8px;
}

.page-hero h1 {
  max-width: 52rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-hero .lede {
  max-width: 44rem;
}

.section--first {
  padding-top: 56px;
}

/* One wide card per example: picture left, details right. */
.example-list {
  display: grid;
  gap: 24px;
  padding-top: 40px;
}

.example--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 14px;
}

.example--wide:hover {
  transform: none;
}

/* Whole picture, never cropped: the app screenshot is wider than 3:2. */
.example--wide img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--bg-raised-2);
}

.example-body {
  padding: 8px 12px 8px 0;
}

.example-body h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.example-body > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.example-body dd a {
  color: var(--accent);
}

/* Sample files to download. */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.sample h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.sample > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.sample dl {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.sample dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.sample dt {
  color: var(--muted);
}

.sample dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.sample-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
}

.sample-files .btn {
  padding: 7px 14px;
  font-size: 0.88rem;
}

.cards h3 a {
  color: var(--text);
  text-decoration: none;
}

.cards h3 a:hover {
  color: var(--accent);
}

/* Six menu links plus Sign in and the button: tighten before hiding at 960 px. */
@media (max-width: 1220px) {
  .site-nav a {
    padding: 6px 8px;
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 12px;
  }
}

@media (max-width: 960px) {
  .example--wide {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .example-body {
    padding: 4px 8px 10px;
  }

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

@media (max-width: 760px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
}

/* Waitlist form (P15.346). */
.waitlist .section-head {
  margin-bottom: 22px;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  max-width: 640px;
  margin: 0 auto;
}

.wl-field {
  display: grid;
  gap: 5px;
}

/* Email and Name share the first row; every field after them (plan, software, how you would use it) is full width. */
.wl-field:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.wl-label {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #17191d;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: var(--subtle);
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 72px;
}

/* Honeypot - off the page, not display:none (bots skip those). */
.wl-company {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.wl-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wl-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.wl-done {
  grid-column: 1 / -1;
  margin: 8px 0;
  padding: 14px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent-2);
  font-size: 0.95rem;
}

.waitlist-form > .note {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 560px) {
  .waitlist-form {
    grid-template-columns: 1fr;
  }
}

/* Features page (/features) ---------------------------------------- */

.features-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px 56px;
}

.features-hero .lede {
  font-size: 1.12rem;
}

.features-hero-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  box-shadow: var(--card-shadow), 0 30px 80px -40px var(--fill-glow);
}

/* Who each plan is for: three tiles under the hero. */
.plan-intro {
  padding-top: 48px;
}

.plan-intro-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.plan-intro-list li {
  padding: 20px 24px;
}

.plan-intro-list li + li {
  border-left: 1px solid var(--line);
}

.plan-intro-name {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan-intro-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-intro-note {
  margin: 12px 0 0;
  color: var(--subtle);
  font-size: 0.86rem;
}

/* Jump links to each feature group. */
.feature-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 32px;
}

.feature-jump a {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-jump a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.feature-group.section {
  padding-top: 72px;
}

.feature-group .section-head {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* An odd card out spans the row instead of leaving a hole. */
.feature-grid > .feature:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 0 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease;
}

.feature:hover {
  border-color: var(--line-strong);
}

.feature-icon {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: var(--accent-dim);
}

.feature-icon .icon--feature {
  width: 26px;
  height: 26px;
}

.feature h3 {
  margin: 2px 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature-plans {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 600;
}

.feature p:not(.feature-plans) {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 960px) {
  .features-hero {
    grid-template-columns: 1fr;
  }

  .plan-intro-list {
    grid-template-columns: 1fr;
  }

  .plan-intro-list li + li {
    border-top: 1px solid var(--line);
    border-left: none;
  }
}

@media (max-width: 760px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 20px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .feature-icon .icon--feature {
    width: 22px;
    height: 22px;
  }
}

.feature-image {
  display: block;
  width: 200px;
  height: 200px;
  margin-top: 12px;
  object-fit: cover;
  border-radius: 8px;
}

.feature--image {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0 24px;
  grid-template-rows: auto auto 1fr;
}

.feature--image .feature-image {
  grid-row: 1 / span 3;
  margin-top: 0;
}

@media (max-width: 560px) {
  .feature--image {
    grid-template-columns: 1fr;
  }

  .feature--image .feature-image {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

.feature-grid > .feature--image:last-child:nth-child(odd) {
  grid-column: auto;
}

/* A feature card with a screenshot spans the row and shows it under the text. */
.feature--shot {
  grid-column: 1 / -1;
}

.feature-shot {
  grid-column: 1 / -1;
  margin: 20px 0 0;
}

.feature-shot img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* Maker prices in USD and CAD: the page shows USD; a script sets data-currency="cad" on <html> for a visitor in Canada. */
.cur--cad { display: none; }
html[data-currency='cad'] .cur--usd { display: none; }
html[data-currency='cad'] .cur--cad { display: inline; }

.wl-check { grid-column: 1 / -1; }
.wl-check label { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }
.wl-check input { width: auto; margin-top: 3px; }

.cta-note { margin: 4px 0 0; font-size: 0.8rem; color: var(--subtle); }
