/* Plans, Get the app, Help, Legal and Not found page layouts. */

/* ------------------------------------------------------------------ plans */

.plans-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.plans-wrap--narrow {
  max-width: 880px;
  padding-top: 24px;
}
.plans-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.plans-band {
  background: var(--bg-alt);
}
.plans-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.plans-title,
.start-title,
.help-title {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.03em;
}
.plans-lead,
.help-lead,
.start-lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
}
.plans-lead {
  max-width: 640px;
}
.plans-h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
}
.plans-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.plans-intro-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.plans-fine {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  font-size: 15px;
  line-height: 23px;
  color: var(--text-2);
}

.plans-founding {
  max-width: calc(880px + 2 * var(--gutter));
  margin: 32px auto 0;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1.5px solid var(--primary);
  background: var(--primary-tint);
  border-radius: var(--r-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  width: calc(100% - 2 * var(--gutter));
}
.plans-founding__text {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plans-founding__text h2 {
  font-size: 18px;
}
.plans-founding__text p {
  font-size: 15px;
  line-height: 23px;
}
.plans-founding__left {
  flex: 0 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plans-founding__count {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary-hover);
}
.plans-founding__bar {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  overflow: hidden;
}
.plans-founding__bar::-webkit-progress-bar {
  background: #FFFFFF;
}
.plans-founding__bar::-webkit-progress-value {
  background: var(--primary);
  border-radius: 999px;
}
.plans-founding__bar::-moz-progress-bar {
  background: var(--primary);
  border-radius: 999px;
}

.plans-toggle {
  display: flex;
  justify-content: center;
  padding: 32px 16px 0;
}
.plans-toggle .segmented {
  align-self: center;
}
.plans-wrap[aria-label="Plans"] {
  padding-top: 28px;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.plans-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}
.plans-card {
  gap: 16px;
  padding: 28px;
  min-width: 0;
}
.plans-card.plan-card--selected {
  padding: 27px;
  box-shadow: 0 12px 28px rgba(43, 92, 255, .12);
}
.plans-card--trial {
  background: var(--bg-alt);
  border-color: transparent;
}
.plans-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plans-card__head h2 {
  font-size: 22px;
}
.plans-card__head p {
  font-size: 15px;
  color: var(--text-2);
}
.plans-card .price__amount {
  font-size: 40px;
  line-height: 44px;
}
.plans-card .price__per {
  font-size: 16px;
  color: var(--text-2);
}
.plans-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 76px;
}
.plans-price .price-note {
  margin-top: 0;
  line-height: 20px;
}
.plans-chip {
  background: var(--primary-tint);
  color: var(--primary-hover);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.plans-branches {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plans-branches__note {
  font-size: 13px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.plans-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
}
.plans-features li {
  display: flex;
  gap: 10px;
}
.plans-check {
  color: var(--success-dot);
  stroke-width: 2.5;
  margin-top: 1px;
}
.plans-card__cta {
  margin-top: auto;
}
.plans-signin {
  max-width: 1040px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
}

.plans-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.plans-step,
.plans-info {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-small);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plans-step h3,
.plans-info h3 {
  font-size: 17px;
  margin-top: 4px;
}
.plans-info h3 {
  margin-top: 0;
}
.plans-step p,
.plans-info p {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}
.plans-step__n {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plans-step__n--soft {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}
.plans-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}

.plans-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-small);
}
.plans-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 22px;
}
.plans-table th,
.plans-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: top;
}
.plans-table tbody tr:last-child th,
.plans-table tbody tr:last-child td {
  border-bottom: 0;
}
.plans-table thead th {
  font-weight: 800;
  background: var(--bg);
}
.plans-table thead th:first-child {
  width: 40%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}
.plans-table tbody th {
  font-weight: 600;
}
.plans-table .plans-table__pro {
  color: var(--primary-hover);
}
.plans-yes {
  display: inline-flex;
  color: var(--success-dot);
}
.plans-yes .icon {
  stroke-width: 2.5;
}
.plans-no {
  color: var(--text-2);
}

