/* =========================================================
   Sibera Website — Clean Styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root,
[data-theme="light"] {
  --accent: #46B6B0;
  --accent-dark: #2F908B;
  --accent-soft: rgba(70, 182, 176, 0.12);
  --accent-ring: rgba(70, 182, 176, 0.35);

  --ink: #0F1A1C;
  --ink-2: #2A3A3D;
  --muted: #5C6B6E;
  --muted-2: #8A989B;

  --line: rgba(15, 26, 28, 0.08);
  --line-strong: rgba(15, 26, 28, 0.14);

  --bg: #F7FBFA;
  --bg-2: #EEF6F6;
  --surface: #FFFFFF;
  --surface-translucent: rgba(255, 255, 255, 0.55);
  --strip-bg: rgba(255, 255, 255, 0.5);

  --btn-primary-bg: #0F1A1C;
  --btn-primary-bg-hover: #1A2A2D;
  --btn-primary-fg: #FFFFFF;

  --bg-radial-1: radial-gradient(1100px 600px at 85% -10%, rgba(70, 182, 176, 0.18), transparent 60%);
  --bg-radial-2: radial-gradient(900px 500px at -10% 10%, rgba(70, 182, 176, 0.10), transparent 60%);

  --shadow-sm: 0 1px 2px rgba(15, 26, 28, 0.04), 0 2px 8px rgba(15, 26, 28, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 26, 28, 0.06), 0 18px 40px rgba(15, 26, 28, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 26, 28, 0.08), 0 30px 80px rgba(15, 26, 28, 0.10);

  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: 180ms ease;
}

[data-theme="dark"] {
  --accent: #5FCCC6;
  --accent-dark: #7AD9D3;
  --accent-soft: rgba(95, 204, 198, 0.16);
  --accent-ring: rgba(95, 204, 198, 0.35);

  --ink: #ECF1F1;
  --ink-2: #C7D0D2;
  --muted: #8E9B9E;
  --muted-2: #6E797C;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --bg: #0B1112;
  --bg-2: #131B1D;
  --surface: #151D1F;
  --surface-translucent: rgba(21, 29, 31, 0.65);
  --strip-bg: rgba(21, 29, 31, 0.6);

  --btn-primary-bg: #ECF1F1;
  --btn-primary-bg-hover: #FFFFFF;
  --btn-primary-fg: #0B1112;

  --bg-radial-1: radial-gradient(1100px 600px at 85% -10%, rgba(95, 204, 198, 0.14), transparent 60%);
  --bg-radial-2: radial-gradient(900px 500px at -10% 10%, rgba(95, 204, 198, 0.08), transparent 60%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4), 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  background-image: var(--bg-radial-1), var(--bg-radial-2);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

figure {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 650;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--ink-2);
}

.lead {
  color: var(--muted);
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-ring), var(--shadow-sm);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-row.centered {
  justify-content: center;
}

.fineprint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted-2);
}

.mac-note {
  margin-top: 10px;
  max-width: 520px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 18, 0.94);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo,
.logo:hover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}

.logo--image {
  line-height: 0;
  flex-shrink: 0;
}

.site-logo-img {
  width: 122px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.app-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, #5FC8C2 0%, #3AA09A 100%);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 10px rgba(70,182,176,0.30);
}

.app-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 13px;
  background: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%);
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #FFFFFF;
}

.site-nav a.is-active::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: #5FCCC6;
  border-radius: 2px;
  margin: 4px auto 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition), background var(--transition);
}

.lang-btn:hover,
.lang-btn.is-active {
  color: #FFFFFF;
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle {
  appearance: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: opacity var(--transition), transform var(--transition);
}

.theme-icon-sun {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow:
    0 -8px 0 -4px #FFFFFF,
    0 8px 0 -4px #FFFFFF,
    -8px 0 0 -4px #FFFFFF,
    8px 0 0 -4px #FFFFFF,
    6px -6px 0 -4.5px #FFFFFF,
    -6px -6px 0 -4.5px #FFFFFF,
    6px 6px 0 -4.5px #FFFFFF,
    -6px 6px 0 -4.5px #FFFFFF;
}

.theme-icon-moon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  box-shadow: 4px -3px 0 0 rgba(7, 16, 18, 0.94);
}

[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.6);
}

[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
}

.header-cta {
  background: #FFFFFF;
  color: #071012;
  border-color: #FFFFFF;
}

.header-cta:hover {
  background: #EAF4F3;
  color: #071012;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-copy .lead {
  margin-top: 18px;
  max-width: 540px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(180deg, #1A1F22, #0D1113);
  border-radius: 52px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04) inset,
    0 30px 60px rgba(15,26,28,0.18),
    0 60px 120px rgba(15,26,28,0.18);
}

.phone::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 54px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  z-index: -1;
}

.phone-notch {
  display: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0E0B16;
  border-radius: 40px;
  overflow: hidden;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--strip-bg);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 22px 24px;
  justify-content: center;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.strip-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-translucent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.grid {
  display: grid;
  gap: 20px;
}

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

.feature h3 {
  margin: 18px 0 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Feature icons ---------- */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  position: relative;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.icon-save::before {
  width: 2px;
  height: 14px;
  background: var(--accent-dark);
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.icon-save::after {
  width: 16px;
  height: 8px;
  border: 2px solid var(--accent-dark);
  border-top: none;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
}

.icon-folder::before {
  width: 20px;
  height: 14px;
  border: 2px solid var(--accent-dark);
  border-radius: 4px;
  top: 14px;
  left: 10px;
}

.icon-folder::after {
  width: 10px;
  height: 4px;
  background: var(--accent-dark);
  top: 11px;
  left: 12px;
  border-radius: 2px 2px 0 0;
}

.icon-tag::before {
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-dark);
  transform: rotate(45deg);
  border-radius: 3px;
  top: 14px;
  left: 11px;
}

