/* ETasks marketing site: design system 2026 */

:root {
  --bg-deep: #e8f0fe;
  --bg: #f8faff;
  --bg-elevated: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #3d4f66;
  --ink-muted: #6b7c91;
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --accent-soft: rgba(26, 115, 232, 0.12);
  --accent-glow: rgba(26, 115, 232, 0.35);
  --sky: #8ab4f8;
  --sky-wash: #e8f0fe;
  --line: rgba(15, 27, 45, 0.1);
  --shadow: 0 12px 40px rgba(15, 27, 45, 0.08);
  --shadow-soft: 0 4px 18px rgba(15, 27, 45, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;
  --max-narrow: 720px;
  --font-display: "Google Sans Flex", "Google Sans", Figtree, "Segoe UI", system-ui, sans-serif;
  --font-body: "Google Sans Flex", "Google Sans", Figtree, "Segoe UI", system-ui, sans-serif;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
  radial-gradient(1200px 600px at 10% -10%, var(--sky-wash), transparent 55%),
  radial-gradient(900px 500px at 90% 0%, rgba(26, 115, 232, 0.1), transparent 50%),
  linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #eef3fb 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  background: rgba(248, 250, 255, 0.78);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav {
  align-items: center;
}

.site-nav a.site-nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.site-nav a.site-nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Features dropdown (native details, no JS) */

.nav-dropdown {
  position: relative;
  z-index: 1;
}

.nav-dropdown[open] {
  z-index: 220;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.nav-dropdown summary::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  min-width: 250px;
  max-width: min(280px, calc(100vw - 32px));
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.nav-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
}

@media (min-width: 601px) {
  .nav-dropdown-menu {
    left: auto;
    right: -10px;
  }
}

/* Layout shells */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 96px;
}

main.legal,
main.page-narrow {
  max-width: var(--max-narrow);
}

/* Hero */

.hero {
  text-align: center;
  padding: 48px 0 56px;
  animation: hero-in 0.8s ease both;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 20px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink) 20%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-mark--split {
  margin: 0;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 4rem);
}

.brand-mark--split span {
  color: var(--accent);
}

/* Animated black → blue wordmark (hero) */
.brand-mark--animated {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4rem);
  background-image: linear-gradient(
    105deg,
    #0f1b2d 0%,
    #0f1b2d 28%,
    #1a73e8 48%,
    #1a73e8 62%,
    #0f1b2d 82%,
    #0f1b2d 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: brand-color-shift 5.5s ease-in-out infinite;
}

.brand-mark--animated span {
  color: inherit;
  -webkit-text-fill-color: inherit;
  background: none;
}

@keyframes brand-color-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark--animated {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: unset;
    color: var(--ink);
  }

  .brand-mark--animated span {
    -webkit-text-fill-color: unset;
    color: var(--accent);
  }
}

.logo-word {
  color: var(--ink);
}

.logo-word span {
  color: var(--accent);
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}

.hero-brand .hero-icon {
  margin: 0;
}

.hero h1,
.hero .hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 auto 16px;
  color: var(--ink);
  max-width: 20ch;
}

.hero--og {
  padding-bottom: 32px;
}

.home-showcase {
  margin: 0 0 56px;
}

.home-showcase .waitlist-body {
  margin: 0;
}

.hero--og .hero-title .notranslate {
  color: var(--accent);
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
  padding: 0;
  max-width: none;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.hero-pill--free {
  background: #137333;
  border-color: #0d652d;
  color: #fff;
  box-shadow: 0 6px 18px rgba(19, 115, 51, 0.28);
}

.hero--og .hero-title .accent {
  color: var(--accent);
}

.hero .section-label {
  margin-bottom: 12px;
}

.hero .waitlist-subtitle {
  margin-bottom: 14px;
}

.hero .waitlist-highlights {
  margin-bottom: 28px;
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 auto 28px;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--bg-elevated);
  color: var(--ink);
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Sections */

.section {
  margin: 72px 0;
  animation: section-in 0.7s ease both;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 40rem;
}

.section--center {
  text-align: center;
}

.section--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Feature chapters */

.feature-chapter {
  display: grid;
  gap: 28px;
  align-items: center;
  margin: 56px 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 800px) {
  .feature-chapter {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    padding: 36px 40px;
  }

  .feature-chapter--reverse .feature-copy {
    order: 2;
  }

  .feature-chapter--reverse .feature-media {
    order: 1;
  }
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

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

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sky-wash), #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-media img {
  width: 100%;
  height: auto;
}

