@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fafaf8;
  --surface: #ffffff;
  --ink: #151515;
  --body: #3b3b37;
  --muted: #62625c;
  --line: #e6e5e0;
  --soft: #f1f0ec;
  --night: #141119;
  --night-line: rgba(255, 255, 255, 0.12);
  --night-muted: #aeabb9;
  --gold: #efd050;
  --radius: 10px;
  --wrap: 1200px;
  color-scheme: light;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
p,
dl,
dd,
ol {
  margin: 0;
}
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  letter-spacing: -0.035em;
  word-spacing: 0.06em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.03em;
  word-spacing: 0.04em;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
section[id] {
  scroll-margin-top: 24px;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.feature :focus-visible {
  outline-color: var(--gold);
}

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
}
.logo {
  height: 26px;
  width: auto;
}
.site-header nav {
  display: flex;
  gap: 4px;
  margin-right: 12px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.15s;
}
.site-header nav a:hover {
  color: var(--ink);
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.button:hover {
  background: var(--soft);
}
.button.primary {
  background: var(--ink);
  color: #fff;
}
.button.primary:hover {
  background: #383835;
  border-color: #383835;
}
.button.small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.9375rem;
}
.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.button.gold:hover {
  background: #f5dc78;
  border-color: #f5dc78;
}
.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 6px;
  transition: text-decoration-color 0.15s;
}
.text-link:hover {
  text-decoration-color: currentColor;
}

/* Hero */
.hero {
  padding-block: 72px 56px;
}
.hero h1 {
  max-width: 14em;
}
.hero-lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--body);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Product panel */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  padding: 56px 56px 0;
  overflow: hidden;
  border-radius: 20px 96px 20px 20px;
  background: var(--night);
  color: #fff;
}
.feature-copy {
  align-self: center;
  padding-bottom: 56px;
}
.feature .status {
  color: var(--night-muted);
}
.feature h2 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  letter-spacing: -0.035em;
}
.feature-lead {
  max-width: 28em;
  margin-top: 16px;
  color: #d8d6de;
}
.facts {
  margin-block: 28px 32px;
  font-size: 0.9375rem;
}
.facts > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--night-line);
}
.facts > div:last-child {
  border-bottom: 1px solid var(--night-line);
}
.facts dt {
  color: var(--night-muted);
}
.screens {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.36fr);
  gap: 16px;
  align-items: end;
  align-self: end;
}
.screens img {
  width: 100%;
  border: 1px solid var(--night-line);
  border-bottom: 0;
}
.screen-host {
  border-radius: 14px 14px 0 0;
}
.screen-phone {
  border-radius: 22px 22px 0 0;
}
.feature-screens-only {
  grid-template-columns: minmax(0, 1fr);
  padding-inline: 56px;
  padding-top: 56px;
}
.feature-screens-only .screens {
  width: min(100%, 760px);
  margin-inline: auto;
}
.caption {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding-block: 104px 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}
.split-head > p {
  max-width: 22em;
  margin-top: 16px;
  color: var(--muted);
}
.row {
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.row:first-child {
  padding-top: 0;
  border-top: 0;
}
.row p {
  max-width: 38em;
  margin-top: 12px;
  color: var(--body);
}
.row .scope {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.prose p {
  max-width: 34em;
  font-size: 1.25rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--body);
}
.prose p + p {
  margin-top: 20px;
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 104px;
  padding-block: 56px 72px;
  border-top: 1px solid var(--line);
}
.contact p {
  margin-top: 12px;
  color: var(--muted);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: clamp(1.25rem, 0.9rem + 1.8vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  border-bottom: 2px solid var(--ink);
  transition:
    border-color 0.15s,
    color 0.15s;
}
.contact-link:hover {
  color: var(--muted);
  border-color: var(--muted);
}
.contact-link svg {
  width: 0.8em;
  height: 0.8em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  flex-shrink: 0;
}

/* AIPlash page */
.page-head {
  padding-block: 64px 48px;
}
.page-head h1 {
  margin-top: 20px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}
.steps li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.steps p {
  margin-top: 8px;
  color: var(--body);
}
.pricing > * + * {
  margin-top: 24px;
}
.packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pack {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.pack-price {
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pack-credits {
  margin-top: 8px;
  font-weight: 500;
}
.pack-note {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.pack-status {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.fine {
  max-width: 40em;
  font-size: 0.875rem;
  color: var(--muted);
}
.explainer {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--soft);
}
.explainer p {
  margin-top: 12px;
  color: var(--body);
}
.explainer dl {
  margin-block: 20px;
  font-size: 0.9375rem;
}
.explainer dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.explainer dd {
  text-align: right;
  color: var(--muted);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.toggle {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  background: currentColor;
}
.toggle::after {
  transform: rotate(90deg);
}
details[open] .toggle {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 38em;
  padding: 0 32px 24px 0;
  color: var(--body);
}
.faq details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Policies and not found */
.policy {
  width: min(760px, calc(100% - 64px));
  padding-block: 24px 96px;
}
.policy-heading {
  padding-block: 40px 32px;
  border-bottom: 1px solid var(--line);
}
.policy-heading h1 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
}
.policy-heading p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
}
.policy-heading .button {
  margin-top: 28px;
}
.policy-content section {
  margin-top: 40px;
}
.policy-content h2 {
  font-size: 1.375rem;
  letter-spacing: -0.03em;
}
.policy-content p {
  margin-top: 12px;
  color: var(--body);
  line-height: 1.75;
}
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-contact {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-main .logo {
  height: 22px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-contact .text-link {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 24px;
  padding-block: 12px 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  .wrap,
  .policy {
    width: calc(100% - 48px);
  }
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 40px 32px 0;
    border-radius: 20px 72px 20px 20px;
  }
  .feature-copy {
    padding-bottom: 0;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .section {
    padding-top: 80px;
  }
  .contact {
    margin-top: 80px;
  }
}
@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 16px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .site-header nav a {
    padding-inline: 0;
  }
  .hero {
    padding-block: 40px 40px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .steps li::before {
    margin-bottom: 12px;
  }
  .packs {
    grid-template-columns: minmax(0, 1fr);
  }
  .screens {
    display: block;
    position: relative;
  }
  .screens .screen-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36%;
  }
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .wrap,
  .policy {
    width: calc(100% - 40px);
  }
  .feature {
    padding: 28px 20px 0;
    border-radius: 16px 48px 16px 16px;
  }
  .feature-screens-only {
    padding-inline: 20px;
    padding-top: 28px;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .screens {
    gap: 10px;
  }
  .actions .button {
    flex: 1 1 100%;
  }
  .pack,
  .explainer {
    padding: 20px;
  }
  .explainer dl > div {
    flex-direction: column;
    gap: 2px;
  }
  .explainer dd {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
