/* Disk Scanner — direction "The product performs", seed 1509142562.
   Tokens first; everything below references tokens only. */

:root {
  /* Google's own neutrals. Elevation is a step in tone, never a shadow. */
  --bg:                 #ffffff;
  --surface:            #f8f9fa;   /* grey 50  */
  --surface-high:       #f1f3f4;   /* grey 100 */
  --surface-highest:    #e8eaed;   /* grey 200 */
  --ink:                #202124;   /* grey 900 */
  --muted:              #5f6368;   /* grey 700 */

  /* The accent is the product's own brand indigo, taken from Theme.cs Primary,
     so the page matches the icon, the installer and the app window it shows. */
  --accent:             #4f46e5;   /* taste-skill-ignore: the product's own brand indigo, not a chosen accent */
  --on-accent:          #ffffff;
  --accent-quiet:       #eceafd;   /* accent at 8%, as a flat value */

  /* Container roles keep the app's safety meanings. */
  --primary:            #3730a3;
  --primary-container:  #e8e7fd;   --on-primary-container:  #2a2472;
  --safe-container:     #e6f4ea;   --on-safe-container:     #137333;
  --care-container:     #fef7e0;   --on-care-container:     #8c5000;

  --field-1: #1e1b4b;  --field-1-ink: #ffffff;   /* the app's own sidebar colour */
  --field-2: #e8e7fd;  --field-2-ink: #2a2472;

  /* Five steps, no sixth. */
  --step-small:   clamp(0.8125rem, 0.79rem + 0.10vw, 0.875rem);
  --step-body:    clamp(1.0625rem, 1.00rem + 0.25vw, 1.1875rem);
  --step-lead:    clamp(1.25rem,   1.10rem + 0.70vw, 1.625rem);
  --step-head:    clamp(2rem,      1.30rem + 3.20vw, 3.5rem);
  --step-display: clamp(2.5rem,    1.20rem + 5.60vw, 5rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --content: 1120px;          /* one column, used by every section */
  --gap: clamp(72px, 7vw, 140px);
  --nav-h: 64px;

  /* Material 3 shape scale */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 28px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--step-body);
  line-height: 1.4;
  overflow-x: clip;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; padding-inline: max(var(--margin), calc((100% - var(--content)) / 2)); }

/* Sticky top app bar. Solid, not glass: a tone step marks it off the page.
   Named topbar, not bar: [data-ui] .bar is the capacity meter in the fragments. */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg);
  transition: background .2s ease;
}
.topbar.lifted { background: var(--surface-high); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* One button shape for the whole page: square, flat, one fill. */
.act {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--step-body);
  font-weight: 500;
  padding: 14px 24px;
  min-height: 48px;                          /* MD3 touch target */
  border: 0;
  border-radius: var(--radius-sm);           /* rectangle, not a pill */
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.act:hover { filter: brightness(1.06); }
.act:active { transform: translateY(1px); }
.act-quiet { background: var(--surface-highest); color: var(--ink); }
.tile-2 .act-quiet { background: var(--bg); }   /* on the lavender tile the grey tonal fill disappears */

/* ---------------------------------------------------------------- navigation */
.nav {
  position: relative; z-index: 5;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  padding-block: 12px;
  font-size: var(--step-small);
}
.nav-name { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: var(--step-body); }
.nav-name img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav .act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  padding: 9px 18px;
  font-size: var(--step-small);
  color: var(--on-accent);
  font-weight: 500;
}

/* ---------------------------------------------------------------- hero: centred, product underneath */
.hero { padding-top: clamp(48px, 6vw, 88px); }
.hero-stage { max-width: 940px; margin-inline: auto; padding-inline: var(--margin); text-align: center; }
.hero-h1 {
  font-size: var(--step-display);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
  max-width: 20ch; margin-inline: auto;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  font-size: var(--step-lead); line-height: 1.45;
  color: var(--muted); max-width: 54ch; margin-inline: auto;
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: center;
}
.hero-cta .act { padding: 15px 30px; }
.hero-link {
  color: var(--accent); font-weight: 500; font-size: var(--step-body);
  min-height: 48px; display: inline-flex; align-items: center;
}
.hero-link:hover { text-decoration: underline; }
.hero-trust {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
  font-size: var(--step-small); color: var(--muted);
}

