/* Miróir public site. Tokens copied from the app (src/global.scss) so the
   site and the app read as one product: ivory ground, terracotta accent,
   beige surfaces, Inter, 16/20/28px radii. Light only, like the app. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #faf6f0;
  --bg-2: #f3ede4;
  --beige: #e7ded2;
  --card: #ffffff;
  --line: #ece7e1;
  --text: #2b2b2b;
  --deep: #111111;
  --muted: #7a736b;
  --accent: #df6c3b;
  --accent-dark: #c25828;
  --accent-tint: rgba(223, 108, 59, 0.1);
  --ai: #a7e0eb;
  --ai-soft: #c3e9f1;
  --shadow: 0 4px 24px rgba(43, 43, 43, 0.08);
  --shadow-lift: 0 12px 32px rgba(43, 43, 43, 0.12);
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

.wrap--narrow {
  max-width: 760px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 240, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

nav.main {
  display: flex;
  gap: 4px;
}

nav.main a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

nav.main a:hover,
nav.main a[aria-current='page'] {
  background: rgba(43, 43, 43, 0.06);
  color: var(--deep);
}

@media (max-width: 720px) {
  nav.main {
    display: none;
  }
}

/* Same segmented control as the Saved page's view toggle in the app. */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(43, 43, 43, 0.06);
}

.lang a {
  min-width: 40px;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.lang a:hover {
  color: var(--deep);
}

.lang a[aria-current='true'] {
  background: var(--card);
  color: var(--deep);
  box-shadow: 0 1px 4px rgba(43, 43, 43, 0.12);
}

/* ── Buttons, chips, icon circles (as in the app) ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s, background 0.15s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(223, 108, 59, 0.25);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(43, 43, 43, 0.1);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chip svg {
  width: 15px;
  height: 15px;
}

.chip--on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.chip--soon {
  border-style: dashed;
  color: var(--muted);
  background: transparent;
}

.icon-circle {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}

.icon-circle svg {
  width: 26px;
  height: 26px;
}

.icon-circle--ai {
  background: rgba(167, 224, 235, 0.35);
  color: #2d7f90;
}

/* ── Home ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 64px 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 233, 241, 0.7), rgba(195, 233, 241, 0) 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 108, 59, 0.12), rgba(223, 108, 59, 0) 65%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--deep);
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  max-width: 34em;
  margin: 20px 0 28px;
  font-size: 18px;
  color: #4a443e;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Fragments of the real AI Stylist drawer around the mirror. */
.stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.stage .mirror {
  width: min(300px, 70%);
  filter: drop-shadow(0 30px 40px rgba(43, 43, 43, 0.18));
  animation: float 6s ease-in-out infinite;
}

.panel {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: 14px 16px;
  font-size: 13px;
}

.panel-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-row {
  display: flex;
  gap: 6px;
}

.panel--occasions {
  top: 6%;
  left: 0;
  display: grid;
  gap: 10px;
  animation: float 7s ease-in-out infinite reverse;
}

.panel--auto {
  right: 0;
  top: 44%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  animation: float 8s ease-in-out 0.6s infinite;
}

.panel--auto strong {
  display: block;
  color: var(--deep);
  font-size: 14px;
}

.panel--auto span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.toggle {
  flex-shrink: 0;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  position: relative;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.panel--weather {
  left: 8%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  animation: float 7.5s ease-in-out 1.2s infinite reverse;
}

.panel--weather svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 520px) {
  .stage {
    min-height: 420px;
  }
  .panel--occasions {
    top: 0;
  }
  .panel--auto {
    top: auto;
    bottom: 20%;
  }
  .panel--weather {
    left: 0;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

section.block {
  padding-block: 56px;
}

section.block--tint {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.block h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--deep);
  text-wrap: balance;
}

.block .sub {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 40em;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature h3 {
  margin: 4px 0 0;
  font-size: 17px;
  color: var(--deep);
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: #5e5750;
}

/* Clickable rows, like the Profile rows in the app. */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--deep);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, border-color 0.18s;
}

.row:hover {
  color: var(--deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(223, 108, 59, 0.45);
}

.row .icon-circle {
  width: 48px;
  height: 48px;
}

.row .icon-circle svg {
  width: 22px;
  height: 22px;
}

.row-text {
  flex: 1;
  min-width: 0;
}

.row-text strong {
  display: block;
  font-size: 16px;
}

.row-text span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

.row .chev {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.18s var(--ease), color 0.18s;
}

.row:hover .chev {
  transform: translateX(3px);
  color: var(--accent);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--deep);
  color: #f3ede4;
}

.contact-card h2 {
  color: #fff;
  margin: 0 0 4px;
  font-size: 24px;
}

.contact-card p {
  margin: 0;
  color: #bdb4aa;
}

.contact-card .grow {
  flex: 1;
  min-width: 220px;
}

/* ── Legal pages ────────────────────────────────────────────────────────── */

.page-head {
  padding-block: 44px 8px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s var(--ease);
}

.back:hover {
  color: var(--deep);
}

.back:hover svg {
  transform: translateX(-3px);
}

.page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--deep);
  text-wrap: balance;
}

