/* Signora website. Same palette as the app: refined teal (actions, links),
   deep slate (text, headings), cool off-white page, white cards with soft
   borders, soft indigo for privacy callouts. No external fonts or scripts. */
:root {
  --paper: #f8fafc;
  --paper-2: #f1f5f9;
  --ivory: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --ink: #1e293b;
  --ink-2: #334155;
  --muted: #64748b;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-text: #0f766e;
  --accent-soft: #ccfbf1;
  --accent-tint: #f0fdfa;
  --success: #059669;
  --success-soft: #ecfdf5;
  --privacy: #eef2ff;
  --privacy-text: #3730a3;
  --link: #0f766e;
  --warn: #b45309;
  --sans:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: var(--sans);
  --radius: 10px;
  --radius-btn: 8px;
  --shadow-btn: 0 1px 2px rgb(0 0 0 / 0.05), 0 1px 3px rgb(0 0 0 / 0.1);
  --shadow-btn-hover: 0 2px 4px rgb(0 0 0 / 0.06), 0 4px 10px rgb(0 0 0 / 0.12);
  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.04), 0 2px 6px rgb(15 23 42 / 0.05);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto; /* keep the picture's proportions when it is shrunk to fit */
  display: block;
}
a {
  color: var(--link);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 {
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(780px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--ivory);
  padding: 8px 12px;
  z-index: 10;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
}
.logo-mark {
  position: relative;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  display: inline-flex;
}
.logo-mark svg {
  width: 36px;
  height: 36px;
}
.logo-word {
  color: var(--ink);
}

/* ---------- Buttons: one height, one corner, a soft shadow ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease;
}
.btn-primary {
  color: #fff;
  background: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-btn-hover);
}
.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--ivory);
}
.btn-secondary:hover {
  border-color: var(--line-2);
  background: var(--paper);
}
.btn:active {
  box-shadow: var(--shadow-btn);
}
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav .btn-primary,
.site-nav .btn-primary:hover {
  color: #fff;
}
.site-nav .btn {
  padding: 9px 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-btn);
  padding: 8px 10px;
  font: inherit;
  color: var(--ink);
}
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 8px 4px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 32px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.5em;
  overflow: visible;
}
.hero h1 em path {
  stroke: var(--accent);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.6s 0.4s ease-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  font-size: 0.92rem;
  color: var(--ink-2);
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.chips li::before {
  content: '✓ ';
  color: var(--accent-text);
  font-weight: 700;
}
.hero-shot {
  margin: 48px auto 0;
  max-width: 980px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 3px rgb(15 23 42 / 0.06),
    0 12px 32px rgb(15 23 42 / 0.08);
  background: var(--ivory);
  overflow: hidden;
}

/* ---------- Sections ---------- */
section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}
.alt {
  background: var(--ivory);
  border-block: 1px solid var(--line);
}
.grid {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.card:hover {
  border-color: var(--line-2);
}
.alt .card {
  background: var(--paper);
  box-shadow: none;
}
.card p {
  color: var(--ink-2);
  margin: 0;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  border: 1px solid var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 14px;
}
.icon svg {
  width: 24px;
  height: 24px;
}
.steps {
  counter-reset: step;
}
.steps .card {
  position: relative;
  padding-top: 30px;
}
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px var(--paper);
}

/* ---------- Privacy ---------- */
.choice {
  border-width: 2px;
}
.choice.private {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.alt .choice.private {
  background: var(--accent-tint);
}
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-green {
  background: var(--success-soft);
  color: #047857;
  box-shadow: inset 0 0 0 1px rgb(5 150 105 / 0.2);
}
.tag-amber {
  background: var(--privacy);
  color: var(--privacy-text);
  box-shadow: inset 0 0 0 1px rgb(79 70 229 / 0.15);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.ticks li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.ticks li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.ticks .yes::before {
  content: '✓';
  color: var(--success);
}
.ticks .no::before {
  content: '–';
  color: var(--warn);
}
.table-wrap {
  overflow-x: auto;
  margin-top: 28px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--serif);
  background: var(--paper-2);
}
tr:last-child td {
  border-bottom: 0;
}

/* ---------- Product tour ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.showcase.flip .frame {
  order: 2;
}
.showcase-text h3 {
  font-size: 1.5rem;
}
.showcase-text p {
  color: var(--ink-2);
  font-size: 1.05rem;
}
/* Pictures are crops of the real app, shown whole in their own proportions
   (never stretched or cut), at most 420px tall. */
.frame {
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}
.frame img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
@media (max-width: 820px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .showcase.flip .frame {
    order: 0;
  }
}

/* ---------- FAQ ---------- */
details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
}
summary::after {
  content: '+';
  float: right;
  color: var(--accent-text);
  font-weight: 700;
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--ink-2);
}

/* ---------- CTA band + footer ---------- */
.band {
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 24px;
}
.band h2 {
  color: #fff;
}
.band {
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(13 148 136 / 0.28), transparent 55%), var(--ink);
}
.band p {
  color: #cbd5e1;
  font-size: 1.1rem;
}
.band .btn-primary {
  background: var(--accent);
  color: #fff;
}
.band .btn-primary:hover {
  background: var(--accent-dark);
}
.band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.45);
}
.band .btn-secondary:hover {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: #fff;
}
.site-footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  color: var(--ink-2);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Guide page ---------- */
.guide {
  padding: 48px 0 72px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 88px;
  font-size: 0.95rem;
}
.toc ol {
  padding-left: 1.2em;
  margin: 0;
}
.toc li {
  margin-bottom: 6px;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent-text);
}
.doc {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}
.doc h2 {
  margin-top: 1.6em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.doc h2:first-of-type {
  margin-top: 0;
  border-top: 0;
}
.doc h3 {
  margin-top: 1.4em;
  scroll-margin-top: 90px;
}
.doc li {
  margin-bottom: 6px;
}
.doc figure {
  margin: 18px 0;
}
.doc figure img {
  border: 1px solid var(--line);
  border-radius: 6px;
  /* Crops are taken at double resolution: show them at a calm size, centred. */
  width: auto;
  max-width: 100%;
  max-height: 440px;
  margin: 0 auto;
}
.doc figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}
.note {
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  padding: 12px 16px;
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  margin: 16px 0;
}
.note.warn {
  border-color: var(--warn);
  background: #fffbeb;
}
kbd,
.ui {
  font-family: var(--sans);
  font-weight: 650;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em path {
    animation: none;
  }
  .hero h1 em path {
    stroke-dashoffset: 0;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Print (the downloadable manual is printed from guide.html) ---------- */
@media print {
  body {
    background: #fff;
  }
  .site-header,
  .toc,
  .site-footer,
  .no-print {
    display: none !important;
  }
  .guide-layout {
    display: block;
  }
  .doc {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .doc h2,
  .doc h3 {
    break-after: avoid;
  }
  .doc h2 {
    margin-top: 1.4em;
  }
  .cover {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 240mm;
    break-after: page;
  }
  .cover .logo {
    font-size: 2.4rem;
  }
  .cover .logo-mark,
  .cover .logo-mark svg {
    width: 56px;
    height: 56px;
  }
  .cover h1 {
    font-size: 3rem;
    margin-top: 0.6em;
  }
  .cover p {
    font-size: 1.15rem;
    color: var(--ink-2);
  }
  figure,
  .note,
  table {
    break-inside: avoid;
  }
  .print-only {
    display: block !important;
  }
}
.print-only,
.cover {
  display: none;
}
