/* Chat Archive HQ for Gemini™ — records-room site styles.
   Palette and type match the brand kit: ink #1a2836, stamp #9e1b24, Newsreader + IBM Plex Sans. */

@font-face {
  font-family: "IBM Plex Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 99.16%;
  ascent-override: 103.36%;
  descent-override: 27.73%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Newsreader Fallback";
  src: local("Palatino"), local("Palatino Linotype"), local("Iowan Old Style"), local("Liberation Serif"), local("Times New Roman");
  size-adjust: 110.64%;
  ascent-override: 66.43%;
  descent-override: 23.95%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans.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: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-600.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;
}

:root {
  --field: #e6eaef;
  --card: #f5f7f9;
  --paper: #fbfcfd;
  --ink: #1a2836;
  --mute: #4a5866;
  --line: #c5cdd6;
  --steel: #5e6a75;
  --drawer: #d0d6de;
  --stamp: #9e1b24;
  --stamp-soft: #f3e6e7;
  --serif: "Newsreader", "Newsreader Fallback", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wide: 72rem;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:root { accent-color: var(--stamp); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 40;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--field);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.55rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand:hover { color: var(--ink); }

.brand-lockup {
  display: block;
  height: 2.125rem;
  width: auto;
  min-width: 10rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav-desktop a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-desktop a.coming { margin-left: 0.4rem; }

.nav-mobile { display: none; }

.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.nav-mobile > summary::-webkit-details-marker { display: none; }

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 24px -16px rgba(26, 40, 54, 0.28);
}

.nav-panel a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.7rem 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.nav-panel a:last-child { border-bottom: 0; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}

/* Buttons */
.button,
a.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  background: var(--ink);
  color: #f5f7f9;
  text-decoration: none;
  font: 600 0.95rem/1.2 var(--sans);
  border: 1px solid var(--ink);
  cursor: pointer;
}

.button:hover,
a.button:hover {
  background: #121b24;
  color: #f5f7f9;
}

.button:active,
a.button:active { transform: translateY(1px); }

.button.secondary,
a.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button.secondary:hover,
a.button.secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.button:disabled,
button.button:disabled {
  background: var(--card);
  color: var(--mute);
  border-color: var(--line);
  cursor: not-allowed;
  transform: none;
}

.featured .button:disabled {
  background: transparent;
  color: #c9d3dc;
  border-color: #7d8a96;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  align-items: center;
}

/* Hero: headline + the product film */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 36rem);
  gap: 3.25rem;
  align-items: center;
  padding: 4.5rem 0 3.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  max-width: 12em;
  text-wrap: balance;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 0 1.6rem;
  color: var(--ink);
}

.notify {
  font-weight: 500;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

/* Filed demo frames */
.demo { margin: 0; }

.demo-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 0.55rem 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 22px 36px -22px rgba(26, 40, 54, 0.35);
}

.demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #1a2836;
  border: 0;
  vertical-align: middle;
}

.demo figcaption {
  margin: 0;
  padding: 0.7rem 0.35rem 0.75rem;
  color: var(--mute);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero .demo {
  max-width: none;
  margin: 0;
}

/* Facts */
.facts {
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2.25rem;
}

.facts p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  text-wrap: balance;
}

.section > .lede,
.section > p.intro {
  margin: 0 0 2rem;
  max-width: var(--measure);
}

/* Feature rows: text + film, alternating */
.feature-lead {
  max-width: var(--measure);
  margin: 0 0 2.5rem;
}

.feature-lead h3 {
  margin: 0 0 0.35rem;
  font: 600 1.1rem/1.3 var(--sans);
}

.feature-lead p { margin: 0; }

.feature-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3.75rem;
}

.feature-rows > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.25rem 2.75rem;
  align-items: center;
  padding: 0;
  border: 0;
}

.feature-rows > li.flip .feature-copy { order: 2; }

.feature-copy h3 {
  margin: 0 0 0.45rem;
  font: 600 1.15rem/1.3 var(--sans);
}

.feature-copy p { margin: 0; color: var(--ink); }

.feature-copy .guide-link,
.guide-link { margin: 0.85rem 0 0; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2rem;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps h3 {
  margin: 0 0 0.4rem;
  font: 600 1.05rem/1.3 var(--sans);
}

.steps h3::before {
  content: counter(step) ". ";
  font-weight: 600;
}

.steps p { margin: 0; }

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}

.price {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price h3 {
  margin: 0;
  font: 600 0.95rem/1.3 var(--sans);
}

.price .amount {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.15rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.price .period {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
}

.price ul {
  margin: 0.55rem 0 1rem;
  padding-left: 1.15rem;
  flex: 1;
}

.price li { margin: 0.3rem 0; }

.price .button,
.price button { width: 100%; margin-top: auto; }

.price.featured {
  background: var(--ink);
  color: #f5f7f9;
  border-color: var(--ink);
}

.price.featured .period { color: #c9d3dc; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  background: var(--paper);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  min-height: 2.75rem;
}

.faq details p {
  margin: 0 0 1.1rem;
  max-width: 42rem;
}

/* Install band */
.band {
  background: var(--ink);
  color: #f5f7f9;
}

.band .section { width: min(var(--wide), calc(100% - 2.5rem)); margin-inline: auto; }

.band h2 { color: #f5f7f9; }

.band a { color: #f5f7f9; }

.band a:hover { color: #f3e6e7; }

.band p { max-width: var(--measure); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.75rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1rem;
}

.footer-lockup {
  height: 2rem;
  width: auto;
  min-width: 10rem;
}

.footer-label {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.25rem;
}

.footer-links a,
.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.15rem 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover { text-decoration: underline; }

.trademark {
  margin: 0.4rem 0 0;
  max-width: 46rem;
  color: var(--mute);
}

/* Legal / guides / 404 */
.legal {
  padding: 2.5rem 0 4.5rem;
  max-width: 42rem;
}

.legal h1,
.notfound h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 2.15rem 0 0.6rem;
  text-wrap: balance;
}

.legal p { margin: 0 0 1rem; }

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li { margin: 0.35rem 0; }

.notfound {
  padding: 4rem 0 5rem;
  max-width: 36rem;
}

/* Approved tagline, set quietly so the page H1 can lead */
.tagline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--mute);
  margin: 0 0 1.15rem;
  max-width: 36rem;
}

.guide-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.guide-list li {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.guide-list li:last-child { border-bottom: 1px solid var(--line); }

.guide-list p { margin: 0.25rem 0 0; }

.legal .demo { margin: 0 0 1.35rem; }

@media (max-width: 1024px) {
  .prices { grid-template-columns: 1fr 1fr; }
  .hero,
  .facts,
  .feature-rows > li,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero { gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.75rem; }
  .hero h1 { max-width: none; }
  .feature-rows > li.flip .feature-copy { order: 0; }
  .feature-rows { gap: 2.75rem; }
  .section { padding: 3.25rem 0; }
}

@media (max-width: 560px) {
  .prices { grid-template-columns: 1fr; }
  .wrap,
  .band .section { width: min(var(--wide), calc(100% - 1.5rem)); }
  .brand-lockup,
  .footer-lockup { height: 1.85rem; min-width: 8.75rem; }
  .hero { padding-top: 2rem; }
}

section[id],
#install,
#features,
#pricing,
#faq,
#backup,
#main {
  scroll-margin-top: 5rem;
}

.legal a,
.notfound a,
.band p a,
.faq a,
.intro a {
  display: inline-block;
  padding: 0.2rem 0.1rem;
  margin: -0.2rem 0;
  min-height: 1.5rem;
  line-height: 1.5;
}
