/* Home page look (2026-10-22 rebuild): warm white page, a dark night hero with the Pearl Blobby,
   Pearl bands between sections. Only index.html loads this file, so beta/ and 404 keep site.css as
   it was. Section styles: hero.css, how.css, formats.css, explain.css (Tools and Actions), faq.css,
   and the small sections at the bottom of this file. */

.home {
  --cream: #faf7f3;
  --paper: #ffffff;
  --soft: #f2eee8;         /* Pearl band */
  --pearl: #f2eee8;
  --night: #15131a;
  --black: #15131a;
  --ink: #17141c;
  --ink-2: #3d3944;
  --ink-3: #66616c;
  --line: rgba(23, 20, 28, .1);
  background: var(--cream);
}
.home .nav { background: color-mix(in srgb, var(--paper) 88%, transparent); }
.home .section.dark { background: var(--night); }

/* glossy keycap, used in several sections */
.home .key {
  display: inline-block; font: 600 .82em/1 var(--font-display); color: var(--ink); white-space: nowrap;
  background: linear-gradient(180deg, #fff, #eeeae4); border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 rgba(23, 20, 28, .1), 0 2px 4px rgba(23, 20, 28, .08);
  padding: 6px 10px 5px; margin: 0 2px; vertical-align: .08em;
}

/* ---------- How it works ---------- */
.home .how { background: var(--cream); }
.home .how .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.home .how-step { text-align: center; padding: 30px 24px 26px; }
.home .how-num { margin: 0 auto 18px; }
.home .how-step p { min-height: 0; margin: 0; line-height: 2; }
.home .how-step h3 { margin-bottom: .35em; }

/* ---------- Build your Blobby: a big live Blobby and one row of parts ---------- */
.build { background: var(--paper); }
.build-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.build-stage { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; }
.build-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bc, var(--purple)) 30%, transparent), transparent);
  filter: blur(18px); transition: background .4s;
}
.build-blob { position: absolute; inset: 6%; }
.build-copy .lead { margin-bottom: 28px; }
/* always one row: five part tiles, then four colour swatches */
.build-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) repeat(4, minmax(0, .62fr)); gap: clamp(6px, 1.2vw, 10px); max-width: 600px; }
.build-row button {
  aspect-ratio: 1; padding: 8%; border: 0; border-radius: 22%; cursor: pointer; min-width: 0;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .18s var(--ease-spring), box-shadow .18s, background-color .18s;
}
.build-row button:hover { transform: translateY(-3px); }
.build-row button[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 3px var(--purple), var(--pop-sm); }
.build-row button.swatch { aspect-ratio: auto; padding: 0; display: grid; place-items: center; border-radius: 999px; }
.build-row .swatch i { width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--sheen), var(--sw); box-shadow: var(--sheen-edge), inset 0 0 0 1px var(--line); }
.build-row button svg { pointer-events: none; }
@media (max-width: 860px) {
  .build-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .build-stage { max-width: 300px; }
  .build-copy .lead { margin-left: auto; margin-right: auto; }
  .build-row { margin: 0 auto; }
}

/* ---------- Show us your Blobby: five Blobbies on a Pearl band ---------- */
.share { background: var(--soft); }
.share .section-head { margin-bottom: clamp(24px, 4vw, 44px); }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.crew li {
  aspect-ratio: 1; border-radius: 32px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--pop-sm);
  display: grid; place-items: center; padding: 8%;
}
.crew li:nth-child(even) { transform: translateY(18px); }
.crew li.dark { background: #15131a; }
.crew .cb { width: 100%; height: 100%; }
@media (max-width: 700px) {
  .crew { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .crew li { grid-column: span 2; border-radius: 24px; }
  .crew li:nth-child(4) { grid-column: 2 / span 2; }
  .crew li:nth-child(even) { transform: none; }
}

/* ---------- Private ---------- */
.home .private { background: var(--cream); padding-top: calc(var(--section-y) * .7); padding-bottom: calc(var(--section-y) * .7); }
.private-card {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  max-width: 900px;
}
.private-card h2 { margin-bottom: .5em; }
.private-blob { width: 180px; height: 180px; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promises li {
  font: 600 18px/1 var(--font-display); padding: 12px 18px 11px 14px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 9px;
}
.promises li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--sheen), var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2317141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  background-blend-mode: normal;
  box-shadow: var(--sheen-edge);
}
@media (max-width: 640px) {
  .private-card { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .private-blob { width: 130px; height: 130px; }
  .promises { justify-content: center; }
}

/* ---------- Pricing: two cards on a Pearl band, Pro in black ---------- */
.home .pricing { background: var(--soft); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); max-width: 860px; margin: 0 auto; }
.plan {
  display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--pop-sm);
}
.plan h3 { margin-bottom: .3em; }
.plan-price { font: 400 18px/1 var(--font-body); color: var(--ink-3); margin-bottom: 16px; }
.plan-price b { font: 600 clamp(44px, 5vw, 56px)/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; margin-right: 6px; }
.plan-sum { color: var(--ink-2); }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sheen), var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2317141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: var(--sheen-edge);
}
.plan .btn { align-self: stretch; }
.plan-pro { background: var(--night); color: #fff; }
.plan-pro .plan-price, .plan-pro .plan-sum { color: #c9c9d2; }
.plan-pro .plan-price b { color: #fff; }
.plan-pro .plan-list li { border-top-color: rgba(255, 255, 255, .14); }
.plan-pro .plan-list li::before { background-color: var(--accent); }
.plan-pro .btn-primary { background: var(--sheen), var(--accent); color: var(--ink); box-shadow: var(--sheen-edge), 0 16px 32px -14px rgba(0, 0, 0, .6); }
/* Free and Pro comparison under the cards. The tick reuses the plan-list circle; the
   words inside .yes and .no stay for screen readers and are hidden visually. */
.compare { width: 100%; max-width: 860px; margin: clamp(28px, 4vw, 44px) auto 0; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.compare th, .compare td { padding: 14px clamp(12px, 2vw, 22px); border-top: 1px solid var(--line); text-align: center; }
.compare thead th { border-top: 0; font: 600 18px/1.2 var(--font-display); vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--ink-2); }
.compare td { width: 22%; }
.compare .tries { color: var(--ink-3); font-size: 15px; }
.compare .yes, .compare .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; text-indent: 100%; white-space: nowrap; vertical-align: middle; }
.compare .yes {
  background: var(--sheen), var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2317141c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: var(--sheen-edge);
}
.compare .no {
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%237a7a86' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.plans-note { text-align: center; margin: clamp(22px, 3vw, 32px) 0 0; color: var(--ink-3); font-size: 16px; }
@media (max-width: 700px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ sits on the warm page too */
.home .faq { background: var(--paper); }
.home .faq .key { font-size: 15px; }

/* phones: How it works as three compact rows, number on the left */
@media (max-width: 860px) {
  .home .how-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; text-align: left; padding: 20px; align-items: center; }
  .home .how-num { grid-row: 1 / 3; margin: 0; }
  .home .how-step h3 { margin: 0; font-size: 24px; }
  .home .how-step p { line-height: 1.7; }
}
@media (max-width: 480px) {
  .build-row { grid-template-columns: repeat(5, minmax(0, 1fr)) repeat(4, minmax(0, .55fr)); gap: 5px; }
}
