/* Manrope (SIL Open Font License 1.1, assets/fonts/OFL.txt), served from this site. One variable
   font per subset covers every weight the pages use. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-v20-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-v20-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 {
  --green: #3fb59f;
  --green-dark: #176b60;
  --green-light: #e1f2ed;
  --ink: #0b1c1a;
  --ink-soft: #445753;
  --paper: #ffffff;
  --paper-soft: #f0f7f4;
  --line: #dfebe7;
  /* The dark panels (protection cards, the privacy panel, the highlighted plan) in both themes. */
  --surface-dark: #0b1c1a;
  --ink-hover: #16302b;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(11, 28, 26, 0.25);
  --maxw: 1160px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
  /* Longer menus in other languages must not wrap the name. */
  white-space: nowrap;
  flex-shrink: 0;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-hover); }

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

.btn-soft {
  background: var(--green-light);
  color: var(--green-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 181, 159, 0.25);
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0b1c1a;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.55;
  cursor: default;
  user-select: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,181,159,0.22), rgba(63,181,159,0) 70%);
  pointer-events: none;
}

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

.eyebrow {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}
/* Turkish capitals turn the app's English names' i into İ ("PROTECTİON"); keep them as written. */
:lang(tr) .eyebrow { text-transform: none; letter-spacing: 0.02em; }

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

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

.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 13px;
  color: var(--ink-soft);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.trust-item svg { flex: none; color: var(--green-dark); }

/* ---------- Mock app window ---------- */
.mock {
  background: linear-gradient(180deg, #10282a, #0b1c1a);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px 14px;
}
.mock-titlebar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.mock-body {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.mock-row .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--green-light);
  color: var(--green-dark);
}

.mock-row .txt { flex: 1; min-width: 0; }
.mock-row .txt strong { display: block; font-size: 14.5px; }
.mock-row .txt span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.mock-row .stat { font-weight: 800; font-size: 14px; color: var(--green-dark); flex: none; }

.mock-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 2px;
}
.mock-summary strong { font-size: 22px; }
.mock-summary span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: 36px;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  font-weight: 800;
}

.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
}

.alt-bg { background: var(--paper-soft); }

/* ---------- Screenshots ---------- */
.shot { margin: 0; }
.shot a { display: block; }
.shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #16201f;
}
.shot figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.shot figcaption strong { color: var(--ink); }
.shot-hero { max-width: 1000px; margin: 0 auto 56px; }
.shot-hero figcaption { text-align: center; }
.shot-inline { max-width: 460px; margin: 28px auto 32px; }
.shot-inline.shot-wide { max-width: 100%; }
.shot-inline img { background: #fff; }
.shot-inline figcaption { text-align: center; }
/* The home page's video: a still and a play button until clicked, then YouTube's player. */
.video { max-width: 1000px; margin: 0 auto 56px; }
.video-play, .video iframe {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b1514;
}
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-button {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #176b60;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.video-button svg { margin-left: 4px; }
.video-play:hover .video-button, .video-play:focus-visible .video-button { transform: scale(1.08); }
.video figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #0b1514;
}
/* Support and Download: the two setup videos, side by side where there's room. */
.setup-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin: 24px 0 40px; scroll-margin-top: 96px; }
.setup-videos .video { margin: 0; max-width: none; }
.setup-videos .video figcaption { text-align: left; }
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}
/* App screenshots sit in a MacBook: the link is the black lid, ::after the aluminium base with
   its notch. Not on .shot-inline images of macOS itself (only .shot-wide ones are the app). */
.shot:not(.shot-inline) > a, .shot-wide > a {
  position: relative;
  margin: 0 7% 3.4%;
  padding: 1.5% 1.5% 2.3%;
  background: #0d0d0f;
  border-radius: 3.2% 3.2% .8% .8% / 5% 5% 1.25% 1.25%;
  box-shadow: 0 0 0 1.5px #3a3d42, var(--shadow);
}
.shot:not(.shot-inline) > a::after, .shot-wide > a::after {
  content: "";
  position: absolute;
  left: -7.5%;
  right: -7.5%;
  top: 100%;
  aspect-ratio: 52 / 1;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background:
    linear-gradient(#9da1a7, #c7cacf) center top / 15% 40% no-repeat,
    linear-gradient(#e6e8eb, #b9bdc3 55%, #8d9198);
  box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .55);
}
.shot:not(.shot-inline) > a img, .shot-wide > a img { border-radius: 4px; box-shadow: none; background: #16201f; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
}

.feature-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

.feature-group {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 44px 0 16px;
}
.feature-group:first-of-type { margin-top: 0; }
.feature-card.wide { grid-column: span 2; }
.feature-card code { font-size: 0.92em; }

.also-panel {
  margin: 44px 0 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.also-panel h3 { font-size: 18px; margin: 0 0 18px; }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.also-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink); }
.also-list svg { flex: none; color: var(--green-dark); margin-top: 2px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }

/* ---------- Protection ---------- */
.shield-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shield-card {
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.shield-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(63, 181, 159, 0.16);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.shield-kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.shield-card h3 { font-size: 21px; line-height: 1.25; margin: 0 0 12px; color: #fff; }
.shield-card p:last-child { font-size: 14.5px; color: rgba(255,255,255,0.74); margin: 0; }
.shield-more {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.shield-more li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.shield-more svg { flex: none; color: var(--green-dark); }

.tier-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}
.tier-tag.free { background: #eef2ff; color: #4145b3; }
.tier-tag.pro { background: var(--green-light); color: var(--green-dark); }

/* ---------- Privacy section ---------- */
.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
}

.privacy-panel h2 { color: #fff; font-size: 32px; margin: 0 0 16px; }
.privacy-panel p.lead { color: rgba(255,255,255,0.72); margin: 0 0 28px; font-size: 16px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}
.check-list svg { flex: none; color: var(--green); margin-top: 2px; }

.privacy-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.privacy-visual .big-shield {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  color: var(--green);
}
.privacy-visual strong { display: block; font-size: 20px; margin-bottom: 8px; }
.privacy-visual span { color: rgba(255,255,255,0.65); font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 44px;
}

.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-soft);
}

.pricing-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.pricing-toggle-wrap { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--paper);
}

.price-card.highlight {
  border-color: var(--surface-dark);
  background: var(--surface-dark);
  color: #fff;
  position: relative;
}

.price-card.highlight .plan-name,
.price-card.highlight .plan-desc { color: rgba(255,255,255,0.7); }

