/* SendLock website. One accent colour (SendLock violet), the same tokens as the extension popup. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: hsl(263 25% 10%);
  --muted: hsl(257 11% 38%);
  --faint: hsl(259 12% 58%);
  --line: hsl(264 24% 90%);
  --wash: hsl(267 33% 97%);
  --paper: #fff;
  --violet: hsl(271 76% 53%);
  --violet-ink: hsl(271 76% 43%);
  --violet-wash: hsl(267 89% 96%);
  --violet-line: hsl(265 80% 88%);
  --amber-ink: hsl(32 90% 30%);
  --amber-wash: hsl(42 90% 94%);
  --amber-line: hsl(40 80% 80%);
  --green: hsl(142 72% 30%);
  --blue: #0b57d0;
  --radius: 12px;
  --shadow: 0 1px 2px hsl(263 25% 10% / 0.06), 0 12px 40px hsl(263 40% 20% / 0.12);
  --wrap: 1080px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--violet-ink);
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--paper);
  padding: 8px 12px;
}

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0612;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.top .brand {
  color: #fff;
}
.brand img {
  width: 28px;
  height: 28px;
}
.top__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
.top__nav a {
  color: hsl(260 15% 72%);
  text-decoration: none;
}
.top__nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--violet-ink);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  padding: 9px 14px;
  font-size: 14px;
}
.btn--lg {
  padding: 16px 28px;
  font-size: 18px;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover {
  background: var(--wash);
}

/* ---------- The stage: the dark backdrop behind the hero and the demo ---------- */

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a0612;
  color: #fff;
}
.stage::before,
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.stage::before {
  background:
    radial-gradient(50% 440px at 50% 0%, hsl(271 80% 55% / 0.5), transparent 72%),
    radial-gradient(60% 520px at 50% 78%, hsl(265 90% 60% / 0.38), transparent 70%);
}
.stage::after {
  background-image:
    linear-gradient(hsl(0 0% 100% / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 560px at 50% 200px, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 560px at 50% 200px, #000, transparent 78%);
}
.stage .hero__sub {
  color: hsl(262 25% 78%);
}
.stage .hero__sub strong,
.stage .demo__cue h2 {
  color: #fff;
}
.stage .eyebrow {
  color: hsl(267 100% 82%);
}
.stage .fine,
.stage .demo__say {
  color: hsl(260 15% 66%);
}
.stage .phone-only {
  color: hsl(267 100% 82%);
}
.stage .win {
  border-color: transparent;
  box-shadow: 0 0 0 1px hsl(0 0% 100% / 0.1), 0 40px 140px -10px hsl(271 95% 62% / 0.6);
}

/* ---------- Hero ---------- */

.hero {
  padding: 120px 0 104px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero__sub {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}
.hero__sub strong {
  color: var(--ink);
  font-weight: 600;
}
.hero__cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fine {
  font-size: 14px;
  color: var(--faint);
}
.phone-only {
  display: none;
}

/* ---------- The demo: a working copy of what SendLock does in Gmail ---------- */

.demo {
  padding: 0 0 88px;
}
.demo__cue {
  margin-bottom: 28px;
  text-align: center;
}
.demo__cue h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}
/* The word "Live" breathes slowly between a deeper and a lighter violet. */
.live {
  animation: live-breathe 3.6s ease-in-out infinite;
}
@keyframes live-breathe {
  0%,
  100% {
    color: hsl(267 85% 75%);
  }
  50% {
    color: hsl(267 100% 88%);
  }
}
.demo__say {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}
.demo__say:empty {
  display: none;
}
.demo__fine {
  margin-top: 8px;
  text-align: center;
}
.demo__say button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--violet-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.win {
  scroll-margin-top: 76px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

/* The SendLock bar, as it sits under Gmail's header. */
.slbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 38px;
  padding: 4px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
  transition: background 0.2s ease, color 0.2s ease;
}
.slbar[data-state="held"] {
  color: #8145df;
  background: rgba(242, 240, 254, 0.7);
  border-color: #d6c7f9;
}
.slbar[data-state="flag"],
.slbar[data-state="paused"] {
  color: #8a6a1c;
  background: rgba(247, 231, 197, 0.45);
  border-color: #f0dba8;
}
.slbar__cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 25%, transparent);
}
.slbar__cell:first-child {
  border-left: 0;
  padding-left: 0;
  font-weight: 600;
}
.slbar__time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 3.2em;
}
/* Spotlight: everything in the Gmail window except the timer dims, then comes back. */
.slbar__time.is-spot {
  position: relative;
  z-index: 6;
}
.slbar__time.is-spot::after {
  content: "";
  position: absolute;
  inset: -7px -2px;
  border-radius: 10px;
  pointer-events: none;
  animation: time-spot 3.4s ease-in-out 1 both;
}
@keyframes time-spot {
  0% {
    box-shadow: 0 0 0 2000px rgba(10, 6, 18, 0);
  }
  10%,
  62% {
    box-shadow: 0 0 0 2000px rgba(10, 6, 18, 0.62);
  }
  100% {
    box-shadow: 0 0 0 2000px rgba(10, 6, 18, 0);
  }
}
.slbar__flags {
  flex: 1 1 200px;
  min-width: 0;
}
.slbar__flags > span {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 4px 18px;
}
/* Each flag is its own item with a dot, so a bar that wraps to two lines still reads cleanly. */
.slbar__flag {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-width: 0;
}
.slbar__flag > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slbar__flag::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.slbar__flag:only-child::before {
  display: none;
}
.slbar__acts {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.slbar button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 6px;
  background: hsl(0 0% 100% / 0.6);
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
.slbar button:hover {
  background: #fff;
}
.slbar svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.slbar [hidden] {
  display: none;
}

/* The Gmail backdrop: laid out and coloured like Gmail's inbox so the demo reads as "my inbox". */
.win {
  font-family: "Google Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f6f8fc;
  color: #202124;
}
.gi {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gi--sm {
  width: 14px;
  height: 14px;
  margin-left: -12px;
}
.gm-top {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 16px 0 20px;
  color: #444746;
}
.gm-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 190px;
  font-size: 22px;
  color: #444746;
}
.gm-m {
  width: 28px;
  height: 21px;
  flex: none;
}
.gm-search {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  border-radius: 24px;
  background: #e9eef6;
  font-size: 15px;
}
.gm-search span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.gm-tools {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.gm-me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0b57d0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.slbar {
  min-height: 44px;
  padding-left: 24px;
  border-top: 1px solid #e3e6ea;
  border-bottom-color: #e3e6ea;
  color: #9aa0a6;
}
.gm-tools img {
  width: 22px;
  height: 22px;
}
.mail {
  position: relative;
  display: grid;
  grid-template-columns: 64px 200px 1fr 48px;
  min-height: 540px;
  padding-top: 8px;
}
.gm-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  font-size: 12px;
  color: #444746;
}
.gm-rail span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.gm-rail i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 30px;
  border-radius: 16px;
}
.gm-rail .is-on {
  color: #001d35;
  font-weight: 600;
}
.gm-rail .is-on i {
  background: #d3e3fd;
}
.gm-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 22px;
}
.gm-side i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.mail__nav {
  padding: 0;
}
.gm-compose {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  margin: 0 0 14px;
  padding: 0 24px 0 18px;
  border-radius: 16px;
  background: #c2e7ff;
  color: #001d35;
  font-weight: 500;
}
.mail__nav li {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 32px;
  height: 32px;
  margin-right: 12px;
  padding: 0 14px 0 18px;
  border-radius: 16px;
  color: #202124;
}
.mail__nav li .gi,
.mail__nav li img {
  width: 18px;
  height: 18px;
  color: #444746;
}
.mail__nav li span {
  margin-left: auto;
  font-size: 12px;
}
.mail__nav li[aria-current="true"] {
  background: #d3e3fd;
  color: #001d35;
  font-weight: 700;
}
.gm-main {
  min-width: 0;
  margin: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
  overflow: hidden;
}
.gm-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 46px;
  padding: 0 18px;
  color: #444746;
}
.gm-bar .gi {
  width: 18px;
  height: 18px;
}
.gm-bar span {
  margin-left: auto;
  font-size: 12px;
  color: #5f6368;
}
.gm-tabs em {
  margin-left: -4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #0b57d0;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.gm-tabs em.g {
  background: #188038;
}
.gm-tabs {
  display: flex;
  border-bottom: 1px solid #eceff1;
}
.gm-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 200px;
  height: 52px;
  padding: 0 16px;
  color: #444746;
  font-weight: 500;
}
.gm-tabs .gi {
  width: 18px;
  height: 18px;
}
.gm-tabs .is-on {
  position: relative;
  color: #0b57d0;
}
.gm-tabs .is-on::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #0b57d0;
}
.row {
  display: grid;
  grid-template-columns: 80px 168px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 16px 0 14px;
  border: 0;
  border-bottom: 1px solid #eceff1;
  background: #f2f6fc;
  font: inherit;
  text-align: left;
  color: #5f6368;
  white-space: nowrap;
}
.row::before {
  content: "";
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 18' fill='none' stroke='%23c4c7c5' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='14' height='14' rx='2'/%3E%3Cpath d='m38 1.500 2.300 4.700 5.200.800-3.800 3.600.900 5.200-4.600-2.500-4.600 2.500.900-5.200-3.800-3.600 5.200-.800z'/%3E%3Cpath d='M58 3.500h9l5 5.500-5 5.500h-9l5-5.500z'/%3E%3C/svg%3E") no-repeat;
}
.row > * {
  overflow: hidden;
  text-overflow: ellipsis;
}
.row b,
.row strong {
  color: #1f1f1f;
  font-weight: 400;
}
.row > :last-child {
  font-size: 12px;
}
.row--new {
  background: #fff;
}
.row--new b,
.row--new strong,
.row--new > :last-child {
  font-weight: 700;
  color: #202124;
}
.compose__head span {
  float: right;
  display: inline-flex;
  gap: 14px;
  color: #444746;
}
.compose__head .gi {
  width: 15px;
  height: 15px;
}
@media (max-width: 900px) {
  .mail {
    grid-template-columns: 200px 1fr;
  }
  .gm-rail,
  .gm-side {
    display: none;
  }
  .gm-main {
    margin-right: 14px;
  }
  .gm-tabs span {
    width: auto;
    flex: 1;
  }
  .gm-logo {
    width: auto;
  }
}
@media (max-width: 680px) {
  .gm-tools .gi,
  .gm-search .gi:last-child,
  .gm-tabs span:not(.is-on) {
    display: none;
  }
  .gm-main {
    margin: 0;
    border-radius: 0;
  }
  .row::before {
    display: none;
  }
  /* On a phone the compose window sits under the inbox: keep the inbox short so Send is close. */
  .mail__list .row:nth-child(n + 5) {
    display: none;
  }
  .gm-top {
    gap: 10px;
    padding: 0 12px;
  }
  .compose textarea {
    height: 200px;
  }
}
.row--held {
  cursor: pointer;
  background: var(--violet-wash);
  box-shadow: inset 3px 0 0 var(--violet);
  animation: row-in 0.25s ease-out;
}
.row--held:hover {
  background: hsl(267 89% 94%);
}
.row__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--violet-line);
  color: var(--violet-ink);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.row__tag--sent {
  box-shadow: inset 0 0 0 1px hsl(142 40% 80%);
  color: var(--green);
}
.row--dim {
  opacity: 0.55;
}
/* The coach: a bubble under the SendLock bar that says what to click next. */
.coach {
  position: absolute;
  top: 12px;
  left: 300px;
  z-index: 4;
  max-width: 340px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  box-shadow: 0 10px 30px hsl(263 40% 10% / 0.35);
  animation: card-in 0.2s ease-out;
}
.coach[hidden] {
  display: none;
}
.coach--low {
  top: 104px;
}
.coach::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
}
.coach__step {
  display: block;
  margin-bottom: 4px;
  color: hsl(267 100% 82%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.coach .coach__fix {
  width: 100%;
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 13px;
  background: hsl(0 0% 100% / 0.12);
  text-align: left;
}
.coach .coach__fix:hover {
  background: hsl(0 0% 100% / 0.2);
}
.coach .coach__fix + button:not(.coach__fix) {
  margin-top: 12px;
}
/* Step 1: the one button in an empty draft. */
.paste {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: "Geist", system-ui, sans-serif;
}
.paste[hidden] {
  display: none;
}
.paste b {
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  animation: paste-nudge 1.8s ease-in-out infinite;
}
.paste:hover b {
  background: var(--violet-ink);
}
.paste span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes paste-nudge {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsl(271 76% 53% / 0.45);
  }
  50% {
    box-shadow: 0 0 0 11px hsl(271 76% 53% / 0);
  }
}
/* Step 3: the bar asks to be clicked. */
.slbar--nudge {
  animation: bar-nudge 1.6s ease-in-out infinite;
}
@keyframes bar-nudge {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 hsl(0 0% 100% / 0);
  }
  50% {
    box-shadow: inset 0 0 0 3px hsl(0 0% 100% / 0.75);
  }
}
.coach button {
  display: block;
  margin-top: 10px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.slbar[role="button"] {
  cursor: pointer;
}
.slbar[role="button"]:hover {
  background: rgba(233, 228, 253, 0.95);
}

/* The SendLock popup, opened from the shield in Gmail's toolbar. Same layout as the extension's. */
.gm-ext {
  display: inline-flex;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  animation: ext-hint 2.4s ease-in-out 3;
}
.gm-ext:hover,
.gm-ext[aria-expanded="true"] {
  background: #e1e5ee;
}
@keyframes ext-hint {
  50% {
    box-shadow: 0 0 0 6px hsl(271 76% 53% / 0.18);
  }
}
.slpop {
  position: absolute;
  top: 52px;
  right: 56px;
  z-index: 6;
  width: min(340px, calc(100% - 24px));
  max-height: 500px;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 50px hsl(263 40% 15% / 0.3);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.slpop[hidden] {
  display: none;
}
.slpop__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.slpop__on {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}
.slpop__on i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(142 72% 36%);
}
.slpop__on.is-off i {
  background: hsl(32 95% 44%);
}
.slpop__body {
  padding: 16px;
}
.slpop__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.slpop__read {
  margin-top: 6px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.slpop__read small {
  margin-left: 3px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.slpop__hint {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.slpop__seg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
  padding: 3px;
  border-radius: 9px;
  background: var(--wash);
}
.slpop__seg button {
  padding: 6px 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.slpop__seg button[aria-checked="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 10, 40, 0.12), 0 0 0 1px var(--line);
}
.slpop__rows {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.slpop__group {
  padding: 12px 0 2px;
  font-weight: 600;
}
.slpop__rows label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.slpop__rows label:last-child {
  border-bottom: 0;
}
.slpop__rows b {
  display: block;
  font-weight: 400;
}
.slpop__rows small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.sw {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 32px;
  height: 18px;
  margin: 0;
  border-radius: 999px;
  background: hsl(264 18% 84%);
  cursor: pointer;
  transition: background 0.15s ease;
}
.sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.sw:checked {
  background: var(--violet);
}
.sw:checked::after {
  transform: translateX(14px);
}
@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Compose window, bottom right like Gmail's. */
.compose {
  position: absolute;
  right: 72px;
  bottom: 0;
  width: min(480px, calc(100% - 36px));
  display: flex;
  flex-direction: column;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 36px hsl(263 40% 20% / 0.22);
}
.compose[hidden] {
  display: none;
}
.compose__head {
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
  background: #f2f6fc;
  color: #041e49;
  font-weight: 600;
  font-size: 13px;
}
.compose__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid hsl(264 24% 94%);
  color: var(--faint);
}
.compose__field input {
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
}
.compose__body {
  position: relative;
}
.compose textarea {
  display: block;
  width: 100%;
  height: 190px;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  resize: none;
  background: none;
  line-height: 1.5;
}
/* Demo-only highlights behind the message text. Must match the textarea's box exactly. */
.marks {
  position: absolute;
  inset: 0;
  padding: 12px 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  color: transparent;
  pointer-events: none;
}
.marks mark {
  margin: 0 -2px;
  padding: 1px 2px;
  border-radius: 3px;
  background: hsl(50 100% 62%);
  color: transparent;
  font-weight: inherit;
  box-shadow: inset 0 -2px 0 hsl(45 100% 50%);
  transition: background 1.2s ease;
}
.marks.is-settled mark {
  background: transparent;
}
.compose textarea {
  position: relative;
}
.compose__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 8px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--wash);
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
}
.compose__file[hidden] {
  display: none;
}
.compose__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
}
.send {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.send:hover {
  background: #0a4cb8;
}
.send--nudge {
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 87, 208, 0.45);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(11, 87, 208, 0);
  }
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.iconbtn:hover {
  background: var(--wash);
}
.iconbtn svg {
  width: 16px;
  height: 16px;
}

/* The Smart Flags card: floats above the Send row, exactly where the real one sits. */
.flagcard {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px 9px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--violet-line), 0 6px 20px hsl(263 40% 20% / 0.16);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
.flagcard[hidden] {
  display: none;
}
.flagcard > img {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.flagcard ul {
  flex: 1;
  min-width: 0;
}
.flagcard li + li {
  margin-top: 3px;
}
.flagcard .quiet {
  color: var(--faint);
}
.flagcard button {
  border: 0;
  background: none;
  cursor: pointer;
}
.flagcard .learn {
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 5px;
  color: var(--violet-ink);
  font-weight: 600;
  font-size: 13px;
}
.flagcard .learn:hover {
  background: var(--violet-wash);
}
.flagcard .x {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: var(--faint);
  font-size: 16px;
  line-height: 1;
}
.flagcard .x:hover {
  background: var(--violet-wash);
  color: var(--ink);
}
.compose .flagcard {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  animation: card-in 0.14s ease-out;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  animation: card-in 0.2s ease-out;
}
.toast[hidden] {
  display: none;
}

/* ---------- Sections ---------- */

.sec {
  padding: 88px 0;
}
.sec--wash {
  background: var(--wash);
}
.sec__head {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}
.eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-ink);
}
h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.sec__head p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 19px;
  color: var(--muted);
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* Scale bars: Gmail's undo against SendLock, drawn to scale. */
.scale {
  max-width: 860px;
  margin: 0 auto;
}
.scale__row + .scale__row {
  margin-top: 26px;
}
.scale__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}
.scale__label span {
  font-weight: 400;
  color: var(--muted);
  text-align: right;
}
.scale__track {
  height: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.scale__fill {
  height: 100%;
  border-radius: 8px;
  background: var(--violet);
  transform-origin: left;
}
.scale__fill--gmail {
  width: 0.834%;
  min-width: 3px;
  border-radius: 8px 0 0 8px;
  background: var(--ink);
}
.scale__fill--sl {
  width: 100%;
}
.reveal .scale__fill--sl {
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.reveal.is-in .scale__fill--sl {
  transform: none;
}
.scale__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--faint);
  text-align: center;
}