.updated {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(43, 43, 43, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.toc {
  margin: 28px 0 8px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.toc p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.toc a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.toc a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

article.legal {
  padding-block: 8px 72px;
}

article.legal h2 {
  margin: 44px 0 10px;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--deep);
  text-wrap: balance;
}

article.legal h3 {
  margin: 24px 0 6px;
  font-size: 16px;
  color: var(--deep);
}

article.legal p,
article.legal li {
  color: #403a35;
}

article.legal ul,
article.legal ol {
  padding-left: 22px;
}

article.legal li + li {
  margin-top: 6px;
}

article.legal li::marker {
  color: var(--accent);
}

article.legal .lead {
  font-size: 18px;
  color: var(--text);
}

.card {
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h3:first-child {
  margin-top: 0;
}

.card > p {
  font-size: 14px;
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0 0 14px;
}

dl.facts dt {
  font-weight: 600;
  color: var(--deep);
}

dl.facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  dl.facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  dl.facts dd {
    margin-bottom: 10px;
  }
}

.table-scroll {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--bg-2);
  color: var(--deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0 !important;
  padding: 16px 18px 16px 64px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  padding-block: 32px 44px;
  color: var(--muted);
  font-size: 13.5px;
}

footer.site .wrap {
  display: grid;
  gap: 14px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

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

.foot-company {
  margin: 0;
  line-height: 1.6;
}

/* ── Legal layout: sticky side index on wide screens ────────────────────── */

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
}

.side-toc {
  position: sticky;
  top: 92px;
  padding-top: 8px;
}

.side-toc p {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.side-toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.side-toc a:hover {
  color: var(--deep);
}

.side-toc a.is-active {
  color: var(--accent-dark);
  border-left-color: var(--accent);
  font-weight: 600;
}

.toc--mobile {
  display: none;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .side-toc {
    display: none;
  }
  .toc--mobile {
    display: block;
  }
}

.legal-section {
  padding-top: 8px;
}

.legal-section > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 16px;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.legal-section > h2 .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
}

.legal-section p,
.legal-section li {
  color: #403a35;
}

.muted-note {
  font-size: 14px;
  color: var(--muted) !important;
}

/* Key points: icon tiles. */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.tile .icon-circle {
  width: 42px;
  height: 42px;
}

.tile .icon-circle svg {
  width: 20px;
  height: 20px;
}

.tile p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text) !important;
}

/* Where the data lives: three zones. */
.data-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.zone {
  position: relative;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.zone::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--zone, var(--accent));
}

.zone--device {
  --zone: #6aa36f;
}

.zone--server {
  --zone: var(--accent);
}

.zone--ai {
  --zone: #57a9bb;
}

.zone header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.zone header svg {
  width: 22px;
  height: 22px;
  color: var(--zone);
}

.zone h3 {
  margin: 0 !important;
  font-size: 16px;
}

.zone .where {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.zone ul {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  display: grid;
  gap: 8px;
}

.zone li {
  display: flex;
  gap: 8px;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.45;
}

.zone li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--zone);
}

/* Accordions for the detailed text. */
.accordion {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

details.acc {
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.15s, box-shadow 0.15s;
}

details.acc[open] {
  border-color: rgba(223, 108, 59, 0.35);
  box-shadow: var(--shadow);
}

details.acc summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--deep);
  user-select: none;
}

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

details.acc summary:hover {
  color: var(--accent-dark);
}

details.acc summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--r-md);
}

details.acc summary .num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

details.acc summary .sum-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

details.acc summary .chev {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}

details.acc[open] summary .chev {
  transform: rotate(180deg);
  color: var(--accent);
}

details.acc .acc-body {
  padding: 0 18px 16px 58px;
}

details.acc .acc-body p {
  margin: 0;
}

details.acc .acc-body p + p {
  margin-top: 10px;
}

@media (max-width: 560px) {
  details.acc .acc-body {
    padding-left: 18px;
  }
}

.acc-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.link-btn {
  border: 0;
  background: none;
  padding: 6px 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
}

.link-btn:hover {
  color: var(--accent);
}

