/* MirrorAct – mirroract.com */

:root {
  color-scheme: dark;
  --bg: #0a0c17;
  --surface: rgb(255 255 255 / 0.035);
  --surface-strong: rgb(255 255 255 / 0.07);
  --border: rgb(255 255 255 / 0.09);
  --text: #eef0f7;
  --muted: #a7acc3;
  --faint: #7a809c;
  --teal: #4fcdbc;
  --teal-deep: #1a9e94;
  --amber: #facc59;
  --coral: #f27366;
  --radius: 22px;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { 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: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
svg.i { width: 1em; height: 1em; flex: none; }
code { font-family: var(--mono); font-size: 0.88em; overflow-wrap: anywhere; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Navigation */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(10 12 23 / 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 650; font-size: 1.08rem; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; margin-left: -4px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.94rem; }
.nav-links a { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .i { font-size: 1.15rem; }
.lang {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 10px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .nav-links { gap: 18px; }
  .nav-links .wide { display: none; }
}

/* Hero */

.hero { position: relative; isolation: isolate; padding-top: clamp(56px, 9vw, 112px); text-align: center; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -64px 0 auto; height: min(1100px, 150vw);
  background:
    radial-gradient(42% 46% at 16% 22%, rgb(38 150 160 / 0.42), transparent 72%),
    radial-gradient(40% 46% at 86% 28%, rgb(140 60 120 / 0.40), transparent 72%),
    radial-gradient(60% 50% at 50% 66%, rgb(52 46 120 / 0.55), transparent 72%);
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 6px 14px 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: var(--muted); font-size: 0.86rem; font-weight: 600;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
}

h1, h2, h3 { text-wrap: balance; }
h1 {
  margin: 0 auto; max-width: 13ch;
  font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.1rem); line-height: 1.02;
  font-weight: 750; letter-spacing: -0.042em;
}
.grad {
  background: linear-gradient(100deg, var(--amber) 10%, var(--coral) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 37rem; margin: 26px auto 0;
  color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55;
  text-wrap: pretty;
}

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; font-size: 1rem; font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .i { font-size: 1.2rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #22b8a9, #12827b);
  box-shadow: 0 10px 34px -10px rgb(34 184 169 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.22);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgb(34 184 169 / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.btn-ghost { color: var(--text); background: var(--surface-strong); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }

.hero-meta { margin: 20px 0 0; color: var(--faint); font-size: 0.9rem; }

.hero-shot { position: relative; max-width: 1080px; margin: clamp(48px, 7vw, 84px) auto 0; }
.hero-shot::before {
  content: ""; position: absolute; inset: 12% 8% -4%; z-index: -1;
  background: linear-gradient(90deg, rgb(38 150 160 / 0.55), rgb(80 60 160 / 0.5), rgb(160 60 120 / 0.55));
  filter: blur(70px); opacity: 0.55;
}
.shot {
  border-radius: clamp(12px, 1.8vw, 22px);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 40px 100px -24px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(0 0 0 / 0.35);
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .wrap > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .wrap > :nth-child(2) { animation-delay: 0.06s; }
.hero .wrap > :nth-child(3) { animation-delay: 0.12s; }
.hero .wrap > :nth-child(4) { animation-delay: 0.18s; }
.hero .wrap > :nth-child(5) { animation-delay: 0.24s; }
.hero .wrap > :nth-child(6) { animation-delay: 0.32s; }

/* Sections */

.section { padding-block: clamp(88px, 11vw, 150px); }
.section + .section { padding-top: 0; }
.head { max-width: 46rem; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.head p { margin: 18px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); text-wrap: pretty; }
h2 {
  margin: 0;
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.3rem); line-height: 1.06;
  font-weight: 720; letter-spacing: -0.034em;
}
.kicker {
  margin: 0 0 14px;
  color: var(--teal); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
}

/* Why */

.why { max-width: 50rem; margin-inline: auto; text-align: center; }
.why p:not(.kicker) {
  margin: 0;
  color: var(--muted); font-size: clamp(1.25rem, 1.02rem + 1vw, 1.75rem); line-height: 1.45; letter-spacing: -0.012em;
  text-wrap: pretty;
}
.why strong { color: var(--text); font-weight: 600; }

/* Connect */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  padding: 30px 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.018));
}
.badge {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px;
  border-radius: 15px; font-size: 1.55rem;
}
.badge.teal { color: var(--teal); background: rgb(79 205 188 / 0.12); box-shadow: inset 0 0 0 1px rgb(79 205 188 / 0.22); }
.badge.amber { color: var(--amber); background: rgb(250 204 89 / 0.11); box-shadow: inset 0 0 0 1px rgb(250 204 89 / 0.22); }
.badge.coral { color: var(--coral); background: rgb(242 115 102 / 0.12); box-shadow: inset 0 0 0 1px rgb(242 115 102 / 0.24); }
.card h3 { margin: 0 0 10px; font-size: 1.32rem; letter-spacing: -0.016em; }
.card p { margin: 0; color: var(--muted); }
.path {
  align-self: flex-start; margin-top: auto; padding-top: 22px;
  color: var(--faint); font-size: 0.86rem;
}
.path span {
  display: inline-block; padding: 5px 11px; border-radius: 8px;
  background: rgb(255 255 255 / 0.05); border: 1px solid var(--border); color: var(--text);
}

/* Feature rows */

.rows { display: grid; gap: clamp(88px, 11vw, 150px); }
.row { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(32px, 5.5vw, 80px); }
.row.flip { grid-template-columns: 1fr 1.4fr; }
.row.flip figure { order: 2; }
.row figure { margin: 0; }
.row h3 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em;
}
.row p { margin: 0 0 14px; color: var(--muted); text-wrap: pretty; }
.row p.aside { color: var(--faint); font-size: 0.95rem; }

.checks { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgb(79 205 188 / 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%234fcdbc' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.note {
  margin-top: 26px; padding: 20px 22px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  color: var(--muted); font-size: 0.98rem;
}
.note strong { display: block; margin-bottom: 4px; color: var(--text); }

/* Detail tiles */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 28px 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.tile .i { margin-bottom: 18px; color: var(--teal); font-size: 1.7rem; }
.tile h3 { margin: 0 0 8px; font-size: 1.12rem; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.keys { margin-top: clamp(64px, 8vw, 96px); text-align: center; }
.keys h3 { margin: 0 0 26px; font-size: 1.35rem; letter-spacing: -0.015em; }
.keys ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.keys li {
  display: flex; align-items: center; gap: 11px; padding: 8px 15px 8px 8px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  color: var(--muted); font-size: 0.93rem;
}
kbd {
  min-width: 48px; padding: 5px 9px; border-radius: 8px; text-align: center;
  font: 600 0.92rem var(--font); color: var(--text); letter-spacing: 0.04em;
  background: linear-gradient(#2a2e46, #1b1e33);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 2px 0 rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.08);
}

/* Privacy */

.privacy {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(52px, 8vw, 100px) clamp(22px, 6vw, 80px);
  border: 1px solid var(--border); border-radius: 32px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgb(26 158 148 / 0.24), transparent 65%),
    linear-gradient(180deg, #11152b, #0c0f1f);
}
.privacy .seal {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 28px;
  border-radius: 21px; color: #fff; font-size: 2rem;
  background: linear-gradient(135deg, #1fb0a3, #0d5c66);
  box-shadow: 0 14px 44px -12px rgb(26 158 148 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.privacy p { max-width: 41rem; margin: 20px auto 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); text-wrap: pretty; }
.privacy p.small { margin-top: 26px; color: var(--faint); font-size: 0.95rem; }

/* Get started */

.start { display: grid; grid-template-columns: 1fr 1.35fr; align-items: start; gap: clamp(40px, 6vw, 88px); }
.start > div { min-width: 0; }
.start .intro p { margin: 18px 0 0; color: var(--muted); }
.reqs { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.reqs li { display: flex; gap: 12px; color: var(--text); }
.reqs li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--teal); }
.reqs small { color: var(--faint); font-size: 0.9rem; }

.steps { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--border);
  font-weight: 700; font-size: 0.95rem;
}
.steps h3 { margin: 5px 0 12px; font-size: 1.06rem; letter-spacing: -0.01em; }

.code {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 13px 13px 13px 16px; border: 1px solid var(--border); border-radius: 14px; background: #06080f;
}
.code code {
  flex: 1; min-width: 0; white-space: pre-wrap;
  font: 0.88rem/1.6 var(--mono); color: #e1e5f2;
}
.code code::before { content: "$ "; color: var(--faint); }
.copy {
  flex: none; padding: 6px 11px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
  background: var(--surface-strong); color: var(--muted); font: 600 0.78rem var(--font);
}
.copy:hover { color: var(--text); background: rgb(255 255 255 / 0.12); }
.copy[data-state="done"] { color: var(--teal); }

.start .note code, .start .intro code { color: var(--text); }
.start .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; }
.start .more .i { font-size: 1.1rem; transition: transform 0.15s ease; }
.start .more:hover .i { transform: translateX(3px); }

/* Credits */

.credits { max-width: 44rem; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.05rem; text-wrap: pretty; }
.credits strong { color: var(--text); font-weight: 600; }

/* Footer */

.footer { padding: 48px 0 60px; border-top: 1px solid rgb(255 255 255 / 0.07); color: var(--faint); font-size: 0.9rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { color: var(--muted); }
.fine { max-width: 48rem; margin: 26px 0 0; font-size: 0.82rem; line-height: 1.6; }

/* Legal pages */

.legal { max-width: 46rem; padding-block: clamp(56px, 8vw, 96px); }
.legal h1 { max-width: none; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.legal h2 { margin: 56px 0 14px; font-size: 1.6rem; letter-spacing: -0.02em; }
.legal h3 { margin: 30px 0 8px; font-size: 1.1rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.todo { padding: 1px 5px; border-radius: 5px; background: rgb(250 204 89 / 0.16); color: var(--amber); }

.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding-block: 80px; }
.notfound h1 { max-width: none; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
.notfound .nf-icon { margin: 0 auto 20px; }
.notfound p { color: var(--muted); }

/* Narrow screens */

@media (max-width: 900px) {
  .cards, .start { grid-template-columns: 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip figure { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .eyebrow { gap: 8px; padding-inline: 10px 12px; font-size: 0.74rem; }
  .grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .keys li { flex: 1 1 100%; }
}

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