.tablewrap {
  max-width: 860px;
  margin: 44px auto 0;
  overflow-x: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th,
td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
tr:last-child > * {
  border-bottom: 0;
}
thead th {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
tbody th {
  font-weight: 500;
  color: var(--muted);
  width: 30%;
}
td:last-child {
  font-weight: 600;
}

/* Flag gallery */
.flags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.flag {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.flag h3 {
  padding: 16px 18px 0;
}
.flag__mail {
  flex: 1;
  margin: 12px 18px 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--wash);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.flag__mail small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--faint);
}
mark {
  padding: 1px 3px;
  border-radius: 4px;
  background: var(--amber-wash);
  box-shadow: inset 0 -2px 0 var(--amber-line);
  color: var(--amber-ink);
  font-weight: 600;
}
/* In the gallery each catch is drawn as it appears in the SendLock bar. */
.flag .flagcard {
  margin: 0 12px 12px;
  border-radius: 8px;
  background: rgba(247, 231, 197, 0.45);
  box-shadow: inset 0 0 0 1px #f0dba8;
  color: #6f5412;
}
/* Smart Flags, shown working: the list of checks on the left, one live draft on the right. */
.flags[hidden] {
  display: none;
}
.fx {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}
.fx__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fx__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}
.fx__tab:hover {
  background: var(--wash);
}
.fx__tab.is-on {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.fx__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.fx__tab.is-on .fx__dot {
  background: var(--violet);
}
.fx__tab.is-caught .fx__dot {
  background: hsl(45 100% 50%);
  box-shadow: 0 0 0 4px hsl(45 100% 50% / 0.22);
}
.fx__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
}
.fx__tab.is-on .fx__bar {
  animation: fx-run var(--fx-time, 5s) linear 1 both;
}
@keyframes fx-run {
  to {
    width: 100%;
  }
}
.fx__win {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f6f8fc;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}
.fx__win .slbar {
  min-height: 46px;
  padding-left: 18px;
  background-color: #fff;
  font-size: 14px;
}
.fx__win .slbar[data-state="flag"] {
  background: rgb(252 245 228);
}
.fx__win .slbar__flags {
  opacity: 0;
  transform: translateY(4px);
}
.fx__win .slbar__flags.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fx__win .slbar__flags > .fx__reason {
  display: block;
}
/* The what-is-wrong part of a warning: bold, darker, and underlined in the same yellow that
   marks the mistake in the email. */