.icon-tag::after {
  width: 4px;
  height: 4px;
  background: var(--accent-dark);
  border-radius: 50%;
  top: 17px;
  left: 17px;
}

.icon-search::before {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  top: 11px;
  left: 11px;
}

.icon-search::after {
  width: 8px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
  bottom: 11px;
  right: 9px;
  transform: rotate(45deg);
}

.icon-star::before {
  width: 18px;
  height: 18px;
  background: var(--accent-dark);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 13px;
  left: 13px;
}

.icon-context::before {
  width: 18px;
  height: 2px;
  background: var(--accent-dark);
  top: 15px;
  left: 13px;
  border-radius: 2px;
  box-shadow:
    0 6px 0 var(--accent-dark),
    0 12px 0 var(--accent-dark);
}

/* ---------- Screens ---------- */
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.screen-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.screen-item .shot-frame {
  margin-bottom: 24px;
}

.screen-item figcaption {
  max-width: 240px;
}

.step-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.screen-item h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.screen-item p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.shot-frame {
  position: relative;
  width: 100%;
  max-width: 220px;
  background: linear-gradient(180deg, #1A1F22, #0D1113);
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.04) inset,
    var(--shadow-md);
}

.shot-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #0E0B16;
}

/* ---------- Pro ---------- */
.pro-wrap {
  display: flex;
  justify-content: center;
}

.pro-card {
  width: 100%;
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 50% -20%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.pro-card > * {
  position: relative;
}

.pro-card h2 {
  margin-top: 16px;
}

.pro-card .lead {
  margin: 16px auto 0;
  max-width: 520px;
}

.pro-list-heading {
  margin: 32px 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.pro-list {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  max-width: 420px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.pro-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 12px 16px;
  background: var(--bg-2);
  border-radius: 12px;
  position: relative;
}

.pro-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pro-list li::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 4px;
  height: 8px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: translateY(-65%) rotate(45deg);
}

[data-theme="dark"] .pro-list li::after {
  border-right-color: var(--bg);
  border-bottom-color: var(--bg);
}

.pro-list-detailed {
  max-width: none;
  text-align: left;
}

.pro-list-detailed li {
  display: block;
  padding: 16px 18px;
}

.pro-list-detailed li::before,
.pro-list-detailed li::after {
  display: none;
}

.pro-list-detailed li strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.pro-list-detailed li span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
  font-weight: 400;
}

.legal {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- Privacy / CTA ---------- */
.privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.privacy-wrap .lead {
  margin-top: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--accent-dark);
}

.link-arrow:hover {
  color: var(--accent);
  gap: 10px;
}

.final-cta-section {
  padding-bottom: 96px;
  padding-top: 32px;
}

.final-cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 64px 32px;
  box-shadow: var(--shadow-md);
  background-image: radial-gradient(600px 220px at 50% -10%, var(--accent-soft), transparent 70%);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 48px;
  background: rgba(7, 16, 18, 0.94);
  color: #FFFFFF;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 96px 0;
}