.plan-name { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-dark); }
.plan-desc { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 22px; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.plan-price .amount { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price .period { font-size: 14px; color: var(--ink-soft); }
.price-card.highlight .plan-price .period { color: rgba(255,255,255,0.6); }
.plan-price .was {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration-thickness: 2px;
  margin-right: 4px;
}
.price-card.highlight .plan-price .was { color: rgba(255,255,255,0.5); }
.price-card { display: flex; flex-direction: column; }
.price-card .plan-features { flex: 1; align-content: start; }
.plan-price { flex-wrap: wrap; }
.plan-price .period { white-space: nowrap; }
.price-card.highlight .btn-primary { background: var(--green); color: var(--ink); }
.price-card.highlight .btn-primary:hover { background: #4cc4ad; }

.save-pill {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: middle;
}

.plan-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 10px; font-size: 14.5px; }
.plan-features svg { flex: none; color: var(--green); margin-top: 2px; }
.price-card.highlight .plan-features svg { color: var(--green); }

.price-card .btn { width: 100%; white-space: normal; text-align: center; }

.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 28px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}

.faq-q {
  width: 100%;
  text-align: left;
  color: var(--ink);
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .plus {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.faq-item[data-open="true"] .faq-q .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0 0 30px; }
.cta-band .coming-soon { background: #fff; color: var(--ink); opacity: 1; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 280px;
  margin: 14px 0 0;
}

.ph-badge { display: inline-block; margin-top: 18px; }
.ph-badge img { display: block; max-width: 100%; height: auto; }

.footer-col h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col ul + h2 { margin-top: 28px; }
.footer-col a { text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-col a:hover { color: var(--green-dark); }

/* The page in other languages, above the copyright line. */
.languages ul {
  list-style: none;
  margin: 0;
  padding: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
}
.languages a { color: var(--ink-soft); text-decoration: none; }
.languages a:hover { color: var(--ink); text-decoration: underline; }
.languages [aria-current] { color: var(--ink); font-weight: 700; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Simple content pages (privacy/terms/support) ---------- */
.doc-page { padding: 64px 0 100px; }
.doc-page .wrap { max-width: 760px; }
.doc-page h1 { font-size: 38px; margin: 0 0 8px; letter-spacing: -0.02em; }
.doc-page .updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 44px; }
.doc-page .note { border: 1px solid var(--line, #e5e5ea); border-radius: 10px; padding: 12px 16px; margin: -24px 0 36px; font-size: 14.5px; }
.doc-page h2 { font-size: 21px; margin: 40px 0 14px; }
.doc-page h3 { font-size: 17px; margin: 28px 0 10px; }
.doc-page code { font-size: 0.92em; }
.doc-page p, .doc-page li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.doc-page ul { padding-left: 20px; }
.doc-page a.inline { color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.release { border-top: 1px solid var(--line, #e5e5ea); margin-top: 36px; scroll-margin-top: 84px; }
.release h2 { margin-bottom: 4px; }
.release h2 a { color: inherit; text-decoration: none; }
.release h2 a:hover { text-decoration: underline; }
.release .release-meta { font-size: 14px; margin: 0 0 6px; }
.release h3 { font-size: 15px; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.release h2 .release-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.release .release-summary { font-size: 17px; font-weight: 600; color: var(--ink); margin: 10px 0 10px; }
.release .release-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.release-count { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper-soft); color: var(--ink-soft); border: 1px solid var(--line); }
.release-count b { font-weight: 800; color: var(--ink); }
.release-count-new { background: var(--green-light); color: var(--green-dark); border-color: transparent; }
.release-count-new b { color: var(--green-dark); }
.release-count-fixed { background: #fdf1e3; color: #8a4b0f; border-color: transparent; }
.release-count-fixed b { color: #8a4b0f; }
[data-theme="dark"] .release-count-fixed { background: rgba(232, 150, 60, 0.16); color: #f0b877; }
[data-theme="dark"] .release-count-fixed b { color: #f0b877; }
.release-latest .btn { margin: 2px 0 6px; }
.release-shot { margin: 18px 0 8px; }
.release-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.release-shot figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.doc-page .wrap.changelog-layout { max-width: 1040px; display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 56px; align-items: start; justify-content: center; }
.changelog-nav { position: sticky; top: 84px; max-height: calc(100vh - 108px); overflow-y: auto; padding: 6px 4px 6px 0; }
.changelog-nav-title { font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 10px; }
.changelog-nav ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.changelog-nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; line-height: 1.4; transition: color .15s ease, border-color .15s ease; }
.changelog-nav a span { font-weight: 600; font-variant-numeric: tabular-nums; }
.changelog-nav a time { font-size: 12.5px; opacity: .75; white-space: nowrap; }
.changelog-nav a:hover { color: var(--ink); }
.changelog-nav a[aria-current="true"] { color: var(--green-dark); border-left-color: var(--green); }
.changelog-nav a[aria-current="true"] span { font-weight: 800; }
@media (max-width: 900px) {
  .doc-page .wrap.changelog-layout { display: block; }
  .changelog-nav { position: static; max-height: none; overflow: visible; margin: 0 0 24px; padding: 0; }
  .changelog-nav ol { display: flex; gap: 6px; overflow-x: auto; border-left: 0; padding-bottom: 6px; scrollbar-width: thin; }
  .changelog-nav a { margin: 0; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-soft); }
  .changelog-nav a time { display: none; }
  .changelog-nav a[aria-current="true"] { border-color: transparent; background: var(--green-light); }
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}
.support-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.support-card h3 { font-size: 16px; margin: 0 0 8px; }
.support-card p { font-size: 13.5px; margin: 0 0 14px; }
.support-card a.inline { color: var(--green-dark); font-weight: 700; font-size: 14px; text-decoration: none; }

/* ---------- Responsive ---------- */
/* The menu's words are longer in most languages than in English: below this width, the menu button. */
@media (max-width: 1080px) {
  html:not([lang="en"]) .nav-links, html:not([lang="en"]) .nav-cta .btn-ghost { display: none; }
  html:not([lang="en"]) .nav-toggle { display: block; }
}
/* English too, below the width where its seven links and the brand still fit side by side. */
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shield-grid { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
  .feature-grid, .shot-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: auto; }
  .also-list, .feature-grid.two { grid-template-columns: 1fr; }
  .shield-more { justify-content: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16.5px; }
  .section-head h2 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr; }
  /* A phone fits the name, the button and the menu only when the button is smaller; a label
     too long even then (Dutch, or any on a 320px screen) wraps instead of widening the page. */
  .nav .wrap { gap: 8px; }
  .nav .brand { font-size: 16px; gap: 8px; }
  .nav .brand .mark { width: 30px; height: 30px; }
  .nav-cta { margin-left: auto; min-width: 0; }
  .nav-cta .btn { padding: 9px 13px; font-size: 13.5px; white-space: normal; text-align: center; line-height: 1.15; }
  .nav-toggle { margin-right: -6px; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--paper);
  z-index: 49;
  padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- Free trial ---------- */
.trial-page { padding: 72px 0 96px; background: var(--paper-soft); }
.trial-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.trial-mark { width: 56px; height: 56px; margin-bottom: 22px; }
.trial-card h1 { font-size: 30px; letter-spacing: -0.015em; margin: 0 0 10px; }
.trial-lead { color: var(--ink-soft); font-size: 16px; margin: 0 0 26px; }
.trial-form { display: grid; gap: 10px; margin-bottom: 26px; }
.trial-form label { font-weight: 700; font-size: 14px; }
.trial-form input[type="email"] {
  font: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.trial-form input[type="email"]:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.trial-form input[aria-invalid="true"] { border-color: #c2412d; }
.trial-form .btn { width: 100%; margin-top: 6px; }
.trial-error { color: #b3361f; font-size: 14px; margin: 0; }
.trial-form .trial-news { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.trial-news input { margin: 3px 0 0; flex: none; width: 16px; height: 16px; accent-color: var(--green); }
.deal-remind { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.deal-remind h3 { font-size: 18px; margin: 0 0 6px; }
.deal-remind .trial-form { margin-bottom: 0; }
.trial-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-captcha { display: grid; gap: 8px; justify-items: start; }
.form-captcha img { display: block; border: 1px solid var(--line, #d0d0d0); border-radius: 6px; background: #f7f4ef; }
.form-captcha input { max-width: 200px; text-transform: uppercase; letter-spacing: .15em; }
.trial-points, .trial-steps { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; display: grid; gap: 8px; }
.trial-steps { margin-top: 26px; }
.redeem-heading { font-size: 18px; margin: 32px 0 0; }
.redeem-heading + .trial-steps, .redeem-heading + .trial-points { margin-top: 12px; }
.trial-steps code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.trial-req { color: var(--ink-soft); font-size: 13px; margin: 18px 0 0; }
.trial-card a.inline { color: var(--green-dark); font-weight: 700; }
@media (max-width: 480px) {
  .trial-page { padding: 40px 0 64px; }
  .trial-card { padding: 30px 22px; }
}

/* ---------- The free year (/gift/) ---------- */
.gift-hero .hero-grid { align-items: center; }
.gift-card { position: relative; margin: 0; max-width: none; }
.gift-card h2 { font-size: 26px; margin: 0 0 10px; }
.gift-ribbon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-light); color: var(--green-dark); margin-bottom: 20px; }
.gift-left { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 600; }
.gift-wide { width: 100%; margin-top: 10px; }
.gift-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gift-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; }
.gift-steps h3 { margin: 14px 0 8px; font-size: 18px; }
.gift-steps p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.gift-step-no { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dark); color: #fff; font-weight: 800; }
.gift-cta { background: #fff; color: var(--green-dark); }
.gift-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper-soft); border: 2px dashed var(--green); border-radius: var(--radius-md); padding: 16px 18px; margin: 0 0 22px; }
.gift-code code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: 0.06em; color: var(--green-dark); word-break: break-all; }
.gift-code.is-used { border-style: solid; border-color: var(--line); }
.gift-code.is-used code { color: var(--ink-soft); text-decoration: line-through; }
@media (max-width: 900px) {
  .gift-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gift-code code { font-size: 18px; }
}

/* ---------- Subscribe and billing ---------- */
.billing-price { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; margin: 0 0 24px; }
.billing-price .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.billing-price .period { color: var(--ink-soft); font-weight: 600; }
.billing-price p { color: var(--ink-soft); font-size: 14px; margin: 6px 0 0; }
.billing-notice { background: var(--green-light); color: var(--green-dark); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; font-weight: 600; margin: 0 0 22px; }
.billing-card .trial-error { margin: 0 0 20px; }
.billing-facts { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.billing-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-top: 1px solid var(--line); }
.billing-facts > div:first-child { border-top: 0; }
.billing-facts dt { color: var(--ink-soft); font-size: 14px; }
.billing-facts dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }
.billing-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; background: var(--paper-soft); color: var(--ink-soft); }
.billing-badge.ok { background: var(--green-light); color: var(--green-dark); }
.billing-badge.warn { background: #fdf1dc; color: #8a5a00; }
.billing-badge.bad { background: #fbe5e0; color: #b3361f; }
.billing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.billing-actions form { margin: 0; }
.billing-cancel { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.billing-cancel summary { cursor: pointer; color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.billing-cancel p { color: var(--ink-soft); font-size: 14px; margin: 12px 0; }
.btn-danger { background: #b3361f; color: #fff; }
.btn-danger:hover { background: #962b17; }
.btn-download { background: var(--green-dark); color: #fff; }
.btn-download:hover { background: #11564d; }
.account-download-top { margin: 0 0 26px; }
.billing-signout { margin: 22px 0 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) {
  .billing-actions .btn, .billing-actions form { width: 100%; }
  .account-download-top .btn { width: 100%; }
}
.billing-download { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.billing-download h2 { font-size: 16px; margin: 0 0 6px; }
.billing-download p { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.account-heading { font-size: 16px; margin: 0 0 12px; }
.account-text { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }
.account-google { width: 100%; gap: 10px; }
.account-or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; margin: 18px 0; }
.account-or::before, .account-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---------- Feature pages ---------- */
.feature-hero { padding: 56px 0 48px; }
.feature-hero .wrap { max-width: 860px; text-align: center; }
.feature-hero h1 { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 800; }
.feature-hero .lead p { font-size: 19px; color: var(--ink-soft); margin: 0 auto 28px; max-width: 680px; }
.feature-hero .hero-actions { justify-content: center; }
.feature-note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); }
/* A short box about the section a guide leads to, by its trial button (cta "web-protection"). */
.cta-box { max-width: 560px; margin: 0 auto 8px; padding: 18px 22px; text-align: left; background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-md); }
.cta-box p { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
.cta-box .cta-box-title { font-weight: 800; color: var(--ink); }
.cta-box a { font-weight: 700; font-size: 15px; }

.breadcrumb ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--green-dark); }

.feature-content { padding: 72px 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; letter-spacing: -0.01em; margin: 52px 0 16px; font-weight: 800; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li strong, .prose p strong { color: var(--ink); }
.prose code { font-size: 0.92em; overflow-wrap: anywhere; }
.prose pre { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 18px; margin: 20px 0; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.prose pre code { font-size: inherit; overflow-wrap: normal; }
.prose a { color: var(--green-dark); font-weight: 700; }
.prose .callout { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 24px; margin: 28px 0; }
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; }
.prose td { color: var(--ink-soft); }
.prose td code { overflow-wrap: anywhere; }

.feature-groups { padding: 24px 0 24px; }
.feature-group-head { margin: 56px 0 20px; }
.feature-group-head:first-child { margin-top: 0; }
.feature-group-head h2 { font-size: 28px; margin: 0 0 6px; font-weight: 800; }
.feature-group-head h2 a { text-decoration: none; }
.feature-group-head h2 a:hover { color: var(--green-dark); }
.feature-group-head p { margin: 0; color: var(--ink-soft); }

a.feature-link { display: block; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
a.feature-link:hover { border-color: var(--green); transform: translateY(-2px); }
a.feature-link .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green-dark); }
.feature-card h3 a { text-decoration: none; }
.feature-card h3 a:hover { color: var(--green-dark); }
.feature-group a { text-decoration: none; }

@media (max-width: 720px) {
  .feature-hero h1 { font-size: 34px; }
  .feature-hero .lead p { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .feature-content { padding: 48px 0; }
}
.shield-card h3 a { color: inherit; text-decoration: none; }
.shield-card h3 a:hover { text-decoration: underline; }
.account-move { flex-basis: 100%; margin: 0; }

/* Guided hero demo: fixed geometry keeps each transition calm. */
.demo-topline, .demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 10px; }
.demo-topline { text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.demo-topline > span:first-child { display: flex; align-items: center; gap: 7px; color: var(--green-dark); }
.demo-light, .demo-activity-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--green); }
[data-scan-demo] .mock-summary { gap: 12px; min-height: 83px; }
[data-scan-demo] .mock-summary strong { display: block; font-size: clamp(18px, 2vw, 23px); letter-spacing: -.04em; line-height: 1.25; min-height: 2.5em; }
[data-scan-demo] .mock-summary > div:first-child > span { display: block; margin-top: 7px; line-height: 1.5; min-height: 3em; }
.demo-orbit { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.demo-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke: var(--line); stroke-width: 3; }
.demo-orbit .demo-ring { stroke: var(--green-dark); stroke-linecap: round; stroke-dasharray: 125.664; stroke-dashoffset: calc(125.664 * (1 - var(--demo-progress, 1))); transition: stroke-dashoffset .2s linear; }
.demo-orbit [data-demo-percent] { font-size: 11px; font-weight: 800; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 4px; gap: 7px; }
.demo-steps li { border-top: 3px solid var(--line); padding-top: 9px; font-size: 10px; color: var(--ink-soft); transition: border-color .5s, color .5s; }
.demo-steps li.is-current, .demo-steps li.is-done { border-color: var(--green-dark); color: var(--green-dark); }
.demo-steps li.is-current { font-weight: 800; }
.demo-files { position: relative; display: grid; gap: 10px; overflow: hidden; border-radius: 14px; }
[data-scan-demo] .mock-row { position: relative; min-height: 85px; padding: 13px 12px; gap: 10px; transition: background .6s, border-color .6s, opacity .6s; }
[data-scan-demo] .mock-row .txt strong { font-size: 13px; }
[data-scan-demo] .mock-row .txt span { font-size: 11px; line-height: 1.5; min-height: 33px; }
[data-scan-demo] .mock-row .stat { font-size: 11px; min-width: 65px; text-align: right; }
[data-scan-demo] .mock-row.is-active { background: #e8f4ed; border-color: #99c8ab; }
[data-scan-demo] .mock-row.is-warning { background: #fff3e8; border-color: #e8be92; }
[data-scan-demo] .mock-row.is-warning .stat { color: #955319; }
[data-scan-demo] .mock-row.is-done .ico { background: var(--green-dark); color: white; }
.demo-sweep { pointer-events: none; position: absolute; z-index: 1; inset: 0; height: 65px; background: linear-gradient(transparent, #83c7a022); border-bottom: 1px solid #5eaa8270; opacity: 0; }
[data-scan-demo][data-phase="0"] .demo-sweep { opacity: 1; animation: demo-scan 2.8s ease-in-out infinite; }
@keyframes demo-scan { from { transform: translateY(-65px); } to { transform: translateY(275px); } }
.demo-activity { display: flex; align-items: center; gap: 8px; min-height: 49px; padding: 10px 12px; background: var(--green-light); border-radius: 10px; font-size: 11px; line-height: 1.5; color: var(--green-dark); }
.demo-toggle { flex: none; border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; background: transparent; color: var(--green-dark); font: inherit; font-weight: 700; cursor: pointer; }
.demo-toggle:hover { background: var(--green-light); }
.demo-toggle:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 3px; }
[data-scan-demo].is-paused .demo-sweep { animation-play-state: paused; }
@media (max-width: 480px) {
  [data-scan-demo] { padding: 15px; gap: 12px; }
  [data-scan-demo] .mock-row .ico { width: 30px; height: 34px; }
  [data-scan-demo] .mock-row { gap: 8px; padding: 11px 9px; }
  [data-scan-demo] .mock-row .stat { min-width: 58px; font-size: 10px; }
  .demo-footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scan-demo] *, [data-scan-demo] .demo-orbit .demo-ring { animation: none !important; transition: none !important; }
  [data-scan-demo] .demo-sweep { display: none; }
}

[data-scan-demo] .mock-row.is-active::after {
  content: ""; position: absolute; bottom: 0; left: 12px; right: 12px; height: 2px;
  background: #7ab695; transform: scaleX(var(--demo-progress, 0)); transform-origin: left;
  transition: transform .2s linear;
}

/* ---------- Compare page: one wide table, scrolls sideways on narrow screens ---------- */
.compare-section { padding: 8px 0 24px; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); }
.compare-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.compare-checked { margin-left: auto; }
.compare-scroll { position: relative; overflow: auto; max-height: 85vh; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.compare-scroll:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 3px; }
.compare-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1180px; font-size: 14px; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.compare-table thead th { position: sticky; top: 0; z-index: 2; background: var(--paper); font-size: 14px; font-weight: 800; line-height: 1.3; border-bottom: 2px solid var(--line); min-width: 112px; }
.compare-table thead th span { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); }
.compare-table tbody th[scope="row"] { text-align: left; font-weight: 600; }
.compare-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 200px; max-width: 230px; text-align: left; box-shadow: 1px 0 0 var(--line); }
.compare-table thead th.compare-corner { z-index: 3; }
.compare-table tbody th a { color: var(--ink); text-decoration: none; }
.compare-table tbody th a:hover { color: var(--green-dark); text-decoration: underline; }
.compare-table .ours { background: var(--green-light); }
.compare-table thead th.ours { color: var(--green-dark); background: var(--green-light); }
.compare-group th { position: static; text-align: left; background: var(--paper-soft) !important; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--green-dark); padding-top: 14px; }
.compare-group th:first-child { position: sticky; }
.compare-price td { font-weight: 700; color: var(--ink); }
.compare-table td small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.35; color: var(--ink-soft); }
.mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1; }
.mark.yes { background: var(--green-dark); color: #fff; }
.mark.partial { background: #fff3e8; color: #955319; }
.mark.no { color: #9aa9a5; }
.mark.unknown { border: 1px dashed #b7c4c0; color: #7d8d89; font-size: 12px; }
.compare-table thead th a { color: inherit; text-decoration: none; }
.compare-table thead th a:hover { text-decoration: underline; }
.compare-footnote { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
/* One rival next to Tidy My Mac (/compare/<rival>/): narrow enough to need no scrolling. */
.compare-two .wrap { max-width: 860px; }
.compare-two .compare-scroll { max-height: none; overflow: visible; }
.compare-two .compare-table { min-width: 0; }
.compare-two .compare-table thead th { top: 72px; }
.compare-two .compare-table th:first-child { position: static; }
.compare-two .compare-table thead th, .compare-two .compare-table th:first-child { min-width: 0; }
.compare-two .compare-table th:first-child { width: 34%; }
.compare-two .compare-table th, .compare-two .compare-table td { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .compare-two .compare-table th, .compare-two .compare-table td { padding: 9px 7px; font-size: 13px; }
}
.compare-footnote a { color: var(--green-dark); font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 720px) {
  .compare-checked { margin-left: 0; }
  .compare-table th:first-child { min-width: 150px; }
}

/* Launch offer (/launch/) */
.launch-deal { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 26px; padding: 14px 20px; border: 2px dashed var(--green); border-radius: var(--radius-md); background: var(--paper-soft); }
.launch-deal-price { display: flex; align-items: baseline; gap: 10px; }
.launch-deal-price s { font-size: 22px; font-weight: 700; color: var(--ink-soft); text-decoration-thickness: 2px; }
.launch-deal-price strong { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.launch-deal-price span { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.launch-deal-save { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--green-dark); color: #fff; font-size: 14px; font-weight: 800; }
.launch-badge { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 800; }
.launch-pricing .price-card:first-child .plan-features { margin-bottom: 0; }

/* Japanese has no spaces: break headings between phrases, not inside words (where supported). */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { word-break: auto-phrase; }

/* ---------- Free tools (templates/tools/, assets/js/tools.js) ---------- */
.tool { max-width: 760px; margin: 0 auto 24px; padding: 22px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tool-form { display: grid; gap: 12px; }
.tool-row { display: flex; gap: 10px; align-items: center; }
.tool-row-end { justify-content: space-between; align-items: flex-start; }
.tool-row-end .tool-hint { flex: 1; }
.tool input[type="text"], .tool input[type="password"], .tool select, .tool textarea {
  font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); width: 100%; min-width: 0;
}
.tool select { flex: 1.2; min-width: 190px; }
.tool textarea { resize: vertical; line-height: 1.45; min-height: 150px; }
.tool [data-form="headers"] textarea { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.tool input:focus, .tool select:focus, .tool textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.tool-hint { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.tool .btn[disabled] { opacity: .55; cursor: progress; }
.tool-result { margin-top: 18px; }
.tool-result[hidden] { display: none; }
.verdict { padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid; margin-bottom: 14px; }
.verdict p { margin: 0; font-size: 15px; }
.verdict .verdict-title { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.verdict-danger { background: #fdecea; border-color: #f2b8b0; color: #7a1d10; }
.verdict-suspicious { background: #fff1e3; border-color: #f5c48f; color: #7a3b05; }
.verdict-caution { background: #fff9e0; border-color: #ecd77c; color: #5e4b00; }
.verdict-ok { background: var(--green-light); border-color: #a9dccf; color: var(--green-dark); }
.verdict-info { background: var(--paper-soft); border-color: var(--line); color: var(--ink); }
.signals { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.signals li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.signals li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #9aa9a5; }
.signals .danger::before { background: #d23a24; }
.signals .warn::before { background: #e8912d; }
.signals .good::before { background: var(--green); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.tool-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.tool-links li { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.tool-links code { overflow-wrap: anywhere; }
.tool-links .listed { color: #b3361f; font-weight: 700; }
.tool-links a { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.tool-subhead { font-weight: 800; font-size: 15px; margin: 14px 0 0; }
.meter { height: 8px; border-radius: 999px; background: var(--paper-soft); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: 999px; background: #d23a24; transition: width .2s, background .2s; }
.meter[data-score="1"] span { background: #e8912d; }
.meter[data-score="2"] span { background: #d9b400; }
.meter[data-score="3"] span { background: var(--green); }
.meter[data-score="4"] span { background: var(--green-dark); }
.tool-output { display: flex; gap: 10px; align-items: center; }
.generated { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-soft);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 18px; overflow-wrap: anywhere; min-height: 54px; }
.tool-output[hidden] { display: none; }
.tool-form + .tool-output { margin-top: 14px; }
#clean-link, #encryption-output, #base64-output { font-size: 14.5px; }
#encryption-output, #base64-output { white-space: pre-wrap; }
.checks label[hidden] { display: none; }
.tool input[type="file"] { font: inherit; font-size: 15px; padding: 12px; width: 100%; min-width: 0; color: var(--ink);
  border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--paper-soft); }
.facts code { font-size: 13px; }
.tool-options { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.segmented { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.segmented label { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.range { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.range[hidden] { display: none; }
.range input { flex: 1; accent-color: var(--green-dark); }
.range span { min-width: 2ch; text-align: right; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.checks[hidden] { display: none; }
.checks input { accent-color: var(--green-dark); }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; vertical-align: 1px; background: var(--paper-soft); color: var(--ink-soft); }
.badge-critical { background: #7a1d10; color: #fff; }
.badge-high { background: #fdecea; color: #a12613; }
.badge-medium { background: #fff1e3; color: #8a4507; }
.badge-low { background: var(--paper-soft); color: var(--ink-soft); }
.badge-exploited { background: #d23a24; color: #fff; }
.advisories { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.advisories a { color: var(--green-dark); font-weight: 700; }
.advisory-meta { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.table-heading { text-align: center; font-size: 28px; margin: 0 0 18px; }
.table-scroll { overflow-x: auto; }
.vuln-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; font-size: 15px; }
.vuln-table th, .vuln-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vuln-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.vuln-table a { color: var(--green-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 720px) {
  .tool { padding: 16px; border-radius: var(--radius-md); }
  .tool-row, .tool-row-end, .tool-output { flex-direction: column; align-items: stretch; }
  .tool select { flex: none; min-width: 0; }
}
.auth-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.badge-auth { font-size: 13px; padding: 3px 10px; }
.badge-auth-ok { background: var(--green-light); color: var(--green-dark); }
.badge-auth-danger { background: #fdecea; color: #a12613; }
.badge-auth-caution { background: #fff9e0; color: #5e4b00; }
.tool-label { font-weight: 700; font-size: 14px; margin-bottom: -6px; }

/* ---------- Light/dark switch (assets/js/theme.js sets <html data-theme>) ---------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
@media (max-width: 480px) {
  .theme-toggle { width: 34px; height: 34px; }
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --green-dark: #6fd3bd;
  --green-light: #15302b;
  --ink: #e4efec;
  --ink-soft: #9db2ad;
  --paper: #0c1615;
  --paper-soft: #111f1d;
  --line: #243835;
  --surface-dark: #132a27;
  --ink-hover: #ffffff;
  --nav-bg: rgba(12, 22, 21, 0.85);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
/* --green-dark is a light accent here: where it is a background under white text, a deep green. */
[data-theme="dark"] .gift-step-no,
[data-theme="dark"] .btn-download,
[data-theme="dark"] .mark.yes,
[data-theme="dark"] .launch-deal-save,
[data-theme="dark"] [data-scan-demo] .mock-row.is-done .ico { background: #1f8574; color: #fff; }
[data-theme="dark"] .btn-download:hover { background: #24977f; }
[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #145a51, #2a9583); }
[data-theme="dark"] .gift-cta { color: #176b60; }
[data-theme="dark"] .cta-band .coming-soon { color: #0b1c1a; }
/* The dark panels lift off the dark page with a border. */
[data-theme="dark"] .shield-card,
[data-theme="dark"] .privacy-panel,
[data-theme="dark"] .price-card.highlight { border: 1px solid #2c4844; }
[data-theme="dark"] .price-card.highlight .btn-primary { color: #0b1c1a; }
[data-theme="dark"] .mock { background: linear-gradient(180deg, #17393a, #10282a); }
/* Status colours: dark tints of the same hues. */
[data-theme="dark"] .tier-tag.free { background: #232a52; color: #b3b8ff; }
[data-theme="dark"] .billing-badge.warn,
[data-theme="dark"] .badge-medium,
[data-theme="dark"] .mark.partial { background: #3a2a10; color: #f2c27a; }
[data-theme="dark"] .billing-badge.bad,
[data-theme="dark"] .badge-high,
[data-theme="dark"] .badge-auth-danger { background: #3d1a14; color: #f5a596; }
[data-theme="dark"] .badge-auth-caution { background: #36300c; color: #ecd77c; }
[data-theme="dark"] .trial-error,
[data-theme="dark"] .tool-links .listed { color: #f08a76; }
[data-theme="dark"] .verdict-danger { background: #2e1410; border-color: #6b2a1f; color: #f8b9ad; }
[data-theme="dark"] .verdict-suspicious { background: #2f1f0c; border-color: #6e4718; color: #f6c993; }
[data-theme="dark"] .verdict-caution { background: #2b260b; border-color: #625519; color: #ecd77c; }
[data-theme="dark"] .verdict-ok { border-color: #2c5c52; }
[data-theme="dark"] [data-scan-demo] .mock-row.is-active { background: #15302a; border-color: #2f6a55; }
[data-theme="dark"] [data-scan-demo] .mock-row.is-warning { background: #2f2010; border-color: #6e4a22; }
[data-theme="dark"] [data-scan-demo] .mock-row.is-warning .stat { color: #f2b27a; }
[data-theme="dark"] .mark.unknown { border-color: #4a5c58; color: #8fa09c; }

/* The Black Friday banner under the navigation (templates/base.html), while the deal is open. */
.deal-banner { display: block; padding: 10px 16px; background: var(--ink); color: var(--paper); text-align: center; font-size: 15px; text-decoration: none; }
.deal-banner strong { color: inherit; }
.deal-banner:hover { text-decoration: underline; }

/* ================================================================================================
   Polish and motion. Everything above stays as the base; this layer tightens the type scale and
   spacing, gives surfaces depth, and adds the animations. Movement is inside
   (prefers-reduced-motion: no-preference); assets/js/main.js adds .reveal to what scrolls in.
   ================================================================================================ */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-sm: 0 1px 2px rgba(11, 28, 26, .05), 0 4px 12px -6px rgba(11, 28, 26, .12);
  --shadow-md: 0 2px 4px rgba(11, 28, 26, .04), 0 18px 36px -18px rgba(11, 28, 26, .28);
  --glow: 0 0 0 1px rgba(63, 181, 159, .35), 0 18px 40px -18px rgba(63, 181, 159, .45);
  --ring: 0 0 0 3px rgba(63, 181, 159, .35);
}
:root[data-theme="dark"] {
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px -6px rgba(0, 0, 0, .5);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 36px -18px rgba(0, 0, 0, .8);
}

body { transition: background-color .3s ease, color .3s ease; text-rendering: optimizeLegibility; }
::selection { background: rgba(63, 181, 159, .3); }
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 999px; }

/* ---------- Type scale and rhythm ---------- */
.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; overflow-wrap: break-word; }
.hero p.lead { font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.6; max-width: 540px; }
.feature-hero h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.section-head p { font-size: 17px; line-height: 1.6; }
.privacy-panel h2, .cta-band h2 { letter-spacing: -0.02em; line-height: 1.15; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-light);
  font-size: 12.5px;
  line-height: 1.3;
}
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.privacy-panel .eyebrow { background: rgba(63, 181, 159, .14); }
.section-head.center .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */
.nav { transition: box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 28, 26, .35); }
.brand .mark { transition: transform .5s var(--spring); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.08); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.theme-toggle { transition: color .2s ease, border-color .2s ease, transform .4s var(--spring); }
.theme-toggle:hover { transform: rotate(18deg); }
.theme-toggle svg { transition: transform .5s var(--spring); }
.nav-toggle span { transition: transform .3s var(--ease), opacity .2s ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { overflow-y: auto; }
.mobile-menu a { transition: color .2s ease, padding-left .25s var(--ease); }
.mobile-menu a:hover { color: var(--green-dark); padding-left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-primary { box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(11, 28, 26, .55); }
[data-theme="dark"] .btn-primary:hover { background: #fff; box-shadow: 0 12px 28px -12px rgba(111, 211, 189, .55); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn svg { transition: transform .3s var(--spring); }
.btn:hover svg { transform: translateY(2px); }

/* ---------- Black Friday banner ---------- */
.deal-banner {
  position: relative;
  overflow: hidden;
  padding: 11px 16px;
  background: linear-gradient(90deg, #0b1c1a, #176b60, #0b1c1a, #176b60, #0b1c1a);
  background-size: 300% 100%;
  color: #fff;
  font-size: 14.5px;
}
.deal-banner strong {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #0b1c1a;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.deal-banner:hover { text-decoration: none; filter: brightness(1.12); }

/* ---------- Hero ---------- */
.hero > .wrap, .feature-hero > .wrap { position: relative; z-index: 1; }
.hero::before {
  top: -260px; right: -220px;
  width: 760px; height: 760px;
  background:
    radial-gradient(270px circle at 42% 44%, rgba(63, 181, 159, .3), transparent),
    radial-gradient(230px circle at 62% 60%, rgba(23, 107, 96, .16), transparent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23, 107, 96, .22) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .hero::after { background-image: radial-gradient(circle, rgba(111, 211, 189, .2) 1px, transparent 1.5px); }
.hero h1 em {
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-dark));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.feature-hero { position: relative; overflow: hidden; }
.feature-hero::before {
  content: "";
  position: absolute;
  top: -320px; left: 50%;
  width: 900px; height: 640px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 181, 159, .2), transparent);
  pointer-events: none;
}
.trust-strip { gap: 14px 24px; }
.trust-item svg, .also-list svg {
  width: 20px; height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: var(--green-light);
}
.also-list svg { margin-top: 0; }
.mock { box-shadow: 0 40px 80px -32px rgba(11, 28, 26, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.mock-titlebar span:nth-child(1) { background: #ff5f57; }
.mock-titlebar span:nth-child(2) { background: #febc2e; }
.mock-titlebar span:nth-child(3) { background: #28c840; }
.hero .trial-card { box-shadow: 0 40px 80px -36px rgba(11, 28, 26, .45); }

/* ---------- Cards ---------- */
.feature-grid, .shield-grid { gap: 22px; }
.feature-card, .gift-steps li, .support-card, .price-card, .also-panel {
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
}
.feature-card:hover, .gift-steps li:hover, .support-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.feature-card .ico, .support-card .ico, .gift-ribbon {
  background: linear-gradient(140deg, var(--green-light), rgba(63, 181, 159, .28));
  transition: transform .45s var(--spring), background-color .3s ease, color .3s ease;
}
.feature-card:hover .ico, .support-card:hover .ico { transform: scale(1.1) rotate(-6deg); }
a.feature-link { transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease; }
a.feature-link:hover { transform: translateY(-5px); }
a.feature-link .more { transition: transform .3s var(--ease); }
a.feature-link:hover .more { transform: translateX(5px); }
.feature-group { display: flex; align-items: center; gap: 14px; margin-top: 52px; }
.feature-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.shield-card, .privacy-panel, .price-card.highlight {
  --mx: 50%; --my: -40%;
  background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 181, 159, .2), transparent 65%);
}
.shield-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
}
.shield-card:hover { transform: translateY(-5px); border-color: rgba(63, 181, 159, .5); box-shadow: 0 30px 50px -28px rgba(11, 28, 26, .7); }
.shield-card .ico { transition: transform .45s var(--spring), background-color .3s ease; }
.shield-card:hover .ico { transform: scale(1.1) rotate(-6deg); background: rgba(63, 181, 159, .28); }
.shield-more li { box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .25s ease; }
.shield-more li:hover { transform: translateY(-2px); border-color: var(--green); }

/* ---------- Screenshots and video ---------- */
.shot > a { transition: transform .5s var(--ease); }
.shot > a:hover { transform: translateY(-6px); }
.video-play img { transition: transform .8s var(--ease); }
.video-play:hover img { transform: scale(1.03); }
.video-button { transition: transform .3s var(--spring), background-color .2s ease; }
.video-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #3fb59f;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Privacy ---------- */
.privacy-visual { position: relative; overflow: hidden; backdrop-filter: blur(6px); }
.privacy-visual .big-shield { filter: drop-shadow(0 0 22px rgba(63, 181, 159, .45)); }

/* ---------- Pricing ---------- */
.pricing-grid { gap: 28px; align-items: stretch; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.highlight { box-shadow: 0 30px 60px -30px rgba(11, 28, 26, .6); }
.price-card.highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 55%, var(--green) 78%, #b6f0e2 85%, var(--green) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.plan-price .amount { font-size: 46px; letter-spacing: -0.03em; line-height: 1.1; }
.save-pill { background: var(--green); color: #0b1c1a; }
.pricing-toggle button { transition: background-color .25s ease, color .25s ease; }
.launch-deal { transition: transform .35s var(--ease), box-shadow .35s ease; }
.launch-deal:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- FAQ ---------- */
.faq-item { transition: border-color .25s ease, box-shadow .3s ease; }
.faq-item:hover { border-color: var(--green); }
.faq-item[data-open="true"] { border-color: var(--green); box-shadow: var(--shadow-md); }
.faq-q { transition: color .2s ease; }
.faq-q:hover { color: var(--green-dark); }
.faq-q .plus { width: 26px; height: 26px; transition: transform .4s var(--spring), background-color .25s ease, color .25s ease; }
.faq-item[data-open="true"] .faq-q .plus { transform: rotate(135deg); background: var(--green); color: #0b1c1a; }
.faq-a { transition: max-height .4s var(--ease); }
.faq-a p { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .4s var(--ease); }
.faq-item[data-open="true"] .faq-a p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #114f47, var(--green), #176b60, #2a9583);
  background-size: 300% 300%;
  box-shadow: 0 40px 70px -40px rgba(23, 107, 96, .8);
}
[data-theme="dark"] .cta-band { background: linear-gradient(120deg, #0f463f, #2a9583, #145a51, #1f8574); background-size: 300% 300%; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  filter: blur(40px);
  pointer-events: none;
}
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.cta-band::after { width: 380px; height: 380px; bottom: -200px; right: -100px; }
.cta-band .btn-primary { background: #fff; color: #0b1c1a; }
.cta-band .btn-primary:hover { background: #fff; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }

/* ---------- Forms, tools, footer ---------- */
.trial-form input[type="email"], .tool input, .tool select, .tool textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.trial-form input[type="email"]:focus, .tool input:focus, .tool select:focus, .tool textarea:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.footer-col a { display: inline-block; transition: color .2s ease, transform .25s var(--ease); }
.footer-col a:hover { transform: translateX(4px); }
.languages a { transition: color .2s ease; }
.ph-badge { transition: transform .3s var(--ease); }
.ph-badge:hover { transform: translateY(-3px); }
.prose a, .doc-page a.inline { text-underline-offset: 3px; transition: color .2s ease; }

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .18s ease both; }
  ::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
  .nav { view-transition-name: site-nav; }

  /* What scrolls into view (main.js marks it, then clears the classes once it has arrived). */
  .reveal { opacity: 0; transform: translateY(28px) scale(.985); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .shot.reveal { transform: translateY(40px) scale(.96); }
  .section-head.reveal { transform: translateY(20px); }

  /* The page's first screen arrives in order. */
  .hero-grid > div:first-child > *, .feature-hero .wrap > * { animation: rise .8s var(--ease) both; }
  .hero-grid > div:first-child > :nth-child(2), .feature-hero .wrap > :nth-child(2) { animation-delay: .08s; }
  .hero-grid > div:first-child > :nth-child(3), .feature-hero .wrap > :nth-child(3) { animation-delay: .16s; }
  .hero-grid > div:first-child > :nth-child(4), .feature-hero .wrap > :nth-child(4) { animation-delay: .24s; }
  .hero-grid > div:first-child > :nth-child(n+5), .feature-hero .wrap > :nth-child(n+5) { animation-delay: .32s; }
  .trust-item { animation: rise .6s var(--ease) both; }
  .trust-item:nth-child(1) { animation-delay: .45s; }
  .trust-item:nth-child(2) { animation-delay: .53s; }
  .trust-item:nth-child(3) { animation-delay: .61s; }
  .trust-item:nth-child(4) { animation-delay: .69s; }
  .hero .mock { animation: card-in 1s var(--ease) .15s both, float 7s ease-in-out 1.2s infinite; }
  .hero .trial-card { animation: card-in 1s var(--ease) .15s both; }
  .trial-page .trial-card, .doc-page .wrap > *, .tool { animation: rise .7s var(--ease) both; }
  .doc-page .wrap > :nth-child(2) { animation-delay: .06s; }
  .doc-page .wrap > :nth-child(n+3) { animation-delay: .12s; }
  .deal-banner, .nav .wrap { animation: drop .6s var(--ease) both; }

  .hero::before { animation: drift 16s ease-in-out infinite alternate; }
  .hero::after { animation: fade-in 1.4s ease .2s both; }
  .feature-hero::before { animation: breathe 9s ease-in-out infinite alternate; }
  .hero h1 em { animation: sheen 6s linear infinite; }
  .eyebrow::before, .demo-light, .badge-dot { animation: pulse 2.2s ease-out infinite; }
  .deal-banner { animation: drop .6s var(--ease) both, slide-bg 9s linear infinite; }
  .btn-primary:hover::after { animation: shine .8s var(--ease); }
  .hero-actions .btn-primary svg { animation: nudge 2.4s var(--ease) 1.4s infinite; }
  .video-button::before { animation: ripple 2.2s ease-out infinite; }
  .privacy-visual .big-shield { animation: float 5s ease-in-out infinite; }
  .price-card.highlight::before { animation: spin 5s linear infinite; }
  .cta-band { animation: slide-gradient 12s ease-in-out infinite alternate; }
  .cta-band::before { animation: drift 11s ease-in-out infinite alternate; }
  .cta-band::after { animation: drift 14s ease-in-out infinite alternate-reverse; }
  .mobile-menu.open { animation: menu-in .3s var(--ease) both; }
  .mobile-menu.open li { animation: rise .45s var(--ease) both; }
  .mobile-menu.open li:nth-child(2) { animation-delay: .03s; }
  .mobile-menu.open li:nth-child(3) { animation-delay: .06s; }
  .mobile-menu.open li:nth-child(4) { animation-delay: .09s; }
  .mobile-menu.open li:nth-child(5) { animation-delay: .12s; }
  .mobile-menu.open li:nth-child(6) { animation-delay: .15s; }
  .mobile-menu.open li:nth-child(7) { animation-delay: .18s; }
  .mobile-menu.open li:nth-child(8) { animation-delay: .21s; }
  .tool-result:not([hidden]), .tool-output:not([hidden]) { animation: rise .45s var(--ease) both; }
  [data-theme] .theme-toggle svg { animation: icon-in .5s var(--spring); }

  /* How far down the page: a line along the bottom of the navigation. */
  @supports (animation-timeline: scroll()) {
    .nav::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -1px;
      height: 2px;
      background: linear-gradient(90deg, var(--green-dark), var(--green));
      transform: scaleX(0);
      transform-origin: left;
      animation: grow-x linear both;
      animation-timeline: scroll(root);
    }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(36px) scale(.94) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 50px) scale(1.15); } }
@keyframes breathe { from { transform: scale(1); opacity: .7; } to { transform: scale(1.2); opacity: 1; } }
@keyframes sheen { to { background-position: -200% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 181, 159, .55); } 100% { box-shadow: 0 0 0 9px rgba(63, 181, 159, 0); } }
@keyframes slide-bg { to { background-position: -300% 0; } }
@keyframes slide-gradient { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes shine { to { left: 130%; } }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(3px); } 90% { transform: translateY(-1px); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes spin { to { --spin: 360deg; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes icon-in { from { transform: rotate(-90deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes grow-x { to { transform: scaleX(1); } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================================================================================================
   Feature cards, second generation: a gradient hairline border, a soft spotlight that follows the
   pointer (assets/js/main.js sets --mx/--my), a solid gradient icon tile, an accent line and an
   arrow that slide in on hover. The whole card is the link when its heading has one.
   ================================================================================================ */
.feature-card {
  --mx: 50%;
  --my: -40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 30px 28px 28px;
  background:
    radial-gradient(360px circle at var(--mx) var(--my), rgba(63, 181, 159, .14), transparent 62%) padding-box,
    linear-gradient(180deg, var(--paper), var(--paper-soft) 140%) padding-box,
    linear-gradient(150deg, rgba(63, 181, 159, .6), var(--line) 32%, var(--line) 68%, rgba(63, 181, 159, .32)) border-box;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transform: scaleX(.3);
  transition: opacity .35s ease, transform .55s var(--ease);
}
.feature-card:hover, a.feature-link:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(63, 181, 159, .35), 0 26px 50px -26px rgba(23, 107, 96, .5);
}
.feature-card:hover::before { opacity: 1; transform: scaleX(1); }
.feature-card .ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(145deg, #4cc7b0, #176b60);
  box-shadow: 0 12px 22px -12px rgba(23, 107, 96, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.feature-card h3 { font-size: 18.5px; letter-spacing: -0.01em; padding-right: 36px; flex-wrap: wrap; }
.feature-card h3 a { color: inherit; }
/* The heading's link covers the card, so the whole card is one click target. */
.feature-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.feature-card p { line-height: 1.6; }
.feature-card p a { position: relative; z-index: 2; }
/* The arrow in the corner, on cards that lead somewhere. */
.feature-card:has(h3 a)::after, a.feature-card::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-light);
  opacity: 0;
  transform: translate(-6px, 6px) rotate(-45deg);
  transition: opacity .3s ease, transform .45s var(--spring), background-color .3s ease, color .3s ease;
}
.feature-card:hover::after { opacity: 1; transform: none; background: var(--green-dark); color: var(--paper); }
a.feature-link .more { position: relative; }
.feature-card.wide {
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 181, 159, .16), transparent 62%) padding-box,
    linear-gradient(120deg, var(--paper), var(--green-light) 180%) padding-box,
    linear-gradient(150deg, rgba(63, 181, 159, .6), var(--line) 32%, var(--line) 68%, rgba(63, 181, 159, .32)) border-box;
}
@media (hover: none) {
  .feature-card:has(h3 a)::after, a.feature-card::after { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card, .feature-card::before, .feature-card::after, .feature-card .ico { transition: none; }
  .feature-card:hover, a.feature-link:hover { transform: none; }
}
.tier-tag.new { background: linear-gradient(135deg, #ff7a59, #e8445a); color: #fff; box-shadow: 0 4px 12px -4px rgba(232, 68, 90, .6); }

/* ---------- AI threats: the band on the home page and /ai-threats/ ---------- */
.ai-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 32px;
  padding: 18px 24px;
  border-radius: 18px;
  text-decoration: none;
  color: #e9f4f1;
  background:
    radial-gradient(500px circle at 0% 50%, rgba(232, 68, 90, .28), transparent 60%),
    linear-gradient(120deg, #120d17, #0b1c1a 60%, #0f2a26);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 44px -28px rgba(11, 28, 26, .8);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.ai-band:hover { transform: translateY(-3px); box-shadow: 0 30px 54px -28px rgba(232, 68, 90, .55); }
.ai-band-text { flex: 1; font-size: 15px; line-height: 1.5; color: rgba(233, 244, 241, .8); }
.ai-band-text strong { display: block; color: #fff; font-size: 17px; }
.ai-band-cta { flex: none; font-weight: 800; font-size: 14.5px; padding: 10px 16px; border-radius: 999px; background: #fff; color: #0b1c1a; }
.ai-band-pulse, .ai-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5a6e;
  box-shadow: 0 0 0 0 rgba(255, 90, 110, .6);
  animation: ai-pulse 1.8s ease-out infinite;
}
.ai-dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; vertical-align: 1px; }
@keyframes ai-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 110, .6); }
  80%, 100% { box-shadow: 0 0 0 12px rgba(255, 90, 110, 0); }
}
@media (prefers-reduced-motion: reduce) { .ai-band-pulse, .ai-dot { animation: none; } }

.ai-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  color: #e9f4f1;
  background:
    radial-gradient(700px circle at 85% 10%, rgba(232, 68, 90, .25), transparent 60%),
    radial-gradient(800px circle at 10% 100%, rgba(63, 181, 159, .25), transparent 60%),
    #070f0e;
}
.ai-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.ai-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ai-hero .eyebrow { background: none; padding: 0; color: #ff8a98; }
.ai-hero .eyebrow::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; vertical-align: 1px; border-radius: 50%; background: #ff5a6e; animation: ai-pulse 1.8s ease-out infinite; }
.ai-eyebrow { font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ff8a98; margin: 0 0 20px; }
.ai-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 24px; }
.ai-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #6fe3c9, #3fb59f 45%, #a5f3e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai-lead { font-size: 18.5px; line-height: 1.65; color: rgba(233, 244, 241, .78); margin: 0 0 32px; max-width: 620px; }
.ai-note { margin: 18px 0 0; font-size: 14px; color: rgba(233, 244, 241, .55); }
.ai-hero .btn-primary { background: #fff; color: #0b1c1a; }
.btn-glow { box-shadow: 0 0 0 1px rgba(111, 227, 201, .5), 0 14px 40px -10px rgba(63, 181, 159, .8); }
.ai-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.ai-ghost:hover { color: #fff; border-color: #6fe3c9; }

.ai-console {
  border-radius: 18px;
  background: rgba(12, 24, 23, .82);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(63, 181, 159, .12);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.ai-console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ai-console-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ai-console-bar span:nth-child(2) { background: #febc2e; }
.ai-console-bar span:nth-child(3) { background: #28c840; }
.ai-console-bar b { margin-left: 10px; font-size: 13px; color: rgba(233, 244, 241, .6); font-weight: 700; }
.ai-console ul { list-style: none; margin: 0; padding: 8px; }
.ai-console li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: rgba(233, 244, 241, .85);
}
.ai-console li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.ai-console li em { font-style: normal; font-weight: 800; font-size: 12.5px; color: #6fe3c9; }
.ai-console li em::before { content: "✓ "; }
.ai-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.ai-tag.danger { background: rgba(255, 90, 110, .16); color: #ff8a98; }
.ai-tag.warn { background: rgba(242, 178, 80, .16); color: #f6c36f; }
.ai-console-foot { margin: 0; padding: 10px 18px 14px; font-size: 12px; color: rgba(233, 244, 241, .4); }
@media (prefers-reduced-motion: no-preference) {
  .ai-console li { animation: ai-row .6s var(--ease) both; }
  .ai-console li:nth-child(2) { animation-delay: .25s; }
  .ai-console li:nth-child(3) { animation-delay: .5s; }
  .ai-console li:nth-child(4) { animation-delay: .75s; }
  .ai-console li:nth-child(5) { animation-delay: 1s; }
  .ai-console li:nth-child(6) { animation-delay: 1.25s; }
}
@keyframes ai-row { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.ai-shift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ai-shift-card { padding: 30px 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--paper-soft)); }
.ai-shift-card h3 { font-size: 19px; margin: 10px 0 10px; }
.ai-shift-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.ai-num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(135deg, #e8445a, #ff9a6b); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ai-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ai-pair {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
}
.ai-pair:hover { transform: translateY(-5px); border-color: rgba(63, 181, 159, .6); box-shadow: var(--shadow-md); }
.ai-threat, .ai-defense { padding: 22px 26px; position: relative; }
.ai-threat { background: linear-gradient(120deg, rgba(232, 68, 90, .09), rgba(232, 68, 90, .02)); border-bottom: 1px dashed rgba(232, 68, 90, .3); }
.ai-threat h3, .ai-defense h3 { font-size: 17.5px; margin: 6px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ai-threat p, .ai-defense p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.ai-defense h3 a { color: inherit; text-decoration: none; }
.ai-defense h3 a::after { content: " →"; color: var(--green-dark); }
.ai-defense h3 a:hover { color: var(--green-dark); }
.ai-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ai-threat .ai-label { color: #c8334a; }
.ai-defense .ai-label { color: var(--green-dark); }
[data-theme="dark"] .ai-threat .ai-label { color: #ff8a98; }

.ai-layers { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.ai-layers li { position: relative; padding: 30px 28px; border-radius: 20px; background: var(--paper-soft); border: 1px solid var(--line); }
.ai-layers li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}
.ai-layer-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #4cc7b0, #176b60);
  margin-bottom: 16px;
}
.ai-layers h3 { margin: 0 0 8px; font-size: 18.5px; }
.ai-layers p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.ai-privacy { max-width: 820px; margin: 0 auto; }

.ai-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 48px;
  border-radius: 28px;
  color: #e9f4f1;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(232, 68, 90, .3), transparent 60%),
    radial-gradient(600px circle at 85% 100%, rgba(63, 181, 159, .35), transparent 60%),
    #070f0e;
  border: 1px solid rgba(255, 255, 255, .08);
}
.ai-final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 16px; }
.ai-final p { color: rgba(233, 244, 241, .78); font-size: 17px; max-width: 640px; margin: 0 auto 30px; }
.ai-final .hero-actions { justify-content: center; }
.ai-final .btn-primary { background: #fff; color: #0b1c1a; }

@media (max-width: 960px) {
  .ai-hero-inner { grid-template-columns: 1fr; }
  .ai-shift-grid, .ai-layers { grid-template-columns: 1fr; }
  .ai-layers li:not(:last-child)::after { top: auto; bottom: -16px; right: 50%; transform: translateX(50%) rotate(135deg); }
}
@media (max-width: 720px) {
  .ai-matrix { grid-template-columns: 1fr; }
  .ai-band { flex-wrap: wrap; }
  .ai-band-cta { margin-left: 30px; }
  .ai-hero { padding: 56px 0 64px; }
  .ai-final { padding: 48px 22px; }
  .ai-console li { grid-template-columns: auto 1fr; }
  .ai-console li em { grid-column: 2; }
}
