/* Keisora — keisora.app
   Palette is drawn from the app's Keisi theme: apricot coat, candy-pink
   chrome. Tile state colours (red / orange / green) are deliberately NOT
   themed here either — they mean the same thing on the site as in the app. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:root {
  --ground:        #FBF7F1;
  --ground-2:      #F4EDE4;
  --surface:       #FFFFFF;
  --surface-sunk:  #F7F2EC;
  --ink:           #1C1917;
  --ink-2:         #554C46;
  --ink-3:         #857A72;
  --hairline:      rgba(28, 25, 23, 0.10);
  --hairline-2:    rgba(28, 25, 23, 0.06);

  /* Keisi: the pink from the heart-print dress, over her apricot coat. */
  --pink:          #ED73A8;
  --pink-deep:     #C7479F;
  --apricot:       #D9A87D;

  /* State colours. Not themeable, in the app or here. */
  --red:           #D93A3F;
  --orange:        #E08A15;
  --green:         #2F9E5C;
  --violet:        #7B5DE8;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 4px 12px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 2px 6px rgba(28, 25, 23, 0.06), 0 18px 40px rgba(28, 25, 23, 0.08);
  --shadow-phone: 0 4px 12px rgba(28, 25, 23, 0.10), 0 40px 80px rgba(90, 60, 40, 0.18);

  --radius:    18px;
  --radius-lg: 26px;
  --measure:   38rem;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground:        #141110;
    --ground-2:      #1A1614;
    --surface:       #1F1B19;
    --surface-sunk:  #171412;
    --ink:           #F6F1EC;
    --ink-2:         #C4B9B1;
    --ink-3:         #93887F;
    --hairline:      rgba(246, 241, 236, 0.12);
    --hairline-2:    rgba(246, 241, 236, 0.07);

    --pink:          #F58BB8;
    --pink-deep:     #E07CC6;
    --apricot:       #E0B78F;

    --red:           #FF6F70;
    --orange:        #F5A524;
    --green:         #48C07A;
    --violet:        #9B84F5;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45);
    --shadow-phone: 0 4px 12px rgba(0, 0, 0, 0.5), 0 40px 80px rgba(0, 0, 0, 0.6);
  }
}

body {
  font-family: var(--font);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A very soft apricot bloom behind the top of the page — the app's
   backgroundWash, translated. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 70vh;
  background:
    radial-gradient(90ch 60vh at 22% -10%, rgba(217, 168, 125, 0.30), transparent 70%),
    radial-gradient(70ch 50vh at 90% -20%, rgba(237, 115, 168, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(90ch 60vh at 22% -10%, rgba(217, 168, 125, 0.13), transparent 70%),
      radial-gradient(70ch 50vh at 90% -20%, rgba(237, 115, 168, 0.10), transparent 70%);
  }
}

/* ---------- layout ---------- */

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); }

section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 0.9rem;
}

h1, h2, h3 { letter-spacing: -0.028em; line-height: 1.08; font-weight: 680; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.3; }

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: var(--measure); }

/* ---------- site header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  border-bottom: 1px solid var(--hairline-2);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 58px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 640;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto;
}
.wordmark svg { width: 22px; height: 22px; color: var(--pink); }

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); }
@media (max-width: 34rem) {
  .site-nav .hide-sm { display: none; }
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.75rem, 7vw, 5rem); padding-bottom: 0; }
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 4rem);
  margin-bottom: 1.15rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--pink-deep);
}
.hero .lede { margin-bottom: 1.9rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.15rem 0.75rem;
  border-radius: 13px;
  background: var(--ink);
  color: var(--ground);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: block; }
.store-badge .small {
  font-size: 0.6875rem;
  line-height: 1.1;
  opacity: 0.75;
  letter-spacing: 0.01em;
}
.store-badge .big {
  font-size: 1.0625rem;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: -0.015em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}

.hero-note {
  margin-top: 1.35rem;
  font-size: 0.875rem;
  color: var(--ink-3);
  max-width: 30rem;
}

/* ---------- phone mockup ---------- */

