/* Nuverian's product page: native app captures, with the existing brand and system type. */
.home {
  --maxw: 1280px;
  --bg: #fcfcfd;
  --surface: #f0f1f5;
  --text: #191a22;
  --text-muted: #484b59;
  --text-faint: #565967;
  --brand: #4338ca;
  --brand-strong: #3730a3;
  --brand-soft: #eeedfc;
  --on-brand: #fff;
  --display: clamp(3.5rem, 7vw, 6.25rem);
  --heading: clamp(2.25rem, 4.5vw, 4rem);
  --lead: 1.25rem;
  --body: 1rem;
  --small: .875rem;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  font-size: var(--body);
}

.home .container, .home .site-header .inner { padding-inline: 32px; }
.home a { text-underline-offset: 5px; }
.home a:focus-visible, .home summary:focus-visible, .home .view-radio:focus-visible + label {
  outline: 3px solid var(--brand);
  outline-offset: 5px;
}
.home section[id] { scroll-margin-top: 100px; }
.home .sr-only, .home .view-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.home .skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
}
.home .skip-link:focus { transform: none; }
.home .site-header {
  background: var(--bg);
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home .site-header .inner { min-height: 88px; }
.home .logo { font-size: var(--lead); }
.home .logo svg { width: 36px; height: 36px; }
.home .site-nav { gap: 28px; }
.home .site-nav a { color: var(--text); font-size: var(--body); }
.home .site-nav a:hover { text-decoration: underline; }

.home .hero { padding: 64px 0 0; text-align: left; }
.home .hero-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; }
.home .hero h1 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: var(--display);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
}
.home .hero .sub {
  max-width: 38ch;
  margin: 0 0 28px;
  color: var(--text);
  font-size: var(--lead);
  line-height: 1.5;
}
.home .store-badge {
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--lead);
  transition: transform 180ms var(--motion-ease), background-color 180ms ease;
}
.home .store-badge small { font-size: var(--small); opacity: 1; }
.home .store-badge:hover { opacity: 1; background: var(--brand-strong); transform: translateY(-2px); }
.home .store-badge:active { transform: translateY(1px); }
.home .clouds { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; margin-top: 56px; align-items: start; }
.home .clouds p { max-width: 16ch; font-size: var(--lead); line-height: 1.3; font-weight: 600; }
.home .clouds ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; }
.home .clouds li { font-size: var(--body); line-height: 1.4; }