.legal-hero {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.legal-hero .eyebrow {
  margin-bottom: 18px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-content > p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 36px 0 14px;
  color: var(--ink);
}

.legal-content h2:first-of-type {
  margin-top: 8px;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal-content a:hover {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

/* ---------- Support / Delete account helpers ---------- */
.steps-list {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step-counter;
}

.steps-list li {
  position: relative;
  padding: 12px 16px 12px 52px;
  margin-bottom: 8px;
  background: var(--bg-2);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.55;
  counter-increment: step-counter;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .steps-list li::before {
  color: var(--bg);
}

.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 28px 0 36px;
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.contact-email a {
  color: var(--ink);
  text-decoration: none;
}

.contact-email a:hover {
  color: var(--accent-dark);
}

.contact-hint {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.useful-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.useful-links a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.useful-links a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: 2;
  }

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

  .section {
    padding: 72px 0;
  }

  .screens-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

/* ---------- Mobile header ---------- */
@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo controls"
      "nav nav";
    align-items: center;
    gap: 12px 14px;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .site-header .logo,
  .site-header .logo--image {
    grid-area: logo;
    justify-self: start;
    min-width: 0;
  }

  .site-header .header-controls {
    grid-area: controls;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-header .header-cta {
    display: none;
  }

  .site-header .site-nav {
    grid-area: nav;
    width: calc(100% + 36px);
    margin: 0 -18px;
    padding: 12px 18px 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .site-nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.76);
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .site-nav a:hover,
  .site-header .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.11);
    color: #FFFFFF;
  }

  .site-header .site-nav a.is-active::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .legal-page {
    padding: 56px 0 64px;
  }

  .legal-hero {
    margin-bottom: 36px;
  }

  .legal-content {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .legal-content h2 {
    font-size: 1.15rem;
    margin-top: 28px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-email {
    font-size: 1.1rem;
  }

  .steps-list li {
    padding: 10px 14px 10px 46px;
    font-size: 0.92rem;
  }

  #screens {
    overflow: hidden;
  }

  #screens .screens-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #screens .screens-row::-webkit-scrollbar {
    display: none;
  }

  #screens .screen-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #screens .screen-item .shot-frame {
    width: min(100%, 300px);
    max-width: 300px;
    margin: 0 auto 24px;
  }

  #screens .screen-item figcaption {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 8px;
  }

  #screens .container::after {
    content: "";
    display: block;
    width: 88px;
    height: 8px;
    margin: 4px auto 0;
    background:
      radial-gradient(circle, #5FCCC6 0 4px, transparent 4.5px) 0 0 / 22px 8px repeat-x;
    opacity: 0.9;
  }

  #screens .section-head::after {
    content: "Swipe to see more";
    display: block;
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
  }

  html[lang="ru"] #screens .section-head::after {
    content: "Листайте, чтобы увидеть больше";
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pro-card {
    padding: 32px 22px;
  }

  .pro-list-detailed li {
    padding: 14px 16px;
  }

  .pro-list-detailed li strong {
    font-size: 0.95rem;
  }

  .pro-list-detailed li span {
    font-size: 0.9rem;
  }

  .final-cta {
    padding: 44px 22px;
  }

  .cta-row .btn {
    flex: 1 1 auto;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .phone {
    width: 280px;
    height: 580px;
  }

  .strip-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    gap: 14px;
    padding: 22px 24px;
  }

  .strip-item {
    width: 100%;
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .strip-bullet {
    width: 8px;
    height: 8px;
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .site-header .site-logo-img {
    width: 104px;
    max-height: 36px;
  }

  .site-header .header-controls {
    gap: 6px;
  }

  .site-header .lang-switch {
    height: 36px;
  }

  .site-header .lang-btn {
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .site-header .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .site-header .site-nav a {
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  #screens .screen-item .shot-frame {
    width: min(100%, 280px);
    max-width: 280px;
  }

  #screens .screen-item figcaption {
    max-width: 300px;
  }
}

@media (max-width: 380px) {
  .phone {
    width: 260px;
    height: 540px;
    padding: 12px;
  }

  .shot-frame {
    max-width: 220px;
    padding: 6px;
  }

  .shot-frame img {
    border-radius: 24px;
  }
}
/* ---------- Mobile header polish ---------- */
@media (max-width: 820px) {
  .site-header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-inner {
    gap: 16px 14px;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .site-header .site-logo-img {
    width: 132px;
    max-height: 46px;
  }

  .site-header .header-controls {
    gap: 10px;
  }

  .site-header .lang-switch {
    height: 42px;
    padding: 4px;
    border-radius: 999px;
  }

  .site-header .lang-btn {
    min-width: 42px;
    height: 32px;
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .site-header .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .site-header .site-nav {
    width: calc(100% + 48px);
    margin: 0 -24px;
    padding: 14px 24px 6px;
    gap: 12px;
  }

  .site-header .site-nav a {
    padding: 9px 15px;
    font-size: 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
  }
}

@media (max-width: 420px) {
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-inner {
    gap: 14px 10px;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .site-header .site-logo-img {
    width: 124px;
    max-height: 44px;
  }

  .site-header .header-controls {
    gap: 8px;
  }

  .site-header .lang-switch {
    height: 40px;
  }

  .site-header .lang-btn {
    min-width: 38px;
    height: 30px;
    font-size: 0.76rem;
  }

  .site-header .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .site-header .site-nav {
    width: calc(100% + 40px);
    margin: 0 -20px;
    padding: 13px 20px 6px;
    gap: 10px;
  }

  .site-header .site-nav a {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