/* Providers. */
.providers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.provider {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.provider .mono {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.provider strong {
  display: block;
  color: var(--deep);
}

.provider p {
  margin: 2px 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(43, 43, 43, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.badge--eu {
  background: rgba(106, 163, 111, 0.15);
  color: #3d6b42;
}

.badge--us {
  background: rgba(87, 169, 187, 0.16);
  color: #2b6d7c;
}

/* Retention. */
.retention {
  display: grid;
  gap: 10px;
}

.keep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
}

.keep strong {
  color: var(--deep);
}

.keep p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--muted) !important;
}

.keep .pill {
  justify-self: end;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .keep {
    grid-template-columns: 1fr;
  }
  .keep .pill {
    justify-self: start;
  }
}

/* Rights: tappable tiles that open an email. */
.rights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

a.right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--deep);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, border-color 0.18s;
}

a.right:hover {
  color: var(--deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(223, 108, 59, 0.45);
}

a.right svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

a.right strong {
  font-size: 15px;
}

a.right span {
  font-size: 12.5px;
  color: var(--muted);
}

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 14.5px;
}

.callout svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}

.callout p {
  margin: 0;
}

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

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

.mini {
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.mini svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.mini h3 {
  margin: 8px 0 6px !important;
  font-size: 16px;
}

.mini p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 680px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Delete page. */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.step-cards li {
  counter-increment: step;
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.step-cards li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.verdict {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.verdict h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px !important;
  font-size: 17px;
}

.verdict h3 svg {
  width: 22px;
  height: 22px;
}

.verdict--gone h3 svg {
  color: #6aa36f;
}

.verdict--stays h3 svg {
  color: var(--muted);
}

.verdict ul {
  margin: 0;
  padding-left: 20px;
}

.verdict li {
  font-size: 14.5px;
}

/* Home: how it works. */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: how;
}

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

.how-step {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-xl);
  background: var(--card);
  border: 1px solid var(--line);
  counter-increment: how;
}

.how-step::after {
  content: counter(how, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--beige);
}

.how-step .icon-circle {
  margin-bottom: 16px;
}

.how-step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--deep);
}

.how-step p {
  margin: 0;
  font-size: 14.5px;
  color: #5e5750;
}

/* Pushed to the bottom so the chips of the three cards line up. */
.how-step .mini-ui {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

/* The dark contact box keeps light text inside the legal pages too. */
article.legal .contact-card h2 {
  margin: 0 0 4px;
  color: #fff;
}

article.legal .contact-card p {
  color: #bdb4aa;
}

/* Leave the top of the mirror visible under the occasion panel. */
.stage {
  padding-top: 72px;
}

@media (max-width: 520px) {
  .stage {
    padding-top: 84px;
  }
}

/* Terms: the key points, then every article as a card, all visible. */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.article-card {
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}

.article-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--deep);
}

.article-card h3 .num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.article-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #403a35;
}

.tile h3 {
  margin: 0 !important;
  font-size: 15.5px;
  color: var(--deep);
}

.section-title {
  margin: 44px 0 16px;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--deep);
}


.tiles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .tiles--3 {
    grid-template-columns: 1fr;
  }
}

/* Email sheet: shown on every mailto link, because many people have no mail
   app set up (webmail only) and the link would otherwise do nothing. */
.mail-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.4);
  animation: sheet-fade 0.18s ease-out;
}

.mail-sheet[hidden] {
  display: none;
}

.mail-sheet__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: sheet-up 0.22s var(--ease);
}

@media (max-width: 560px) {
  .mail-sheet {
    place-items: end stretch;
    padding: 0;
  }
  .mail-sheet__card {
    max-width: none;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

.mail-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.06);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mail-sheet__close:hover {
  background: rgba(43, 43, 43, 0.12);
}

.mail-sheet__close svg {
  width: 18px;
  height: 18px;
}

.mail-sheet .icon-circle {
  margin: 0 auto 12px;
}

.mail-sheet h2 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 20px;
  color: var(--deep);
}

.mail-sheet__hint {
  margin: 0 0 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  margin-bottom: 10px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
}

.copy-row div {
  flex: 1;
  min-width: 0;
}

.copy-row span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.copy-row strong {
  display: block;
  font-size: 15px;
  color: var(--deep);
  overflow-wrap: anywhere;
}

.copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.copy-btn:hover {
  background: var(--accent-tint);
}

.copy-btn.is-done {
  background: var(--accent);
  color: #fff;
}

.mail-sheet__apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.mail-sheet__apps .btn {
  padding: 12px 14px;
}

@keyframes sheet-fade {
  from {
    opacity: 0;
  }
}

@keyframes sheet-up {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}