.home h2 { font-size: var(--heading); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.home h3 { font-size: var(--lead); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.home p { max-width: 60ch; }
.home .layout-section, .home .features-section, .home .pricing-section, .home .help-section { padding-block: 140px 0; }
.home .layout-section { padding-top: 64px; }
.home .layout-grid { display: grid; grid-template-columns: 1fr 1.9fr; grid-template-rows: auto 1fr; grid-template-areas: "title preview" "copy preview"; gap: 28px 64px; align-items: start; }
.home #duo-title { grid-area: title; }
.home .layout-copy { grid-area: copy; }
.home .layout-copy p { margin-bottom: 20px; color: var(--text); }
.home .text-link { display: inline-block; margin-top: 12px; font-weight: 600; color: inherit; }
.home .text-link:hover { text-decoration: underline; }
.home .layout-picker { grid-area: preview; min-width: 0; border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home .layout-picker legend { padding: 0 0 16px; font-size: var(--body); font-weight: 600; }
.home .layout-picker label {
  padding: 12px;
  border-radius: 999px;
  text-align: center;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: var(--body);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.home .layout-picker label:hover { background: var(--brand-soft); }
.home .layout-picker label:active { transform: scale(.98); }
.home .view-radio:checked + label { background: var(--text); color: var(--bg); }
.home .layout-panels { grid-column: 1 / -1; background: var(--surface); margin-top: 8px; padding: 24px; }
.home .layout-panel { display: none; min-height: 555px; flex-direction: column; justify-content: center; }
.home .layout-panel img { width: auto; height: auto; max-height: 480px; max-width: 100%; margin-inline: auto; }
.home .layout-panel figcaption { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: var(--small); }
.home #view-duo:checked ~ .layout-panels .duo-panel,
.home #view-iphone:checked ~ .layout-panels .iphone-panel,
.home #view-ipad:checked ~ .layout-panels .ipad-panel { display: flex; }

.home .section-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; margin-bottom: 48px; align-items: end; }
.home .section-intro p { color: var(--text); font-size: var(--lead); line-height: 1.5; }
.home .feature-spread { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.home .feature-main { position: sticky; top: 116px; }
.home .feature-spread figure { background: var(--surface); padding: 20px; }
.home .feature-spread figure img { width: 100%; height: auto; }
.home .feature-spread h3 { margin: 24px 0 12px; }
.home .feature-spread p { font-size: var(--body); color: var(--text); max-width: 48ch; }
.home .feature-side { display: grid; gap: 56px; }
.home .capabilities { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.home dt { font-weight: 650; font-size: var(--body); line-height: 1.4; }
.home dd { margin: 12px 0 0; font-size: var(--body); line-height: 1.6; }
.home .feature-note { margin-top: 32px; font-size: var(--small); color: var(--text-muted); }

.home .privacy-section { margin-top: 140px; padding-block: 100px; background: var(--text); color: var(--bg); }
.home .privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
.home .privacy-grid h2 { margin-bottom: 32px; }
.home .privacy-grid p { max-width: 40ch; margin-bottom: 20px; font-size: var(--lead); }
.home .privacy-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.home .privacy-facts dd { color: inherit; }
.home .privacy-section a:focus-visible { outline-color: var(--bg); }

.home .price-table { width: 100%; border-collapse: collapse; font-size: var(--body); }
.home .price-table th { text-align: left; }
.home .price-table thead th { padding: 0 32px 20px; font-size: var(--body); font-weight: 500; color: var(--text-muted); }
.home .price-table thead th:last-child { text-align: right; }
.home .price-table tbody tr:nth-child(odd) { background: var(--surface); }
.home .price-table tbody th { width: 70%; padding: 32px; font-size: var(--lead); font-weight: 650; line-height: 1.3; }
.home .price-table tbody th span { display: block; max-width: 60ch; margin-top: 12px; font-size: var(--body); line-height: 1.5; font-weight: 400; }
.home .price-table td { padding: 32px; text-align: right; white-space: nowrap; font-size: var(--lead); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.home .price-table td span { display: block; font-size: var(--small); letter-spacing: 0; font-weight: 400; margin-top: 8px; }
.home .pricing-note { font-size: var(--small); color: var(--text-muted); margin-top: 24px; }

.home .help-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; align-items: start; }
.home .help-grid h2 { margin-bottom: 32px; }
.home .answers { display: grid; gap: 12px; }
.home .answers details { background: var(--surface); padding: 24px 28px; }
.home .answers summary { font-size: var(--body); font-weight: 600; cursor: pointer; }
.home .answers summary:hover { color: var(--brand); }
.home .answers details p { margin: 20px 0 0; font-size: var(--body); }
.home .support-links { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 12px; }
.home .support-links a { font-size: var(--small); }
.home .site-footer { border: 0; padding-block: 120px 40px; }
.home .footer-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home .footer-name { font-size: var(--lead); font-weight: 650; color: var(--text); }
.home .footer-line nav { display: flex; gap: 24px; flex-wrap: wrap; }
.home .footer-line nav a { font-size: var(--body); color: var(--text); }
.home .footer-line p, .home .site-footer .legalese { font-size: var(--small); color: var(--text-muted); }
.home .site-footer .legalese { max-width: 60ch; margin-top: 32px; }

@media (prefers-color-scheme: dark) {
  .home { --bg: #111217; --surface: #20222c; --text: #f6f6f9; --text-muted: #c1c3d0; --text-faint: #a5a9be; --brand: #aca5ff; --brand-strong: #c6c1ff; --brand-soft: #2d294c; --on-brand: #19152f; }
  .home .privacy-section { background: #e8e8f0; }
}

@media (max-width: 1000px) {
  .home .hero-intro, .home .section-intro { gap: 40px; }
  .home .layout-grid { grid-template-columns: 1fr 1.5fr; column-gap: 36px; }
  .home .clouds { grid-template-columns: 1fr 2fr; }
  .home .clouds ul { grid-template-columns: repeat(2, 1fr); }
  .home .layout-panel { min-height: 480px; }
  .home .layout-panel img { max-height: 380px; }
  .home .feature-spread { gap: 32px; }
  .home .capabilities { grid-template-columns: 1fr 1fr; }
  .home .privacy-grid { gap: 48px; }
  .home .privacy-facts { grid-template-columns: 1fr; gap: 28px; }
  .home .help-grid { gap: 40px; }
}

@media (max-width: 800px) {
  .home .site-nav { gap: 16px; }
  .home .hero { padding-top: 40px; }
  .home .hero-intro, .home .section-intro { grid-template-columns: 1fr; gap: 32px; }
  .home .hero .sub { max-width: 50ch; }
  .home .layout-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "title" "preview" "copy"; gap: 28px; }
  .home .layout-copy p { max-width: 60ch; }
  .home .layout-panel { min-height: 530px; }
  .home .layout-panel img { max-height: 440px; }
  .home .privacy-grid, .home .help-grid { grid-template-columns: 1fr; gap: 48px; }
  .home .privacy-facts { grid-template-columns: 1fr 1fr; }
  .home .footer-line { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .home .container, .home .site-header .inner { padding-inline: 24px; }
  .home .site-header { position: relative; }
  .home .site-header .inner { gap: 20px; padding-block: 20px; }
  .home .site-nav { width: 100%; gap: 8px; }
  .home .site-nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--small); }
  .home .hero { padding-top: 28px; }
  .home .hero .sub { font-size: var(--body); max-width: 35ch; }
  .home .clouds { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .home .clouds p { max-width: none; }
  .home .clouds ul { gap: 20px 24px; }
  .home .layout-section, .home .features-section, .home .pricing-section, .home .help-section { padding-top: 88px; }
  .home .layout-section { padding-top: 48px; }
  .home .layout-picker { gap: 6px; }
  .home .layout-picker label { font-size: var(--small); padding: 12px 4px; }
  .home .layout-panels { padding: 16px; }
  .home .layout-panel { min-height: 0; }
  .home .layout-panel img { max-height: 350px; }
  .home .feature-spread { grid-template-columns: 1fr; gap: 40px; }
  .home .feature-main { position: static; }
  .home .feature-side { gap: 40px; }
  .home .feature-spread figure { padding: 12px; }
  .home .feature-spread h3 { margin-top: 20px; }
  .home .capabilities { grid-template-columns: 1fr; margin-top: 40px; gap: 28px; }
  .home .privacy-section { margin-top: 88px; padding-block: 64px; }
  .home .privacy-grid p { font-size: var(--body); }
  .home .privacy-facts { grid-template-columns: 1fr; }
  .home .price-table thead th { padding: 0 16px 16px; font-size: var(--small); }
  .home .price-table tbody th { width: 61%; padding: 24px 16px; font-size: var(--body); }
  .home .price-table tbody th span { font-size: var(--small); }
  .home .price-table td { padding: 24px 16px; }
  .home .answers details { padding: 20px; }
  .home .site-footer { padding-top: 80px; }
  .home .footer-line { display: grid; gap: 20px; }
  .home .footer-line nav { gap: 20px; }
}

@keyframes home-enter {
  from { opacity: .45; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .home .logo, .home .site-nav a, .home .hero h1, .home .hero .sub,
  .home .hero .store-badge, .home .clouds p, .home .clouds li {
    animation: home-enter 900ms var(--motion-ease) both;
  }
  @supports (animation-timeline: view()) {
    .home .reveal { animation: home-enter both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home *, .home *::before, .home *::after { animation: none; transition: none; }
}