.phone-stage { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 306px;
  flex: none;
  border-radius: 50px;
  padding: 11px;
  background: linear-gradient(160deg, #4a4441, #262220 40%, #3d3835);
  box-shadow: var(--shadow-phone);
}
.phone::after {
  /* the thin polished rim */
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 47px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.screen {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #FBF7F1;
  color: #1C1917;
  height: 620px;
  display: flex;
  flex-direction: column;
  /* The Keisi background wash, layered over the system ground exactly as
     the app does it. */
  background-image: linear-gradient(rgba(217, 168, 125, 0.10), rgba(217, 168, 125, 0.10));
}
@media (prefers-color-scheme: dark) {
  .screen { background: #0F0D0C; color: #F6F1EC; }
}

.island {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 26px;
  border-radius: 999px;
  background: #0b0908;
  z-index: 3;
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 26px 0;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
}
.status .icons { display: flex; gap: 4px; align-items: center; opacity: 0.9; }
.status .icons svg { width: 15px; height: 11px; }

.screen-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px 10px;
}
.screen-nav h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.03em; }
.screen-nav .add {
  font-size: 14px;
  font-weight: 560;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding-bottom: 4px;
}
.screen-nav .add svg { width: 13px; height: 13px; }

.tiles {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 14px 14px;
  overflow: hidden;
  flex: 1;
}

/* Tile anatomy, straight from the app:
     the STATE owns the fill and the hairline,
     the TASK ACCENT owns the icon and its chip,
     the ring shows the elapsed fraction of the cycle. */
.tile {
  --accent: var(--pink-deep);
  --fill: rgba(28, 25, 23, 0.045);
  --edge: rgba(28, 25, 23, 0.07);
  --state: var(--accent);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 17px;
  background: var(--fill);
  border: 1px solid var(--edge);
}
.tile .chip {
  position: relative;
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
}
.tile .chip .disc {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 17%, transparent);
}
.tile .chip svg.glyph {
  position: relative;
  width: 17px; height: 17px;
  color: var(--accent);
}
.tile .chip svg.ring { position: absolute; inset: 0; width: 40px; height: 40px; }
.tile .chip svg.ring circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.tile .chip svg.ring .track { stroke: color-mix(in srgb, var(--state) 16%, transparent); }
.tile .chip svg.ring .fill { stroke: var(--state); transform: rotate(-90deg); transform-origin: 50% 50%; }

.r-full  { stroke-dasharray: 106.8 0; }
.r-88    { stroke-dasharray: 94 106.8; }
.r-30    { stroke-dasharray: 32 106.8; }
.r-0     { stroke-dasharray: 0 106.8; }

.tile .body { min-width: 0; flex: 1; }
.tile .title, .tile .pets, .tile .due { display: block; }
.tile .title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tile .pets {
  font-size: 12.5px;
  color: color-mix(in srgb, currentColor 58%, transparent);
  margin-top: 2px;
}
.tile .due {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--state);
  flex: none;
  text-align: right;
  letter-spacing: -0.01em;
}

.tile--overdue {
  --state: var(--red);
  --fill: color-mix(in srgb, var(--red) 11%, transparent);
  --edge: color-mix(in srgb, var(--red) 22%, transparent);
}
.tile--soon {
  --state: var(--orange);
  --fill: color-mix(in srgb, var(--orange) 12%, transparent);
  --edge: color-mix(in srgb, var(--orange) 22%, transparent);
}
.tile--notlogged {
  --state: var(--pink-deep);
  --edge: color-mix(in srgb, var(--pink-deep) 40%, transparent);
}
.tile--ok { --state: var(--green); }
.tile--settled {
  --state: var(--green);
  --fill: color-mix(in srgb, var(--green) 13%, transparent);
  --edge: color-mix(in srgb, var(--green) 24%, transparent);
  opacity: 0.62;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 9px 8px 22px;
  border-top: 1px solid rgba(28, 25, 23, 0.07);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
}
@media (prefers-color-scheme: dark) {
  .tabbar { background: rgba(31, 27, 25, 0.6); border-top-color: rgba(246, 241, 236, 0.09); }
  .tile { --fill: rgba(246, 241, 236, 0.055); --edge: rgba(246, 241, 236, 0.09); }
}
.tabbar .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 540;
  color: color-mix(in srgb, currentColor 45%, transparent);
}
.tabbar .item.on { color: var(--pink); }
.tabbar .item svg { width: 19px; height: 19px; }
.tabbar .raised {
  align-self: center;
  width: 50px; height: 50px;
  margin-top: -24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--pink) 45%, transparent);
  justify-self: center;
}
.tabbar .raised svg { width: 22px; height: 22px; }

/* ---------- anatomy figure ---------- */

.anatomy {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 52rem) {
  .anatomy { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3rem; }
}
.anatomy .sample {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-sunk);
  border: 1px solid var(--hairline-2);
  border-radius: 20px;
  padding: 1.15rem;
}
.anatomy .sample .caption {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 0.9rem;
  text-align: center;
}
.anatomy .sample .tile { padding: 15px 15px; border-radius: 19px; }
.anatomy dl { display: grid; gap: 1.15rem; align-content: center; }
.anatomy dt {
  font-weight: 620;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: -0.015em;
}
.anatomy dt .swatch {
  width: 11px; height: 11px; border-radius: 3px; flex: none;
}
.anatomy dd { color: var(--ink-2); font-size: 0.9375rem; margin-top: 0.15rem; padding-left: 1.55rem; }

/* ---------- feature grid ---------- */

.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-2); margin-top: 0.9rem; font-size: 1.0625rem; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--pink) 15%, transparent);
  color: var(--pink-deep);
  margin-bottom: 0.95rem;
}
.card .ico svg { width: 18px; height: 18px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-2); font-size: 0.9375rem; }

.card--wide { grid-column: 1 / -1; }

/* ---------- memorial ---------- */