/* Cards / surfaces */

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.promise-band {
  display: grid;
  gap: 16px;
  margin: 8px 0 48px;
}

@media (min-width: 720px) {
  .promise-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-item {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.promise-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.promise-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Tables */

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

table.data-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data-table th {
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--ink);
  white-space: nowrap;
}

table.data-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  table.data-table {
    font-size: 0.88rem;
    min-width: 32rem;
  }

  table.data-table th,
  table.data-table td {
    padding: 10px 12px;
  }
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* Press / marketing */

.fact-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

@media (min-width: 640px) {
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fact {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.fact dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 4px;
}

.fact dd {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
}

.bullet-block {
  margin: 0;
  padding-left: 1.2rem;
}

.bullet-block li {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

/* Legal */

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  color: var(--ink);
}

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

.legal li {
  margin-bottom: 8px;
}

.legal .notice {
  background: #fff8e6;
  border: 1px solid #ffe08a;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
  margin: 24px 0;
}

.legal code {
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 56px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer .disclaimer {
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.5;
}

/* Footer link columns */

.footer-columns {
  display: grid;
  gap: 24px;
  text-align: left;
  max-width: 820px;
  margin: 0 auto 28px;
}

@media (min-width: 640px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-column p {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.footer-column nav a {
  font-weight: 550;
  font-size: 0.9rem;
}

/* Breadcrumbs */

.breadcrumbs {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ink-muted);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* Landing page helpers */

.feature-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
}

.feature-more-link::after {
  content: "\2192";
}

.related-pages {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

@media (min-width: 720px) {
  .related-pages {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-pages a {
  display: block;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-pages a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.related-pages a span {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.feature-glossary {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

@media (min-width: 720px) {
  .feature-glossary {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-glossary-item {
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.feature-glossary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-glossary-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 720px) {
  .feature-glossary-item {
    padding: 16px 16px 14px;
  }

  .feature-glossary-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 8px;
    border-radius: 7px;
  }

  .feature-glossary-icon svg {
    width: 0.85rem;
    height: 0.85rem;
  }
}

.feature-glossary-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-glossary-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.landing-prose {
  max-width: var(--max-narrow);
}

.landing-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}

.landing-prose p,
.landing-prose li {
  color: var(--ink-soft);
}

.landing-prose ul {
  padding-left: 1.25rem;
}

.landing-prose li {
  margin-bottom: 6px;
}

/* CTA band */

.cta-band {
  text-align: center;
  margin: 64px 0 24px;
  padding: 40px 28px;
  border-radius: calc(var(--radius) + 6px);
  background:
  radial-gradient(600px 200px at 50% 0%, var(--accent-glow), transparent 70%),
  rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 10px;
}

.cta-band p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.cta-band .waitlist-form {
  max-width: 36rem;
  margin: 0 auto;
}

.cta-band .waitlist-privacy {
  margin: 22px auto 0;
  max-width: 28rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-muted);
  opacity: 0.9;
}

.cta-band .waitlist-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Motion */

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes section-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .section {
    animation: none;
  }

  .button:hover {
    transform: none;
  }
}

/* Page title block (inner pages) */

.page-hero {
  padding: 28px 0 12px;
  margin-bottom: 28px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 40rem;
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 8px 14px;
  }

  .site-nav a.site-nav-cta {
    flex: 1 1 100%;
    order: 99;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    text-align: center;
  }

  .hero .cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-row .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .feature-chapter {
    padding: 20px;
  }

  .card {
    padding: 22px 20px;
  }
}

/* Waitlist */

.site-header-inner--minimal {
  justify-content: space-between;
}

.site-translate-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.site-translate {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.site-translate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent);
  pointer-events: none;
  white-space: nowrap;
}

.site-translate-badge svg {
  display: block;
  flex: 0 0 auto;
}

.site-translate #google_translate_element {
  position: absolute;
  inset: 0;
  opacity: 0.01;
  cursor: pointer;
}

.site-translate .goog-te-gadget {
  font-size: 0 !important;
  height: 100%;
  width: 100%;
}

.site-translate .goog-te-gadget > span,
.site-translate .goog-te-gadget .goog-te-gadget-simple,
.site-translate .goog-logo-link,
.site-translate .goog-te-gadget span[style] {
  display: none !important;
}

.site-translate .goog-te-combo {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}

.site-translate-original {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(26, 115, 232, 0.28);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}

.site-translate-original:hover,
.site-translate-original:focus-visible {
  background: rgba(26, 115, 232, 0.18);
  outline: none;
}

.site-translate-original[hidden] {
  display: none !important;
}

/* Hide Google Translate top banner */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate iframe.skiptranslate {
  display: none !important;
}

.waitlist-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 72px;
  overflow: visible;
}

.waitlist-hero {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: stretch;
  overflow: visible;
}

.waitlist-intro {
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.waitlist-intro .section-label,
.waitlist-coming-soon {
  margin-bottom: 12px;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.waitlist-coming-soon,
.waitlist-coming-soon * {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.waitlist-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 auto 14px;
  color: var(--ink);
  max-width: 18ch;
}

.waitlist-intro > .waitlist-highlights {
  margin: 0 auto 14px;
}

.waitlist-why {
  position: relative;
  margin: 0 auto 22px;
  max-width: 42rem;
  text-align: center;
}

button.waitlist-why-trigger {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transform: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button.waitlist-why-trigger:hover,
button.waitlist-why-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  border-color: rgba(26, 115, 232, 0.28);
  outline: none;
}

button.waitlist-why-trigger:active {
  transform: none;
}

button.waitlist-why-trigger::after {
  content: "";
  width: 0.38em;
  height: 0.38em;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
  opacity: 0.75;
}

.waitlist-why.is-revealed .waitlist-why-trigger {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.waitlist-why-details[hidden] {
  display: none;
}

.waitlist-why.is-revealed .waitlist-why-details {
  display: block;
  animation: waitlist-why-in 0.45s ease both;
}

.waitlist-why.is-revealed .waitlist-subtitle {
  margin-bottom: 0;
}

@keyframes waitlist-why-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-why-trigger,
  .waitlist-why.is-revealed .waitlist-why-details {
    animation: none !important;
    transition: none !important;
  }
}

.waitlist-subtitle {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 0;
  max-width: 42rem;
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  font-weight: 550;
  line-height: 1.3;
  color: var(--ink-soft);
}

.waitlist-subtitle-chunk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  margin: 0;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.waitlist-subtitle-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
}

.waitlist-subtitle-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.waitlist-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 22px;
}

.waitlist-highlight {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 6px 18px var(--accent-glow);
}

.waitlist-highlight--free {
  background: #137333;
  border-color: #0d652d;
  color: #fff;
  box-shadow: 0 6px 18px rgba(19, 115, 51, 0.28);
}

.waitlist-intro .waitlist-row {
  justify-content: center;
}

.waitlist-intro .waitlist-privacy {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-body {
  display: grid;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  overflow: visible;
}

@media (min-width: 900px) {
  .waitlist-body {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    grid-template-rows: 1fr auto;
  }

  .waitlist-features-panel,
  .waitlist-visual {
    min-height: 100%;
  }

  .waitlist-devices-panel {
    grid-column: 1 / -1;
  }
}

.waitlist-features-panel {
  position: relative;
  z-index: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
}

.waitlist-features-label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.waitlist-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 900px) {
  .waitlist-features {
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }

  .waitlist-feature--more {
    grid-column: 1 / -1;
  }
}

.waitlist-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.3;
  color: var(--ink);
  transition: background 0.15s ease;
}

.waitlist-features li:hover {
  background: var(--accent-soft);
}

.waitlist-feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: var(--accent);
  background: linear-gradient(160deg, var(--sky-wash), #fff);
  border: 1px solid rgba(26, 115, 232, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.waitlist-feature-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.waitlist-feature--more {
  color: var(--ink-muted);
  font-weight: 600;
}

.waitlist-feature--more .waitlist-feature-icon {
  color: var(--ink-muted);
  background: rgba(15, 27, 45, 0.04);
  border-color: var(--line);
}

.waitlist-feature-more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.waitlist-feature--more:has(.waitlist-feature-more-link:hover),
.waitlist-feature--more:has(.waitlist-feature-more-link:focus-visible) {
  background: var(--accent-soft);
  color: var(--accent);
}

.waitlist-feature--more:has(.waitlist-feature-more-link:hover) .waitlist-feature-icon,
.waitlist-feature--more:has(.waitlist-feature-more-link:focus-visible) .waitlist-feature-icon {
  color: var(--accent);
  background: linear-gradient(160deg, var(--sky-wash), #fff);
  border-color: rgba(26, 115, 232, 0.12);
}

.waitlist-devices-panel {
  padding: 20px 22px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.waitlist-devices {
  margin: 0;
  padding: 0;
  border: 0;
}

.waitlist-devices-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.waitlist-device-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.waitlist-device-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.waitlist-device-icon {
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
}

.waitlist-device-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.waitlist-form {
  margin: 0 0 8px;
}

.waitlist-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.waitlist-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.waitlist-input {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 3rem;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist-input::placeholder {
  color: var(--ink-muted);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-soft);
}

.waitlist-submit {
  flex: 0 0 auto;
  cursor: pointer;
  min-width: 9.5rem;
  min-height: 3rem;
  box-sizing: border-box;
}

.waitlist-submit:disabled,
.waitlist-submit.is-loading {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.waitlist-privacy {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.waitlist-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 0.98rem;
}

.waitlist-status--success {
  background: rgba(34, 140, 90, 0.12);
  color: #0f5c38;
  border: 1px solid rgba(34, 140, 90, 0.28);
}

.waitlist-status--error {
  background: rgba(180, 50, 50, 0.1);
  color: #8a1f1f;
  border: 1px solid rgba(180, 50, 50, 0.25);
}

.waitlist-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 22px 18px 20px;
  overflow: visible;
  background:
    radial-gradient(500px 280px at 50% 28%, rgba(26, 115, 232, 0.18), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 240, 254, 0.55));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
}

.waitlist-visual.is-elevated {
  z-index: 40;
}

.waitlist-visual-label {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.waitlist-visual-hint {
  margin: 16px 0 0;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink-muted);
  opacity: 0.85;
}

.phone-fan-more {
  display: none;
}

body.shot-lightbox-open,
body.phone-fan-open {
  overflow: hidden;
}

.phone-fan-slot {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 0.82;
  margin: 0 auto;
  flex: 0 0 auto;
  z-index: 2;
}

.phone-fan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.phone-frame {
  position: absolute;
  margin: 0;
  width: 52%;
  border-radius: 28px;
  overflow: hidden;
  background: #0f1b2d;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  cursor: zoom-in;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    box-shadow 0.3s ease;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.phone-frame--back {
  left: 0;
  top: 8%;
  transform: rotate(-10deg);
  z-index: 1;
}

.phone-frame--mid {
  left: 24%;
  top: 0;
  transform: rotate(4deg);
  z-index: 3;
  width: 54%;
}

.phone-frame--front {
  left: 48%;
  top: 10%;
  transform: rotate(9deg);
  z-index: 5;
}

.phone-frame--extra {
  opacity: 0;
  pointer-events: none;
  width: 50%;
  top: 6%;
  left: 22%;
  transform: rotate(0deg) scale(0.9);
  z-index: 2;
}

.phone-frame--extra-a {
  left: 10%;
  transform: rotate(-4deg) scale(0.9);
  z-index: 2;
}

.phone-frame--extra-b {
  left: 40%;
  transform: rotate(6deg) scale(0.9);
  z-index: 4;
}

.phone-frame--extra-c {
  left: 28%;
  transform: rotate(2deg) scale(0.9);
  z-index: 3;
}

.phone-frame--extra-d {
  left: 18%;
  transform: rotate(-2deg) scale(0.88);
  z-index: 2;
}

.phone-frame--extra-e {
  left: 34%;
  transform: rotate(5deg) scale(0.88);
  z-index: 3;
}

.phone-frame--extra-f {
  left: 24%;
  transform: rotate(-6deg) scale(0.86);
  z-index: 2;
}

.phone-fan.is-animated .phone-frame--back {
  animation: phone-fan-back 0.85s ease;
}

.phone-fan.is-animated .phone-frame--mid {
  animation: phone-fan-mid 0.85s ease 0.08s both;
}

.phone-fan.is-animated .phone-frame--front {
  animation: phone-fan-front 0.85s ease 0.16s both;
}

@keyframes phone-fan-back {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(-10deg) scale(0.96);
  }
}

@keyframes phone-fan-mid {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(4deg) scale(0.96);
  }
}

@keyframes phone-fan-front {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(9deg) scale(0.96);
  }
}

/*
  Spread (wide): 2 x 4 grid, 8 screens.
  Hide the 8th source shot (agenda) so the grid stays even.
*/
.phone-fan.is-spread {
  inset: auto;
  right: 0;
  top: 50%;
  left: auto;
  width: min(720px, 90vw);
  height: auto;
  transform: translateY(-50%);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px 14px;
  padding: 10px;
  box-sizing: border-box;
  cursor: default;
  animation: phone-spread-panel 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-fan.is-spread .phone-frame {
  position: relative;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: none;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow:
    0 12px 32px rgba(15, 27, 45, 0.16),
    0 0 0 1px rgba(15, 27, 45, 0.06);
  transition: box-shadow 0.2s ease;
  animation: phone-spread-frame 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-fan.is-spread .phone-frame--extra-e {
  display: none;
}

.phone-fan.is-spread .phone-frame--front {
  order: 1;
  z-index: 1;
  animation-delay: 0.02s;
}

.phone-fan.is-spread .phone-frame--extra-c {
  order: 2;
  z-index: 2;
  animation-delay: 0.04s;
}

.phone-fan.is-spread .phone-frame--extra-b {
  order: 7;
  z-index: 7;
  animation-delay: 0.14s;
}

.phone-fan.is-spread .phone-frame--mid {
  order: 4;
  z-index: 4;
  animation-delay: 0.08s;
}

.phone-fan.is-spread .phone-frame--extra-a {
  order: 5;
  z-index: 5;
  animation-delay: 0.1s;
}

.phone-fan.is-spread .phone-frame--back {
  order: 6;
  z-index: 6;
  animation-delay: 0.12s;
}

.phone-fan.is-spread .phone-frame--extra-d {
  order: 3;
  z-index: 3;
  animation-delay: 0.06s;
}

.phone-fan.is-spread .phone-frame--extra-f {
  order: 8;
  z-index: 8;
  animation-delay: 0.16s;
}

.phone-fan.is-spread .phone-frame:hover {
  box-shadow:
    0 16px 40px rgba(15, 27, 45, 0.22),
    0 0 0 1px rgba(26, 115, 232, 0.25);
}

@keyframes phone-spread-panel {
  from {
    opacity: 0.72;
    transform: translateY(-50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes phone-spread-panel-mobile {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes phone-spread-frame {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Quiet fullscreen: same 28px corners as the preview */
.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 27, 45, 0.72);
  cursor: zoom-out;
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 92vh;
  max-width: min(100%, calc(92vh * 0.48));
  object-fit: contain;
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #0f1b2d;
  cursor: default;
}

.shot-lightbox-close,
.shot-lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
}

.shot-lightbox-close {
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  font-size: 1.45rem;
}

.shot-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 300;
}

.shot-lightbox-prev {
  left: max(12px, env(safe-area-inset-left));
}

.shot-lightbox-next {
  right: max(12px, env(safe-area-inset-right));
}

.shot-lightbox-close:hover,
.shot-lightbox-close:focus-visible,
.shot-lightbox-nav:hover,
.shot-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

@media (max-width: 599px) {
  .shot-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }

  .shot-lightbox-prev {
    left: max(8px, env(safe-area-inset-left));
  }

  .shot-lightbox-next {
    right: max(8px, env(safe-area-inset-right));
  }
}

.waitlist-footer {
  padding-top: 24px;
}

@media (max-width: 899px) {
  .waitlist-main {
    padding-top: 16px;
  }

  .waitlist-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .waitlist-visual {
    order: 1;
    height: auto;
    padding: 18px 14px 22px;
  }

  .waitlist-features-panel {
    order: 2;
  }

  .waitlist-devices-panel {
    order: 3;
  }

  .phone-fan-slot {
    width: min(100%, 250px);
  }

  /* Full-page centered spread on mobile: size phones to fit the viewport */
  .phone-fan.is-spread {
    position: fixed;
    inset: 0;
    right: 0;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    transform: none;
    z-index: 300;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(4, auto);
    place-content: center;
    place-items: center;
    align-content: center;
    justify-content: center;
    gap: 8px 10px;
    padding:
      max(16px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    background: rgba(15, 27, 45, 0.42);
    overflow: auto;
    overscroll-behavior: contain;
    animation: phone-spread-panel-mobile 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .phone-fan.is-spread .phone-frame--extra-e {
    display: none;
  }

  .phone-fan.is-spread .phone-frame {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: min(20dvh, 150px);
    max-height: calc((100dvh - 88px) / 4);
    aspect-ratio: 552 / 1200;
    margin: 0;
    border-radius: 14px;
    border-width: 2px;
    overflow: hidden;
    transform: none !important;
  }

  .phone-fan.is-spread .phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

@media (hover: none) {
  .waitlist-visual-hint {
    display: none;
  }

  .waitlist-visual-hint--touch {
    display: block;
  }

  .phone-fan-more {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    margin: 0;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
  }

  .phone-fan-more::after {
    content: "";
    width: 0.38em;
    height: 0.38em;
    margin-top: -2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .phone-fan-more:hover,
  .phone-fan-more:focus-visible {
    background: #fff;
    border-color: rgba(26, 115, 232, 0.35);
    box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-soft);
    outline: none;
  }

  body.phone-fan-open .phone-fan-more {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 320;
    background: #fff;
    color: var(--ink);
  }

  body.phone-fan-open .phone-fan-more::after {
    transform: rotate(45deg);
    margin-top: 1px;
  }
}

@media (hover: hover) {
  .waitlist-visual-hint--touch {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame,
  .phone-fan {
    animation: none !important;
    transition: none !important;
  }
}

/* Waitlist admin */

.admin-main {
  padding-bottom: 64px;
}

.admin-toolbar .admin-count {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.admin-toolbar .admin-count strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.admin-table {
  margin: 0;
}

.admin-invite-cell {
  text-align: center;
  width: 8.5rem;
}

.admin-invite-form {
  margin: 0;
  display: flex;
  justify-content: center;
}

.admin-invite-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.admin-invite-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.admin-invite-check span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-invite-check span::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px) scale(0);
  transition: transform 0.12s ease;
}

.admin-invite-check input:checked + span {
  background: #137333;
  border-color: #0d652d;
}

.admin-invite-check input:checked + span::after {
  transform: rotate(-45deg) translateY(-1px) scale(1);
}

.admin-invite-check input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.admin-row--invited td:nth-child(2) {
  color: var(--ink-muted);
}

.admin-login-form .waitlist-status {
  margin-bottom: 16px;
}

.admin-main code {
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
