@font-face {
  font-family: 'Authy Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Authy Regular'), url('Authy Regular.woff') format('woff');
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #111111;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --line: rgba(0, 0, 0, 0.1);
  --statement-1: #111111;
  --statement-2: #6a6a6a;
  --statement-3: #9a9a9a;
  --lead: #222222;
  --frame: #f3f3f1;
  --frame-line: rgba(0, 0, 0, 0.08);
  --frame-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --try-bg: #111111;
  --try-text: #ffffff;
  --try-hover: #2a2a2a;
  --email-bg: #e6e6e6;
  --email-text: #111111;
  --email-hover: #d7d7d7;
  --footer: #6d6d6d;
  --footer-link: #111111;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #090909;
    --text: #f4f4f2;
    --muted: #9a9a9a;
    --faint: #8a8a8a;
    --line: rgba(255, 255, 255, 0.1);
    --statement-1: #f7f7f5;
    --statement-2: #9a9a9a;
    --statement-3: #646464;
    --lead: #d7d7d4;
    --frame: #141414;
    --frame-line: rgba(255, 255, 255, 0.08);
    --frame-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    --try-bg: #ffffff;
    --try-text: #111111;
    --try-hover: #f3f1ea;
    --email-bg: #6b6b6b;
    --email-text: #ffffff;
    --email-hover: #7d7d7d;
    --footer: #6d6d6d;
    --footer-link: #c8c8c6;
  }
}

html {
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 2.25rem;
  background: var(--bg);
}

.header-logo {
  font-family: 'Authy Regular', serif;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 1;
  justify-self: start;
  color: var(--text);
}

.header-nav {
  display: flex;
  gap: 1.6rem;
  justify-self: center;
}

.header-nav a {
  font-size: 0.92rem;
  color: var(--faint);
}