.fx__reason b,
.slbar__flag b {
  font-weight: 700;
  color: color-mix(in srgb, currentColor 55%, #000);
  text-decoration: underline;
  text-decoration-color: hsl(45 100% 50%);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.fx__draft {
  margin: 26px 26px 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px hsl(263 40% 20% / 0.12);
  font-size: 15px;
}
.fx__head {
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
  background: #f2f6fc;
  color: #041e49;
  font-size: 13px;
  font-weight: 600;
}
.fx__ctx {
  padding: 10px 16px;
  border-bottom: 1px solid hsl(264 24% 94%);
  color: var(--faint);
  font-size: 14px;
}
.fx__to {
  margin-left: 8px;
  color: var(--ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.fx__to mark {
  margin: 0 -2px;
  padding: 1px 2px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-weight: inherit;
  transition: background 0.35s ease;
}
.fx__to mark.is-on {
  background: hsl(50 100% 62%);
}
.fx__body {
  min-height: 132px;
  padding: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.fx__body mark {
  margin: 0 -2px;
  padding: 1px 2px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-weight: inherit;
  transition: background 0.35s ease;
}
.fx__body mark.is-on {
  background: hsl(50 100% 62%);
}
.fx__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--ink);
  vertical-align: text-bottom;
  animation: fx-blink 0.9s steps(1) infinite;
}
@keyframes fx-blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .fx {
    grid-template-columns: 1fr;
  }
  .fx__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .fx__tab {
    padding: 11px 12px;
    font-size: 14px;
  }
  .fx__draft {
    margin: 16px 14px 0;
  }
  .fx__body {
    min-height: 150px;
    font-size: 16px;
  }
}
.optional {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* How it works: three steps, each shown by the one thing you click or see. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.step {
  padding: 14px 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.step__show {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--wash);
}
.step h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.step .num {
  flex: none;
  width: 28px;
  height: 28px;
  margin: 0;
  font-size: 14px;
}
.step p {
  margin-top: 6px;
  color: var(--muted);
}
.step__send {
  padding: 9px 24px;
  border-radius: 999px;
  background: #0b57d0;
  color: #fff;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.step__bar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid #d6c7f9;
  border-radius: 8px;
  background: rgb(242 240 254);
  color: #8145df;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step__bar i {
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: #d6c7f9;
}
.step__bar svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step__show {
    height: 96px;
  }
}

/* The pointer that acts out the three steps. */
.steps {
  position: relative;
}
.step {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.step.is-live {
  border-color: var(--violet-line);
  box-shadow: 0 0 0 3px hsl(271 76% 53% / 0.12), var(--shadow);
}
.steps__pointer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.3s ease;
  filter: drop-shadow(0 2px 3px hsl(263 40% 10% / 0.35));
}
.steps__arc {
  display: block;
  width: 100%;
  height: 100%;
}
.steps__arc.is-arc {
  animation: pointer-arc 0.9s cubic-bezier(0.5, 0, 0.2, 1) 1;
}
@keyframes pointer-arc {
  45% {
    transform: translate(4px, -22px) rotate(-4deg);
  }
}
.steps__pointer.is-on {
  opacity: 1;
}
.steps__pointer svg {
  display: block;
  width: 100%;
  height: 100%;
}
.steps__pointer::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  opacity: 0;
}
.steps__pointer.is-click::after {
  animation: pointer-ring 0.5s ease-out 1;
}
@keyframes pointer-ring {
  0% {
    opacity: 0.9;
    transform: scale(0.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.step .is-pressed {
  animation: step-press 0.35s ease-out 1;
}
@keyframes step-press {
  40% {
    transform: scale(0.92);
    filter: brightness(0.9);
  }
}
.step__time {
  min-width: 2.4em;
  font-weight: 600;
  text-align: left;
}
.step__bar.is-counting {
  box-shadow: 0 0 0 4px hsl(271 76% 53% / 0.14);
}
.step__now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 24px;
  margin-left: 6px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 6px;
  background: hsl(0 0% 100% / 0.7);
}
/* Room for two lines under the third card, so the cards do not jump when its message changes. */
#how-it-works .step:nth-child(3) p {
  min-height: 3.2em;
}
.step p.step__value {
  font-weight: 600;
  animation: card-in 0.3s ease-out;
}
.step p.step__value.is-paused {
  color: #8a6a1c;
}
.step p.step__value.is-sent {
  color: hsl(142 60% 28%);
}
button.step__now {
  padding: 0;
  color: inherit;
  cursor: pointer;
}
button.step__now:hover {
  background: #fff;
}
.step__bar.is-paused .step__now {
  animation: bolt-nudge 1.5s ease-in-out infinite;
}
@keyframes bolt-nudge {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsl(40 90% 45% / 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px hsl(40 90% 45% / 0);
  }
}
.step__bar .step__now svg {
  width: 8px;
  height: 14px;
}
.step__bar {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step__bar.is-paused {
  border-color: #f0dba8;
  background: rgb(252 245 228);
  color: #8a6a1c;
  box-shadow: 0 0 0 4px hsl(45 100% 50% / 0.16);
}
.step__bar.is-sent {
  border-color: hsl(142 40% 78%);
  background: hsl(142 60% 96%);
  color: hsl(142 60% 28%);
}

/* Privacy and security reuses the step cards, with a tick where the number goes. */
.step .num svg {
  width: 14px;
  height: 14px;
}
.step__gm {
  width: 62px;
  height: auto;
}
.step__chrome {
  width: 62px;
  height: 62px;
}
.step__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  font-weight: 600;
  box-shadow: 0 6px 18px hsl(271 76% 53% / 0.3);
}
.step__seal svg {
  width: 22px;
  height: 22px;
}

/* How Team works: the step cards without a picture, and three short facts under them. */
.steps--plain .step {
  padding: 26px 22px;
}
.steps--plain .step p {
  margin-top: 10px;
  font-size: 16px;
}
.teamfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.teamfacts b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 760px) {
  .teamfacts {
    grid-template-columns: 1fr;
  }
}

/* Split rows */
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cols--4 {
  grid-template-columns: repeat(4, 1fr);
}
.col p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--violet-wash);
  color: var(--violet-ink);
  font-weight: 700;
}
.said {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.said q {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  quotes: "“" "”";
}
.said p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.plan--main {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-wash);
}
.plan > p.plan__price {
  margin: 10px 0 4px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.plan__price small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan > p {
  color: var(--muted);
  font-size: 16px;
}
.plan ul {
  flex: 1;
  margin: 20px 0 26px;
}
.plan li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 16px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(-45deg);
}
.pill {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 600;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--violet-ink);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
}