.plans-methods {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-small);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.plans-methods__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
.plans-methods__label .icon {
  color: var(--primary);
}
.plans-methods__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plans-methods__list li {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}
.plans-methods__note {
  font-size: 14px;
  color: var(--text-2);
}

.plans-faq {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.plans-faq__head {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plans-faq__head p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
}
.plans-faq__list {
  flex: 2 1 560px;
  min-width: 0;
}
.plans-faq__list .faq summary {
  min-height: 64px;
  font-size: 17px;
  line-height: 24px;
}
.plans-faq__list .faq details > p {
  font-size: 16px;
  line-height: 25px;
  max-width: 640px;
}

/* ------------------------------------------------------------------ get the app */

.start-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.start-main {
  flex: 1.2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.start-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.start-head .start-lead {
  max-width: 560px;
}
.start-soon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warning-tint);
  color: var(--warning);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
}
.start-soon > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--warning-dot);
}
.start-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.start-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.start-step > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}
.start-step__n {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start-step__title {
  font-size: 17px;
  font-weight: 800;
}
.start-step__body {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}
/* The stores' own badges, one height for both (stores.ts). Containers keep a
   quarter of that height clear around them. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.store-badge {
  display: inline-block;
  border-radius: 8px;
}
.store-badge img {
  display: block;
  width: auto;
  height: 48px;
}
.store-credits {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-3);
}
.start-early {
  background: var(--primary-tint);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.start-early h2 {
  font-size: 20px;
}
.start-early p {
  font-size: 15px;
  line-height: 23px;
}
.start-early__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.start-early__actions .icon {
  width: 18px;
  height: 18px;
}
.start-early__actions .button {
  white-space: normal;
}
.start-signin {
  font-size: 15px;
  color: var(--text-2);
  border-top: 1px solid var(--divider);
  padding-top: 20px;
}
.start-shot {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.start-shot__frame {
  width: min(100%, 440px);
  border-radius: 32px;
  background: var(--primary-tint);
  padding: 40px 0 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.start-shot__phone {
  width: min(66%, 280px);
  aspect-ratio: 1206 / 2200;
  border-radius: 40px 40px 0 0;
  background: var(--text);
  padding: 9px 9px 0;
}
.start-shot__phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 32px 32px 0 0;
}

/* ------------------------------------------------------------------ help */

.help-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.help-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.help-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.help-h2 {
  font-size: 22px;
}
.help-h2--lg {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.help-section:last-child {
  gap: 24px;
}
.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.help-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.help-card:hover {
  border-color: var(--primary);
  color: var(--text);
}
.help-card .icon {
  color: var(--primary);
}
.help-card__title {
  font-size: 18px;
  font-weight: 800;
}
.help-card__body {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}
.help-card__value {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-hover);
  overflow-wrap: anywhere;
}
.help-card--primary,
.help-card--primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}
.help-card--primary:hover {
  background: var(--primary-hover);
}
.help-card--primary .icon,
.help-card--primary .help-card__body,
.help-card--primary .help-card__value {
  color: #FFFFFF;
}
.help-owner {
  background: var(--bg-alt);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.help-owner__text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.help-owner__text h2 {
  font-size: 20px;
}
.help-owner__text p {
  font-size: 15px;
  line-height: 23px;
  color: var(--text-2);
}
.help-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 32px 48px;
  align-items: start;
}
.help-group__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-2);
}
.help-more {
  font-size: 15px;
  color: var(--text-2);
}

/* ------------------------------------------------------------------ legal */