.memorial {
  max-width: 46rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.25rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.memorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40ch 22rem at 88% -20%, rgba(237, 115, 168, 0.14), transparent 70%);
  pointer-events: none;
}
.memorial > * { position: relative; }
.memorial h2 { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.memorial h2 svg { width: 1.05em; height: 1.05em; color: var(--pink); }
.memorial p { color: var(--ink-2); max-width: var(--measure); margin-top: 1.15rem; }

.themes { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }
.theme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface-sunk);
  font-size: 0.875rem;
  font-weight: 550;
}
.theme .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent);
}
.theme svg { width: 13px; height: 13px; color: var(--pink); }
.t-keisi    { --c: #ED73A8; }
.t-oni      { --c: #CC2A2E; }
.t-gilbert  { --c: #2C4770; }
.t-zucchini { --c: #F28A21; }
.t-mia      { --c: #C278AE; }
.t-isabella { --c: #5C9E54; }

/* ---------- privacy strip ---------- */

.privacy-strip {
  background: #221D1A;
  color: #F7F2ED;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 5vw, 3.25rem);
}
@media (prefers-color-scheme: dark) {
  .privacy-strip { background: #241F1C; border-color: rgba(246, 241, 236, 0.10); }
}
.privacy-strip h2 { margin-bottom: 1rem; }
.privacy-strip > p { color: rgba(247, 242, 237, 0.72); max-width: var(--measure); }
.privacy-strip a { color: #F9A9CC; text-underline-offset: 2px; }
.claims {
  display: grid;
  gap: 1.75rem 3rem;
  grid-template-columns: 1fr;
  margin-top: 2.25rem;
}
@media (min-width: 44rem) {
  .claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.claims h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.claims h3 svg { width: 16px; height: 16px; color: var(--pink); flex: none; }
.claims p { font-size: 0.9375rem; color: rgba(247, 242, 237, 0.66); }

/* ---------- cta ---------- */

.cta { text-align: center; }
.cta h2 { margin-bottom: 1rem; }
.cta p { color: var(--ink-2); margin-inline: auto; max-width: 34rem; margin-bottom: 2rem; }
.cta .badge-row { justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline-2);
  padding-block: 2.5rem 3.5rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .made { max-width: 30rem; }

/* ---------- document pages ---------- */

.doc-hero { padding-block: clamp(2.5rem, 7vw, 4rem) 0; }
.doc-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.85rem; }
.doc-hero .meta { color: var(--ink-3); font-size: 0.9375rem; }

.prose { padding-block: 2.25rem clamp(3rem, 8vw, 5rem); }
.prose h2 {
  font-size: 1.375rem;
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 5rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.55rem; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--pink-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.callout {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--pink);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.callout p { color: var(--ink-2); font-size: 0.9375rem; }
.callout p + p { margin-top: 0.6rem; }

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}
.table-scroll { overflow-x: auto; }
.summary-table th, .summary-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--hairline-2);
  vertical-align: top;
}
.summary-table th { font-weight: 620; color: var(--ink); white-space: nowrap; }
.summary-table td { color: var(--ink-2); }
.summary-table tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0 1.15rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.75rem 1.05rem 0;
  font-weight: 600;
  font-size: 0.9875rem;
  letter-spacing: -0.012em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 1.35rem;
  width: 8px; height: 8px;
  border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq details > *:not(summary) { padding-bottom: 1.15rem; }
.faq p { color: var(--ink-2); font-size: 0.9375rem; }
.faq p + p { margin-top: 0.7rem; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}
.contact-card .mail {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: var(--pink-deep);
  text-decoration: none;
  margin-block: 0.35rem 0.9rem;
}
.contact-card .mail svg { width: 18px; height: 18px; }
.contact-card ul { margin-top: 0.75rem; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.backlink:hover { color: var(--ink); }
.backlink svg { width: 14px; height: 14px; }

/* ---------- accessibility ---------- */

a:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 0;
  z-index: 50;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* anatomy swatches — the four things a tile encodes */
.sw-red    { background: var(--red); }
.sw-ring   { background: conic-gradient(var(--orange) 0 75%, color-mix(in srgb, var(--orange) 20%, transparent) 0); border-radius: 50%; }
.sw-pink   { background: var(--pink); }
.sw-signal { background: transparent; border: 2px solid var(--pink-deep); }

/* ---------- pre-launch holding page ----------
   Only index.html uses these. The finished landing page lives in
   drafts/launch.html until the App Store listing is live. */

.soon-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.soon { max-width: 30rem; }
.soon .mark {
  width: 54px; height: 54px;
  color: var(--pink);
  margin: 0 auto 1.9rem;
}
.soon h1 {
  font-size: clamp(2.9rem, 11vw, 4.25rem);
  letter-spacing: -0.042em;
  margin-bottom: 1.1rem;
}
.soon .soon-line {
  color: var(--ink-2);
  font-size: 1.0625rem;
  margin-bottom: 2.1rem;
  text-wrap: balance;
}
.soon .badge-row { justify-content: center; }
/* One line reads better than the two-line App Store lockup here. */
.soon .store-badge { padding: 0.85rem 1.4rem; }
.soon .store-badge .one {
  font-size: 0.9875rem;
  font-weight: 560;
  letter-spacing: -0.012em;
}
.soon-foot {
  margin-top: 3.75rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.soon-foot a { color: var(--ink-3); text-decoration: none; }
.soon-foot a:hover { color: var(--ink-2); text-decoration: underline; }