/* Closing call */
.close {
  padding: 96px 0;
  text-align: center;
}
.close h2 {
  font-size: clamp(36px, 6vw, 64px);
}
.close p {
  margin: 16px auto 28px;
  max-width: 520px;
  font-size: 19px;
  color: var(--muted);
}

.foot {
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.foot__in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot__note {
  flex-basis: 100%;
}

/* ---------- Text pages (privacy, terms, support, get started) ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 88px;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.doc .updated {
  margin-top: 10px;
  color: var(--faint);
  font-size: 15px;
}
.doc h2 {
  margin-top: 44px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.doc h3 {
  margin-top: 26px;
}
.doc p,
.doc ul,
.doc ol {
  margin-top: 14px;
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc ul {
  list-style: disc;
}
.doc ol {
  list-style: decimal;
}
.doc li + li {
  margin-top: 6px;
}
.doc .intro {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
}
.doc .highlight,
.doc .ai-section,
.doc .contact-box,
.doc .note {
  margin-top: 22px;
  padding: 4px 20px 18px;
  border-radius: var(--radius);
  background: var(--wash);
}
.doc .ai-section h2 {
  margin-top: 16px;
}
.doc .ai-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 600;
}
.doc .btn {
  margin-top: 26px;
  color: #fff;
}

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .compose {
    right: 28px;
  }
  .flags {
    grid-template-columns: 1fr 1fr;
  }
  .cols,
  .cols--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .top__nav {
    display: none;
  }
  .top__in .btn {
    margin-left: auto;
  }
  .hero {
    padding: 64px 0 56px;
  }
  .phone-only {
    display: block;
    max-width: 300px;
    color: var(--violet-ink);
  }
  .sec {
    padding: 60px 0;
  }
  .mail {
    display: block;
    min-height: 0;
  }
  .mail__nav {
    display: none;
  }
  .mail__list {
    min-height: 150px;
  }
  .row {
    grid-template-columns: 1fr auto;
  }
  .row > :nth-child(2) {
    display: none;
  }
  .compose {
    position: static;
    width: auto;
    margin: 0 10px;
    box-shadow: 0 0 0 1px var(--line);
  }
  .slbar__flags {
    order: 9;
    flex-basis: 100%;
    padding-left: 0;
    border-left: 0;
  }
  .slbar__flag {
    flex-basis: 100%;
    align-items: flex-start;
  }
  .slbar__flag > span {
    white-space: normal;
  }
  .slbar__flag::before {
    margin-top: 0.5em;
  }
  .coach,
  .coach--low {
    position: relative;
    top: 0;
    left: 0;
    margin: 4px 10px 12px;
    max-width: none;
  }
  .slpop {
    right: 12px;
  }
  .flags,
  .cols,
  .cols--4,
  .plans {
    grid-template-columns: 1fr;
  }
  .scale__label {
    flex-direction: column;
    gap: 2px;
  }
  .scale__label span {
    text-align: left;
  }
  .foot nav {
    margin-left: 0;
  }
}

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