.legal-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1.5px solid var(--divider);
}
.legal-tabs a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin-bottom: -1.5px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-2);
  border-bottom: 2.5px solid transparent;
}
.legal-tabs a:hover {
  color: var(--text);
}
.legal-tabs a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--primary);
}
.legal-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: flex-start;
}
.legal-toc {
  flex: 1 1 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc h2 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-2);
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid var(--divider);
}
.legal-toc a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--primary);
}
.legal-doc {
  flex: 999 1 520px;
  min-width: 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal-layout--single .legal-doc {
  flex-basis: 100%;
}
.legal-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.legal-meta {
  font-size: 15px;
  color: var(--text-2);
}
.legal-intro {
  font-size: 17px;
  line-height: 28px;
}
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
}
.legal-section h2 {
  margin: 12px 0 0;
  font-size: 22px;
  line-height: 28px;
}
.legal-body {
  font-size: 17px;
  line-height: 28px;
  color: var(--text-2);
  white-space: pre-line;
}
.legal-list {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 28px;
  color: var(--text-2);
}
.legal-contact {
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
}

@media print {
  .site-header,
  .site-footer,
  .owner-header,
  .owner-footer,
  .skip-link,
  .legal-tabs,
  .legal-toc {
    display: none !important;
  }
  .legal-page {
    padding: 0;
  }
  .legal-doc {
    max-width: none;
  }
  .legal-section {
    break-inside: avoid;
  }
}

/* ------------------------------------------------------------------ not found and errors */

.nf-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}
.nf-box {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.nf-box--error {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 40px);
}
.nf-code {
  font-size: clamp(64px, 10vw, 96px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.nf-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-card);
  background: var(--danger-tint);
  color: var(--danger-dot);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-icon .icon {
  width: 34px;
  height: 34px;
}
.nf-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.nf-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.nf-sub {
  font-size: 15px;
  color: var(--text-2);
}

@media (prefers-reduced-motion: reduce) {
  .plans-page *,
  .start-page *,
  .help-page * {
    transition: none !important;
    animation: none !important;
  }
}

/* Beta entry: one short card per phone, side by side when they fit. */
.beta-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}
.beta-form,
.start-after,
.start-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.beta-platform {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.beta-platform__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.beta-platform h2,
.start-after h2,
.start-contact h2,
.beta-next h2 {
  font-size: 20px;
  line-height: 28px;
}
.beta-platform__via {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-2);
}
.beta-platform__body,
.beta-note,
.beta-unavailable {
  color: var(--text-2);
  font-size: 15px;
  line-height: 24px;
}
/* The cards in a row share a height; their actions line up at the bottom. */
.beta-platform__action {
  margin-top: auto;
}
.beta-platform__action .button {
  white-space: normal;
}
.beta-platform__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--r-control);
}
.beta-form .button {
  white-space: normal;
}
/* Turnstile, centred: 300 × 65, or 150 × 140 where the form is under 300 px (app.ts). */
.beta-robot {
  display: flex;
  justify-content: center;
  min-height: 65px;
}
.beta-robot[data-size="compact"] {
  min-height: 140px;
}
.beta-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--r-control);
  background: var(--success-tint);
  font-size: 15px;
  line-height: 24px;
}
.beta-success h3 {
  font-size: 18px;
  line-height: 26px;
}
.beta-success__mark {
  color: var(--success);
}
.start-contact .strong-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

/* Android beta request (/android): the form, and what happens after it beside it. */
.beta-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.beta-page .start-head {
  max-width: 720px;
}
.beta-page__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 48px);
}
.beta-card {
  flex: 1.3 1 440px;
  min-width: 0;
  max-width: 640px;
}
.beta-next {
  flex: 1 1 300px;
  min-width: 0;
  background: var(--bg-alt);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.beta-next__other {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
@media (max-width: 420px) {
  .beta-platform {
    padding: 16px;
  }
}
/* On a phone the form sits on the page, so the usual robot check fits a 360-px screen. */
@media (max-width: 480px) {
  .beta-card {
    padding: 0;
    border: 0;
    border-radius: 0;
  }
}
