/* Privacy (/privacy): the page's own layout, from docs/design/website/export/round3/privacy.html. */
/* hero */
.hero {
  position: relative;
  padding: 34px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.policy-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  color: var(--muted);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}
.policy-note strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-art {
  position: relative;
  padding-top: 24px;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* dark architectural boundary band */
.bound-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}
.bound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
/* The server list runs longer than what stays local, so the shorter card stays in view beside it. */
.bound-grid > :first-child {
  position: sticky;
  top: 24px;
}
.bound-card {
  border-radius: 26px;
  background: var(--stage-surface);
  box-shadow: inset 0 0 0 1px var(--stage-line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bound-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.bound-top-l {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bound-top img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: none;
}
.bound-card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stage-ink);
}
.bound-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bound-list li {
  padding-top: 12px;
  border-top: 1px solid var(--stage-line);
  font-size: 15px;
  line-height: 1.48;
  color: var(--stage-muted);
}
.bound-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.bound-list b {
  display: block;
  color: var(--stage-ink);
  font-size: 16px;
  margin-bottom: 2px;
}

/* flow bars inside the dark band */
.flow-bar {
  margin-top: 22px;
  border-radius: 20px;
  background: var(--stage-surface);
  box-shadow: inset 0 0 0 1px var(--stage-line);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.flow-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
/* the server forwards to two places: the model provider, and the voice service for spoken answers */
.flow-split {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-split .flow-node + .flow-node {
  padding-top: 12px;
  border-top: 1px solid var(--stage-line);
}
.flow-node b {
  font-size: 15px;
  color: var(--stage-ink);
}
.flow-node span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--stage-muted);
}
.flow-arr {
  font-family: "Caveat", cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--stage-muted);
  line-height: 1;
}
.flow-phone {
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 2fr);
  row-gap: 10px;
}
.flow-label {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--stage-muted);
  text-transform: uppercase;
}

/* card row */
.facts-head {
  margin-bottom: 26px;
}
.facts3 {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: 18px;
}
.fact-card {
  border-radius: 24px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fact-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 2px;
}

/* honest trade-offs warm band */
.honest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
}
.honest-head .note-wrap {
  padding-bottom: 6px;
}
.honest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.honest-card {
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.honest-kicker {
  font-family: "Caveat", cursive;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

/* retention & export */
.export-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}
.settings-card {
  border-radius: 26px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.set-crumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.set-row b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.set-row span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.set-pill {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

@container sw (max-width: 900px) {
  .hero {
    padding: 18px 0 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-copy {
    gap: 14px;
  }
  .hero-art {
    padding-top: 34px;
  }
  .hero-art .note {
    right: 6px !important;
    left: auto !important;
    top: 4px !important;
    font-size: 22px;
  }
  .hero-art .pen {
    right: 92px !important;
    left: auto !important;
    top: 28px !important;
    width: 48px !important;
    height: 32px !important;
  }

  .bound-head,
  .bound-grid,
  .facts3,
  .honest-grid,
  .export-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bound-grid > :first-child {
    position: static;
  }
  .bound-head {
    margin-bottom: 20px;
  }
  .bound-card {
    padding: 20px;
    border-radius: 20px;
    gap: 12px;
  }
  .bound-card h3 {
    font-size: 20px;
  }
  .bound-top img {
    width: 34px;
    height: 34px;
  }
  .flow-bar,
  .flow-phone {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }
  .flow-arr {
    transform: rotate(90deg);
    width: fit-content;
    margin: -2px 0;
    font-size: 22px;
  }

  .fact-card,
  .honest-card {
    padding: 20px;
    border-radius: 20px;
  }
  .honest-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }
  .honest-head .note-wrap {
    display: none;
  }
  .settings-card {
    padding: 18px;
    border-radius: 20px;
  }
  .set-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* tablet: the phone layout with room to spare */
@container sw (min-width: 721px) and (max-width: 900px) {
  .hero-art {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

/* small desktop: the hero splits evenly so the art keeps room for its note, and the
   boundary heading sits above its lede */
@container sw (min-width: 901px) and (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .bound-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