.header-nav a:hover,
.header-nav a.is-active {
  color: var(--text);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-try,
.header-cta {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.header-try,
.hero-try {
  background: var(--try-bg);
  color: var(--try-text);
}

.header-try:hover,
.hero-try:hover {
  background: var(--try-hover);
}

.header-cta {
  background: var(--email-bg);
  color: var(--email-text);
}

.header-cta:hover {
  background: var(--email-hover);
}

.hero-try {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
}

.view {
  width: min(1080px, calc(100% - 4.5rem));
  margin: 0 auto;
  padding: 6.5rem 0 1.25rem;
}

.view[hidden] {
  display: none;
}

.statement {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-size: clamp(1.7rem, 4.5vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.page-title {
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero .page-title,
.prose .page-title,
#pricing > .page-title {
  margin-bottom: 0;
}

.hero .statement {
  margin-top: 2.25rem;
}

.hero-pitch {
  margin-top: 2.25rem;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-pitch span {
  color: var(--statement-2);
}

.features-kicker {
  margin-top: 2.25rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-pitch.features-steps {
  margin-top: 0.75rem;
}

.features-steps span {
  display: block;
}

.features-heading {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.features-heading + .closer {
  margin-top: 2.25rem;
}

.features-points {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  list-style: none;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.features-steps span:nth-child(1) {
  color: var(--statement-1);
}

.features-steps span:nth-child(3) {
  color: var(--statement-3);
}

.statement span:nth-child(1) {
  color: var(--statement-1);
}

.statement span:nth-child(2) {
  color: var(--statement-2);
}

.statement span:nth-child(3) {
  color: var(--statement-3);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-frame {
  align-self: stretch;
  margin-top: 2.25rem;
  padding: 0.75rem;
  background: var(--frame);
  border: 1px solid var(--frame-line);
  border-radius: 22px;
  box-shadow: var(--frame-shadow);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.closer {
  align-self: stretch;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  margin-top: 1.25rem;
  padding: clamp(3.25rem, 8vw, 5.75rem) clamp(1.5rem, 6vw, 4.5rem);
  border: 1px solid var(--frame-line);
  border-radius: 22px;
  text-align: center;
}

.closer-kicker {
  font-size: 0.95rem;
  color: var(--muted);
}

.closer h2 {
  max-width: 14em;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.closer p:last-child {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.closer p.statement {
  max-width: none;
  width: 100%;
  margin-top: 0;
  align-items: center;
  text-align: center;
  font-size: clamp(1.35rem, 5.05cqi, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: inherit;
}

.closer p.statement span {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .closer p.statement span {
    white-space: normal;
  }
}

.lead {
  max-width: 38rem;
  margin-top: 1.75rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--lead);
}

.about-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  margin-top: 3.5rem;
}

.about-wide {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-top: 0;
}

.about-wide > .lead {
  max-width: none;
  margin-top: 0;
}

.about-wide h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.about-wide ul {
  list-style: none;
}

.about-wide li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.team {
  margin-top: 1.75rem;
}

.team h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 16.5rem));
  gap: 2.5rem 3rem;
  margin-top: 1.5rem;
}

.headshot {
  position: relative;
  width: min(100%, 16.5rem);
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  background: var(--frame);
  border: 1px solid var(--frame-line);
  border-radius: 18px;
  overflow: hidden;
}

.headshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headshot svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: auto;
  transform: translate(-50%, -50%);
  color: var(--muted);
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.team p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

#how-it-works > .lead {
  max-width: 52rem;
}

.how-block {
  margin-top: 3.5rem;
}

.how-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.how-copy {
  margin-top: 1.15rem;
}

.how-copy p + p {
  margin-top: 0.85rem;
}

.how-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.how-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.how-block .hero-frame {
  margin-top: 1.35rem;
}

.road-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.road-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.5rem 2.75rem 2.5rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.road-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.road-cell h2 {
  font-size: 1.125rem;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.55;
}

.road-copy p {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.road-copy .road-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text);
}

.road-status span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3b82f6;
}

.road-status.is-prototyped span {
  background: #3d9a6a;
}

.road-status.is-future span {
  background: #8a8a8a;
}

.price-table-wrap {
  margin-top: 3.5rem;
  border: 1px solid var(--frame-line);
  border-radius: 22px;
  padding: 0.5rem 1.75rem 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.price-table thead td {
  width: clamp(8rem, 14vw, 11rem);
}

.price-table thead th {
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: left;
  vertical-align: bottom;
}

.price-table h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  overflow-wrap: anywhere;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-table tbody th,
.price-table tbody td {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.45;
}

.price-table tbody th {
  padding-left: 0;
  color: var(--text);
  font-weight: 500;
}

.price-table tbody td {
  color: var(--muted);
}

.price-line + .price-line {
  display: block;
  margin-top: 0.45rem;
}

.price-tabs {
  display: none;
}

.price-none {
  color: var(--faint);
}

.price-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--email-bg);
  color: var(--email-text);
  font-size: 0.9rem;
  font-weight: 400;
  white-space: nowrap;
}

.price-cta:hover {
  background: var(--email-hover);
}

.price-cta.is-primary {
  background: var(--try-bg);
  color: var(--try-text);
}

.price-cta.is-primary:hover {
  background: var(--try-hover);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.35rem 2.25rem 1.25rem;
  color: var(--footer);
  font-size: 0.82rem;
}

.footer-place {
  grid-column: 1;
  justify-self: start;
}

.footer-logo {
  grid-column: 2;
  font-family: 'Authy Regular', serif;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 1;
  justify-self: center;
  color: var(--text);
}

.footer-links {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem 1.15rem;
  justify-self: end;
}

.footer-links a {
  color: var(--footer-link);
}

.footer-links a:hover {
  color: var(--text);
}

.legal {
  max-width: 40rem;
}

.legal .page-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.legal-updated {
  margin-top: 1.35rem;
  color: var(--faint);
  font-size: 0.95rem;
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.legal p,
.legal li {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal ul {
  margin-top: 0.35rem;
  padding-left: 1.15rem;
}

.legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal strong {
  color: var(--text);
  font-weight: 500;
}

.legal-table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.legal-table thead th {
  color: var(--faint);
  font-size: 0.85rem;
  font-weight: 500;
}

.legal-table tbody th {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 640px) {
  .legal-table thead {
    display: none;
  }

  .legal-table tr {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-table th,
  .legal-table td {
    display: block;
    padding: 0.15rem 0;
    border-bottom: 0;
  }

  .legal-table td::before {
    content: attr(data-label) ": ";
    color: var(--faint);
  }

  .legal-table td:empty {
    display: none;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cta"
      "nav nav";
    row-gap: 0.6rem;
    padding: 0.8rem 1.15rem 0.7rem;
  }

  .header-logo {
    grid-area: logo;
  }

  .header-actions {
    grid-area: cta;
  }

  .hero-frame {
    padding: 0.45rem;
    border-radius: 16px;
  }

  .hero-frame img {
    border-radius: 12px;
  }

  .header-nav {
    grid-area: nav;
    justify-self: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    flex: none;
    font-size: 0.85rem;
  }

  .how-block {
    margin-top: 2.5rem;
  }

  .view {
    width: calc(100% - 2.3rem);
    padding: 3.25rem 0 1rem;
  }

  .about-pair {
    display: block;
    margin-top: 2.75rem;
  }

  .about-wide {
    display: block;
  }

  .about-wide + .about-wide {
    margin-top: 2.75rem;
  }

  .about-wide h2 {
    margin-top: 1.75rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }

  .headshot {
    width: 100%;
    margin-bottom: 0.75rem;
    border-radius: 14px;
  }

  .team h3 {
    font-size: 0.98rem;
  }

  .team p {
    font-size: 0.9rem;
  }

  .road-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .road-cell {
    padding: 1.75rem 1.25rem;
  }

  .price-table-wrap {
    margin-top: 2rem;
    padding: 0.5rem 1.15rem 0.75rem;
  }

  .price-tabs {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0 0.25rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: var(--frame);
  }

  .price-tabs button {
    flex: 1;
    padding: 0.55rem 0.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .price-tabs button[aria-selected="true"] {
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .price-table,
  .price-table thead,
  .price-table tbody {
    display: block;
  }

  .price-table thead tr {
    display: block;
  }

  .price-table thead td {
    display: none;
  }

  .price-table thead th {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0 1rem;
  }

  .price-table h2 {
    font-size: 1.6rem;
  }

  .price-table thead .price-cta {
    margin-top: 0;
  }

  .price-table tbody tr {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    column-gap: 1rem;
    border-top: 1px solid var(--line);
  }

  .price-table tbody th,
  .price-table tbody td {
    padding: 0.8rem 0;
    border-top: 0;
    font-size: 0.92rem;
  }

  .price-table-wrap[data-view="Free"] [data-plan]:not([data-plan="Free"]),
  .price-table-wrap[data-view="Pro"] [data-plan]:not([data-plan="Pro"]),
  .price-table-wrap[data-view="Enterprise"] [data-plan]:not([data-plan="Enterprise"]) {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
    padding: 0.35rem 1.15rem 1.25rem;
    text-align: center;
  }

  .footer-place,
  .footer-logo,
  .footer-links {
    grid-column: 1;
    justify-self: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Home page */
.home {
  display: flex;
  flex-direction: column;
}

.home-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-kicker,
.home-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-headline {
  margin-top: 1rem;
  max-width: 12em;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.home-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--email-bg);
  color: var(--email-text);
}

.home-btn:hover {
  background: var(--email-hover);
}

.home-btn.is-primary {
  background: var(--try-bg);
  color: var(--try-text);
}

.home-btn.is-primary:hover {
  background: var(--try-hover);
}

.home-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--faint);
}

.home-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--frame);
  border: 1.5px dashed var(--line);
  border-radius: 18px;
}

.home-placeholder.is-hero {
  margin-top: 3rem;
  aspect-ratio: 16 / 8;
}

.home-placeholder-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.home-placeholder p {
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-section {
  margin-top: clamp(5rem, 11vw, 8rem);
}

.home-h2 {
  margin-top: 0.75rem;
  max-width: 18em;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-card {
  padding: 1.75rem;
  border: 1px solid var(--frame-line);
  border-radius: 18px;
}

.home-card h3,
.home-step h3,
.home-case h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.home-card p,
.home-case p:not(.home-case-tag) {
  margin-top: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-card a {
  display: block;
  margin-top: 0.75rem;
  color: var(--text);
}

.home-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5rem);
  margin-top: 3rem;
}

.home-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.home-step:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.home-step:nth-child(even) .home-step-copy {
  order: 2;
}

.home-step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--try-bg);
  color: var(--try-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.home-step h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.025em;
}

.home-step ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.25rem;
  list-style: none;
}

.home-step li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-step li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--faint);
}

.home-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.home-case-tag {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.home-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(5rem, 11vw, 8rem);
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border: 1px solid var(--frame-line);
  border-radius: 22px;
  text-align: center;
}

.home-cta .home-h2 {
  margin-top: 0;
}

.home-cta .home-actions {
  justify-content: center;
}

@media (max-width: 800px) {
  .home-cards,
  .home-cases,
  .home-step,
  .home-step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-step:nth-child(even) .home-step-copy {
    order: 0;
  }

  .home-placeholder.is-hero {
    aspect-ratio: 4 / 3;
  }
}

/* Inner pages */
.home-hero.is-page .home-headline {
  max-width: 14em;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.section-sub {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-step-copy .section-sub {
  font-size: 1.05rem;
}

.home-section.is-first {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.home-placeholder.is-wide {
  margin-top: 2.5rem;
  aspect-ratio: 16 / 7;
}

.home-section {
  scroll-margin-top: 6rem;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.jump-links a {
  padding: 0.55rem 1rem;
  border: 1px solid var(--frame-line);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

.jump-links a:hover {
  background: var(--frame);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--frame);
  border-radius: 16px;
}

.chip-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.chip-list li {
  padding: 0.35rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--frame-line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.split .home-h2 {
  max-width: 10em;
}

.split-copy p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}

.split-copy p + p {
  margin-top: 1rem;
}

.home .team-grid {
  margin-top: 2.5rem;
}

.faq dl {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq dl > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.5rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.faq dt {
  font-weight: 500;
  line-height: 1.45;
}

.faq dd {
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 800px) {
  .split,
  .faq dl > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-placeholder.is-wide {
    aspect-ratio: 4 / 3;
  }
}

.home .team .home-h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-hero-frame {
  margin-top: 3rem;
}

/* Today vs Subtext */
.compare {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.35rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.4;
}

.compare-head {
  padding: 0.9rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.compare-old {
  color: var(--faint);
}

.compare-new {
  font-weight: 500;
}

.home-step-copy h3 + ul {
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .compare-head {
    display: none;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .compare-old::before {
    content: 'PowerPoint: ';
  }
}

.home-step-copy .home-h2 {
  margin-top: 0;
}

.home-step-copy .home-h2 + ul {
  margin-top: 1.25rem;
}

/* Home additions */
.home-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.moments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
}

.chip-row.is-grouped {
  flex-direction: column;
  align-items: flex-start;
}

.chip-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1.1rem 1.5rem;
  width: 100%;
}

.chip-group-label {
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.type-line {
  min-height: 2.2em;
}

.type-word {
  color: var(--statement-2);
}

.type-cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.95em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: type-blink 1s steps(1) infinite;
}

@keyframes type-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-cursor {
    animation: none;
  }
}

/* Features page */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.feature .home-placeholder {
  aspect-ratio: 16 / 10;
}

.feature-copy {
  margin-top: 1.1rem;
}

.feature-copy h3 {
  display: inline;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.feature-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--frame-line);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
  vertical-align: 0.15em;
}

.feature-copy p {
  margin-top: 0.45rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* About: team */
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 44rem;
  margin-top: 2rem;
}

.person-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--frame);
  border: 1px solid var(--frame-line);
  border-radius: 18px;
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  margin-top: 1.1rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.person p {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 520px) {
  .people {
    gap: 1rem;
  }

  .person h3 {
    font-size: 1.05rem;
  }

  .person p {
    font-size: 0.92rem;
  }
}

/* Consistency across pages */
.view {
  padding-bottom: clamp(4rem, 9vw, 6.5rem);
}

.legal {
  max-width: none;
}

.legal > * {
  max-width: 44rem;
}

.legal .page-title {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.legal-updated {
  margin-top: 1.5rem;
}

.legal h2 {
  margin-top: 3rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.price-table-wrap {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.price-cta {
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.compare-head p:nth-child(2) {
  color: var(--text);
}

/* Home hero video */
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 520;
  border-radius: 14px;
  background: var(--bg);
}

/* Features: real screenshots */
.feature-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--frame-line);
  border-radius: 18px;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-shot.is-fit img {
  object-fit: contain;
}

.home-sub-typing {
  min-height: 3em;
}

.home-sub-typing .type-word {
  color: var(--text);
}

@media (max-width: 640px) {
  .home-sub-typing {
    min-height: 4.5em;
  }
}

/* Narrow pages: centre the reading column */
.view.legal,
#about.view {
  width: min(48rem, calc(100% - 4.5rem));
}

.legal > * {
  max-width: none;
}

#about .people {
  max-width: none;
}

@media (max-width: 720px) {
  .view.legal,
  #about.view {
    width: calc(100% - 2.3rem);
  }
}

/* Typing line: use the full width so it stays on one line where there is room */
.home-sub.home-sub-typing {
  max-width: none;
  min-height: 1.5em;
}

@media (max-width: 900px) {
  .home-sub.home-sub-typing {
    min-height: 3em;
  }
}

@media (max-width: 640px) {
  .home-sub.home-sub-typing {
    min-height: 4.5em;
  }
}

.home-cta .home-h2.type-line {
  max-width: none;
}

.price-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}

/* FAQ: expandable questions */
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--muted);
}

.faq-item p {
  max-width: 46rem;
  padding: 0 2rem 1.3rem 0;
  line-height: 1.6;
  color: var(--muted);
}

.faq-item p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-group {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.faq-group + .faq-list {
  margin-top: 0.75rem;
}

/* FAQ: collapsible categories */
.faq-cat {
  border-bottom: 1px solid var(--line);
}

.faq-cat:first-of-type {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq-cat > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-cat > summary::-webkit-details-marker {
  display: none;
}

.faq-cat > summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
}

.faq-cat[open] > summary::after {
  content: '−';
}

.faq-count {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}

.faq-cat .faq-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  border-top: 0;
}

.faq-cat .faq-item:last-child {
  border-bottom: 0;
}