/* the product sits on one flat stage that runs the width of the page */
.hero-shot { margin-top: clamp(40px, 5vw, 72px); background: var(--surface); padding-block: clamp(28px, 4vw, 56px) 0;
  padding-inline: max(var(--margin), calc((100% - var(--content)) / 2)); }
.hero-shot-in { max-width: var(--content); margin-inline: auto; }

/* ---------------------------------------------------------------- the app window
   A real interface fragment: data-ui, so the product's own borders apply. */
.window[data-ui] {
  display: block; height: auto;
  background: #fff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  font-size: 14px; color: var(--ink);
}
.window .titlebar {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-high);
  padding: 9px 12px;
  font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--surface-highest);   /* taste-skill-ignore: the app window's own title bar */
}
.window .titlebar img { width: 16px; height: 16px; }
.window .ctrls { margin-left: auto; display: flex; gap: 16px; color: var(--muted); }
.window .ctrls i { font-style: normal; }
.window .app { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.window .app-side { background: var(--field-1); color: #e0e7ff; padding: 14px 10px; display: grid; gap: 2px; align-content: start; }
.window .app-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; font-weight: 500; }
.window .app-brand img { width: 22px; height: 22px; }
.window .app-brand small { display: block; font-weight: 400; font-size: 12px; color: #a5b4fc; }
.window .app-nav { padding: 9px 12px; border-radius: 8px; color: #c7d2fe; font-size: 13px; }
.window .app-nav.on { background: var(--accent); color: #fff; }
.window .app-main { background: #fff; padding: 16px; display: grid; gap: 14px; align-content: start; }
.window .app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.window .app-head h4 { font-size: 17px; font-weight: 500; margin-bottom: 2px; line-height: 1.2; }
.window .app-head p { font-size: 13px; color: var(--muted); }
.window .scan-btn { background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
.window .app-drives { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.window .drive { background: var(--surface); border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.window .drive-top { display: flex; align-items: baseline; justify-content: space-between; }
.window .drive-top b { font-weight: 500; }
.window .pct { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.window .pct.bad { color: #c5221f; }
.window .pct.ok  { color: #137333; }
.window .drive small { font-size: 12px; color: var(--muted); }
.window .app-panel { background: var(--surface); border-radius: 10px; overflow: hidden; }

/* ---------------------------------------------------------------- showcase: headline you can type */
.showcase { min-height: 0; display: grid; align-content: center; padding-block: var(--gap); background: var(--primary-container); color: var(--on-primary-container); }
.showcase > * { min-width: 0; }
.try-label { font-size: var(--step-body); color: var(--ink); margin-bottom: 14px; }
.try-line { display: flex; align-items: baseline; gap: 2px; max-width: 100%; }
.try-input {
  flex: 1 1 auto; min-width: 0;
  font: inherit;
  font-size: clamp(28px, 6.4vw, 108px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 400;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.try-input::-webkit-scrollbar { display: none; }
.try-caret {
  flex: 0 0 auto;
  width: 0.08em; height: 0.78em;
  background: var(--accent);
  font-size: clamp(28px, 6.4vw, 108px);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* answer beside the line, not marooned under it */
.try-wrap { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px 40px; align-items: start; margin-top: 32px; }
.verdict { max-width: 100%; }
.try-side { display: grid; gap: 12px; align-content: start; }
.try-side h3 { font-size: var(--step-body); font-weight: 500; }
.try-side p { font-size: var(--step-body); color: var(--on-primary-container); opacity: .82; }
.try-more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; }
.try-more button {
  font: inherit; font-size: var(--step-body);
  background: var(--bg); color: var(--ink);
  border: 0; border-radius: var(--radius-sm);
  padding: 10px 18px; min-height: 48px; cursor: pointer;
  transition: background .18s ease;
}
.try-more button:hover { color: var(--ink); }

/* ---------------------------------------------------------------- how-it-works: drag through the stages */
.stages { min-height: 72svh; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.stage-clause { background: var(--surface-highest); color: var(--ink); padding: clamp(32px, 5vw, 56px) var(--margin) 120px; display: grid; align-content: center; gap: 20px; }
.stage-clause h2 { font-size: clamp(32px, 4.6vw, 76px); max-width: 14ch; }
.stage-demo { background: var(--surface); display: grid; place-items: center; padding: clamp(32px, 5vw, 56px) var(--margin) 120px; }
.stage-demo > * { width: min(520px, 100%); }
.stage-demo [data-ui] { height: auto; min-height: 260px; align-content: center; border-radius: var(--radius-lg); overflow: hidden; }
.slider {
  position: absolute; left: var(--margin); right: var(--margin); bottom: 44px;
  display: grid; gap: 14px;
  padding-inline: 0;
}
.slider input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; background: var(--muted); border-radius: 0; cursor: pointer;
}
.slider input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; background: var(--accent); border-radius: 0; cursor: pointer;
}
.slider input::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }
.slider-names { display: flex; justify-content: space-between; font-size: var(--step-body); color: var(--muted); }
.slider-names span.on { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- features: small proof beside text */
.features { padding-block: var(--gap); }
.features > h2 { font-size: var(--step-head); max-width: 16ch; margin-bottom: 48px; }
.module {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: clamp(48px, 5vw, 72px);
}
.module:last-child { margin-bottom: 0; }
.module-panel { background: var(--surface-high); border-radius: var(--radius-lg); overflow: hidden; }
.module h3 { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.module p { font-size: var(--step-body); color: var(--ink); margin-bottom: 10px; }

/* ---------------------------------------------------------------- pricing: plans that step up */
.pricing { padding-block: var(--gap); background: var(--surface); }
.pricing > h2 { font-size: var(--step-head); max-width: 16ch; margin-bottom: 40px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.tile { position: relative; z-index: 1; padding: 28px 24px; border-radius: var(--radius-lg); display: grid; align-content: space-between; gap: 24px; }
.tile-1 { min-height: 380px; background: var(--bg); }
.tile-2 { min-height: 460px; background: var(--primary-container); color: var(--on-primary-container); }
.tile-3 { min-height: 540px; background: var(--field-1); color: var(--field-1-ink); }
.tile h3 { font-size: var(--step-lead); line-height: 1.15; margin-bottom: 12px; }
.tile .fig { font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 8px; }
.tile .fig small { font-size: var(--step-body); letter-spacing: 0; }
.tile .per { font-size: var(--step-body); color: #525a70; }
.tile-3 .per { color: #c8ccd6; }
.tile ul { display: grid; gap: 9px; font-size: var(--step-body); }
.tile-3 .act { background: var(--accent); }

/* ---------------------------------------------------------------- faq: question index, one answer */
.faq { padding-block: var(--gap); background: var(--surface-high); display: grid; grid-template-columns: 5fr 1fr 6fr; gap: 0; }
.faq-list { grid-column: 1; display: grid; gap: 18px; align-content: start; }
.faq-list h2 { font-size: var(--step-body); font-weight: 400; color: var(--muted); }
.q {
  display: flex; gap: 12px; align-items: baseline;
  font: inherit; font-size: var(--step-body);
  background: none; border: 0; padding: 0; text-align: left;
  color: var(--muted); cursor: pointer; min-height: 32px;
}
.q::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-2px); }
.q[aria-selected="true"] { color: var(--ink); }
.q[aria-selected="true"]::before { background: var(--accent); }
.faq-pane { grid-column: 3; position: sticky; top: 120px; align-self: start; }
.faq-pane p { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; transition: opacity .15s ease; }

/* ---------------------------------------------------------------- footer: a single quiet line */
.foot { padding-top: clamp(120px, 16vh, 200px); padding-bottom: 30px; }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; font-size: var(--step-small); color: var(--muted); }
.foot-line nav { display: flex; gap: 24px; justify-self: center; }
.foot-line nav a { color: var(--ink); }
.foot-end { justify-self: end; }

/* ---------------------------------------------------------------- interface fragments (data-ui)
   Inside data-ui the product's own conventions apply: 1px control borders, small radii. */
[data-ui] {
  background: #fff;
  color: #17153b;
  font-size: 14px;
  line-height: 1.4;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 0;
}
[data-ui] .ui-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #e6e6ef; }
[data-ui] .ui-head b { font-weight: 500; font-size: 13px; }
[data-ui] .ui-head span { color: #6a7186; font-size: 13px; }
[data-ui] .row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #f0f0f6; }
[data-ui] .row:last-child { border-bottom: 0; }
[data-ui] .row.hot { background: var(--care-container); }
[data-ui] .sz { font-variant-numeric: tabular-nums; color: #17153b; }
[data-ui] .tag { font-size: 13px; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
[data-ui] .tag.safe { background: var(--safe-container); color: var(--on-safe-container); }
[data-ui] .tag.care { background: var(--care-container); color: var(--on-care-container); }
[data-ui] .tag.sys  { background: var(--primary-container); color: var(--on-primary-container); }
[data-ui] .tag.mine { background: #eceaf5; color: #413a6b; }
[data-ui] .cap { display: flex; align-items: center; gap: 12px; padding: 14px 12px; }
[data-ui] .cap b { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
[data-ui] .bar { height: 10px; background: #e9e9f1; border-radius: 2px; overflow: hidden; flex: 1; }
[data-ui] .bar i { display: block; height: 100%; background: #c0392b; }
[data-ui] .bar i.ok { background: #156b32; }
[data-ui] .note { padding: 0 12px 14px; color: #6a7186; font-size: 13px; }

/* the verdict fragment in the showcase */
.verdict [data-ui] { border-radius: 6px; border: 1px solid #e6e6ef; height: auto; }
.verdict [data-ui] .ui-path { padding: 10px 12px; border-bottom: 1px solid #f0f0f6; color: #6a7186; }
.verdict [data-ui] .ui-say { padding: 12px; display: grid; gap: 8px; }
.verdict [data-ui] .ui-say p { font-size: 15px; line-height: 1.45; color: #17153b; }

/* ---------------------------------------------------------------- motion */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.cmp tbody.rise { transform: none; }
.cmp tbody.rise tr { opacity: 0; transition: opacity .4s ease; }
.cmp tbody.rise.in tr { opacity: 1; }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rise { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq-pane { display: none; }
  .module { margin-left: 0; grid-template-columns: 1fr; gap: 16px; }
  .features > h2 { margin-left: 0; }
  .tiles { grid-template-columns: 1fr; align-items: stretch; }
  .tile-1, .tile-2, .tile-3 { min-height: 0; }
  .stages { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav-links a:not(.lang):not(.act) { display: none; }
  .window .app { grid-template-columns: 1fr; min-height: 0; }
  .window .app-side { display: flex; gap: 6px; overflow-x: auto; padding: 10px; }
  .window .app-brand { display: none; }
  .window .app-nav { white-space: nowrap; }
  .window .app-drives { grid-template-columns: 1fr; }
  .window .app-head { flex-direction: column; gap: 10px; }
  [data-ui] { font-size: 13px; }
  .try-input, .try-caret { font-size: 11vw; }
  .stage-clause h2 { font-size: 9vw; }
  .foot-line { grid-template-columns: 1fr; gap: 8px; }
  .foot-line nav { justify-self: start; flex-wrap: wrap; }
  .foot-end { justify-self: start; }
}

/* ---------------------------------------------------------------- how to buy: a flat field */
.buy {
  background: var(--field-1);
  color: var(--field-1-ink);
  padding-block: var(--gap);
}
.buy h2 { font-size: var(--step-head); max-width: 14ch; margin-bottom: 56px; }
.buy-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; counter-reset: none; }
.buy-steps li { display: grid; gap: 10px; align-content: start; }
.buy-steps b { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; }
.buy-steps span { font-size: var(--step-body); color: #b9bdc9; }
.buy-note { margin-top: 56px; font-size: var(--step-body); color: #b9bdc9; max-width: 62ch; }

@media (max-width: 860px) { .buy-steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------- comparison: a real table keeps its lines */
.compare { padding-block: var(--gap); }
.compare h2 { font-size: var(--step-head); max-width: 16ch; margin-bottom: 48px; }
.cmp { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--step-body); }
.cmp thead th { font-weight: 500; text-align: center; padding: 0 12px 16px; width: 13%; }
.cmp tbody th { font-weight: 400; text-align: left; padding: 13px 16px 13px 0; }
.cmp tbody tr { border-top: 1px solid var(--surface-highest); }
.cmp td { text-align: center; padding: 13px 12px; }
.cmp .y { color: var(--on-safe-container); font-weight: 500; }
.cmp .n { color: var(--muted); }


@media (max-width: 860px) {
  .cmp { font-size: var(--step-small); }
  .cmp tbody th { padding-right: 8px; }
  .cmp thead th { width: 16%; padding-inline: 4px; }
}
@media (max-width: 620px) {
  .try-more button { font-size: var(--step-body); }
}

/* ---------------------------------------------------------------- stage note */
.stage-note { font-size: var(--step-body); color: var(--muted); max-width: 34ch; }

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

/* ---------------------------------------------------------------- feature panels as window crops */
.module-panel.window[data-ui] { display: block; height: auto; border-radius: var(--radius-lg); }
.module-panel.window > [data-ui] { background: #fff; }
