/* memina.se - one stylesheet for every page. Keep this file ASCII: the host labels CSS ISO-8859-2 (probe W1). */
:root {
  color-scheme: dark;
  --bg: #12161b;
  --bg-2: #161b21;
  --surface: #1c2128;
  --surface-2: #222831;
  --line: #2c333d;
  --line-strong: #3a414b;
  --ink: #f4f5f8;
  --muted: #a5abba;
  --faint: #7d8494;
  --teal: #48e0e4;
  --teal-edge: #b8f6f7;
  --teal-line: #2e9fa3;
  --on-teal: #122a30;
  --glass: rgba(155, 196, 208, .08);
  --glass-line: rgba(211, 246, 255, .16);
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-edge); }
:focus-visible { outline: 3px solid var(--teal-edge); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 720; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow > *, .wrap.prose > * { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--teal); color: var(--on-teal); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 22, 27, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.nav a:hover { color: var(--ink); background: var(--glass); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--glass); }
.nav .nav-login { display: none; }
.header-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
@media (max-width: 760px) {
  .site-header .wrap { gap: 10px 16px; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0 -10px; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .nav .nav-login { display: inline; color: var(--teal); }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 0 0 1px rgba(184, 246, 247, .5) inset, 0 8px 28px rgba(72, 224, 228, .18); }
.btn-primary:hover { background: var(--teal-edge); color: var(--on-teal); }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--glass-line); }
.btn-ghost:hover { color: var(--ink); background: rgba(155, 196, 208, .14); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--teal); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
@media (max-width: 760px) { section { padding: 60px 0; } }

/* Hero */
.hero { padding: 84px 0 0; border-top: 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(72, 224, 228, .14), rgba(72, 224, 228, 0));
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 880px; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 14px; color: var(--faint); font-size: 14px; }
.shot {
  margin: 56px auto 0; max-width: 1040px;
  border-radius: 22px 22px 0 0; border: 1px solid var(--glass-line); border-bottom: 0;
  background: var(--surface); padding: 10px 10px 0; overflow: hidden;
  box-shadow: 0 -10px 80px rgba(72, 224, 228, .08), 0 30px 80px rgba(0, 0, 0, .5);
}
.shot img { border-radius: 14px 14px 0 0; width: 100%; height: auto; }
@media (max-width: 640px) { .shot { margin-top: 40px; max-width: 360px; } }

/* Steps and cards */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 16px; }
.step-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 50%; background: rgba(72, 224, 228, .12); color: var(--teal); font-weight: 700; font-size: 15px;
  border: 1px solid rgba(72, 224, 228, .35);
}
.icon {
  width: 44px; height: 44px; margin-bottom: 16px; padding: 10px; border-radius: 14px;
  background: rgba(72, 224, 228, .1); border: 1px solid rgba(72, 224, 228, .28); color: var(--teal);
}
.icon svg { width: 100%; height: 100%; }

/* Privacy flow */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
}
.flow li .icon { margin: 0; width: 44px; height: 44px; }
.flow strong { display: block; font-size: 16px; }
.flow span { color: var(--muted); font-size: 15px; }
.flow .away { border-style: dashed; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(72, 224, 228, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348e0e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Phone */
.phone {
  width: 300px; max-width: 80%; margin: 0 auto; border-radius: 44px; padding: 10px;
  background: #0b0e12; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }

/* Prices */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--teal-line); box-shadow: 0 0 0 1px var(--teal-line) inset, 0 20px 60px rgba(72, 224, 228, .08); }
.plan-name { font-size: 15px; font-weight: 650; color: var(--teal); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.price { font-family: var(--font-display); font-size: 44px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 14px; margin: 8px 0 20px; min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { position: relative; padding-left: 26px; color: var(--ink); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.badge { display: inline-block; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: rgba(72, 224, 228, .14); color: var(--teal); margin-left: 8px; vertical-align: middle; letter-spacing: 0; text-transform: none; }
.vat { margin-top: 18px; color: var(--faint); font-size: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
table.compare { min-width: 640px; }
table.compare td:first-child { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); }

/* Prose (legal and long pages) */
.page-head { padding: 72px 0 36px; border-top: 0; }
.page-head + section { border-top: 0; padding-top: 20px; }
.prose h2 { font-size: 26px; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #d6d9e0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose ul.checks { padding-left: 0; }
.draft-banner {
  margin: 0 0 28px; padding: 14px 18px; border-radius: 14px;
  border: 1px dashed #e0b44a; background: rgba(224, 180, 74, .08); color: #f1d48c; font-size: 15px;
}
.note { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer img { height: 22px; width: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 13px; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
