:root {
  --cream: #fff4d9;
  --paper: #fffaf1;
  --ink: #221f1a;
  --muted: rgba(34, 31, 26, 0.68);
  --line: rgba(34, 31, 26, 0.12);
  --blue: #2d2b92;
  --orange: #f65510;
  --shadow: 0 24px 70px rgba(34, 31, 26, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(246, 85, 16, 0.16), transparent 30%),
    linear-gradient(135deg, #fff8e6 0%, var(--cream) 50%, #eef5eb 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.product-teaser-page {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 36px 20px;
}

.product-teaser-card {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.app-mark {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
  height: 118px;
  margin: 0 auto 30px;
  padding: 16px;
  width: 118px;
}

.app-mark img,
.brand img {
  border-radius: 18px;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(58px, 12vw, 118px);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0 0 24px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 660px;
}

.store-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 34px 0 18px;
}

.store-links a {
  align-items: center;
  display: flex;
  min-height: 62px;
}

.store-badge {
  outline-offset: 5px;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  filter: drop-shadow(0 12px 18px rgba(34, 31, 26, 0.16));
  transform: translateY(-3px) scale(1.02);
}

.store-badge-chrome {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(34, 31, 26, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(34, 31, 26, 0.1);
  padding: 5px 8px;
}

.store-badge-chrome:hover,
.store-badge-chrome:focus-visible {
  box-shadow: 0 16px 34px rgba(34, 31, 26, 0.16);
}

.store-links img {
  height: 58px;
  object-fit: contain;
  width: auto;
}

.store-badge-chrome img {
  height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .store-badge {
    transition: none;
  }

  .store-badge:hover,
  .store-badge:focus-visible {
    transform: none;
  }
}

.seo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 26px;
  max-width: 760px;
}

.seo-points span {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: rgba(34, 31, 26, 0.78);
  font-size: 13px;
  font-weight: 850;
  padding: 9px 12px;
}

.contact-line {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.contact-line a,
.legal-page a {
  color: var(--blue);
  font-weight: 850;
}

.legal-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin: 34px auto 0;
  max-width: 880px;
  padding: 16px;
  backdrop-filter: blur(18px);
}

.legal-nav a {
  color: rgba(34, 31, 26, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.legal-nav a:hover {
  color: var(--blue);
}

.simple-header,
.viewer-header {
  align-items: center;
  background: rgba(255, 244, 217, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
}

.brand img {
  height: 40px;
  width: 40px;
}

.legal-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 136px 22px 88px;
}

.legal-page h1 {
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.96;
}

.legal-page h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 36px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.legal-page p {
  margin: 0 0 16px;
}

.legal-page ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.updated {
  color: rgba(34, 31, 26, 0.52) !important;
  font-size: 14px !important;
  font-weight: 800;
  margin-top: -10px !important;
  text-transform: uppercase;
}

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(34, 31, 26, 0.08);
  display: grid;
  gap: 8px;
  margin: 26px 0;
  padding: 22px;
}

.contact-card span {
  color: rgba(34, 31, 26, 0.55);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.viewer-page {
  background: #ebe4da;
}

.viewer-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 130px 22px 80px;
}

.viewer-toolbar {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.viewer-toolbar h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin: 0;
}

.viewer-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.retention-pill,
.viewer-counter,
.premium-callout span {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 12px;
}

.retention-pill {
  background: rgba(246, 85, 16, 0.12);
  color: var(--orange);
}

.viewer-counter {
  background: rgba(45, 43, 146, 0.1);
  color: var(--blue);
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.viewer-shot {
  background: #15120f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(12px, 3vw, 32px);
}

.shared-image {
  background: white;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.24);
  margin: 0 auto;
  max-height: min(74vh, 920px);
  object-fit: contain;
  width: 100%;
}

.browser-preview {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-preview-top {
  align-items: center;
  background: #fffaf1;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
}

.browser-preview-top span {
  background: #d7c9b8;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.browser-preview-body {
  display: grid;
  grid-template-columns: minmax(120px, 24%) 1fr;
  min-height: 520px;
}

.browser-preview aside {
  background:
    linear-gradient(#e2d6c5 0 0) 24px 34px / 58% 12px no-repeat,
    linear-gradient(#e2d6c5 0 0) 24px 70px / 72% 12px no-repeat,
    linear-gradient(#e2d6c5 0 0) 24px 106px / 50% 12px no-repeat,
    #f7f1e8;
  border-right: 1px solid var(--line);
}

.browser-preview article {
  padding: clamp(30px, 5vw, 70px);
}

.skeleton {
  background: #e2d6c5;
  border-radius: 999px;
  height: 18px;
  margin-bottom: 18px;
  width: 66%;
}

.skeleton.wide {
  height: 34px;
  width: 82%;
}

.skeleton.short {
  width: 44%;
}

.red-mark {
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  color: var(--orange);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 900;
  margin: 82px auto 0;
  max-width: 500px;
  padding: 30px;
  text-align: center;
}

.yellow-mark {
  background: rgba(255, 200, 71, 0.5);
  height: 34px;
  margin: 44px 0 0 12%;
  transform: rotate(-2deg);
  width: 58%;
}

.viewer-meta {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.viewer-meta p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.viewer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.viewer-meta a {
  color: var(--blue);
  font-weight: 850;
}

.expired-main {
  max-width: 920px;
}

.expired-card {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
  backdrop-filter: blur(18px);
}

.expired-card h1 {
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  margin: 0 auto 18px;
  max-width: 760px;
}

.expired-card h2 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.12;
  margin: 28px 0 12px;
}

.expired-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  margin: 0 auto 18px;
  max-width: 670px;
}

.expired-card .viewer-badges {
  justify-content: center;
}

.premium-callout {
  background: #15120f;
  border-radius: var(--radius);
  color: white;
  margin: 34px auto 26px;
  max-width: 690px;
  padding: 26px;
}

.premium-callout span {
  background: rgba(246, 85, 16, 0.18);
  color: #ffb391;
  margin-bottom: 14px;
}

.premium-callout h2 {
  color: white;
  margin: 0 0 10px;
}

.premium-callout p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.viewer-store-links {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .product-teaser-page {
    align-items: start;
    padding-top: 56px;
  }

  .store-links {
    align-items: stretch;
    flex-direction: column;
  }

  .store-links a {
    justify-content: center;
  }

  .store-links img {
    height: auto;
    max-height: 58px;
    max-width: 100%;
  }

  .legal-nav {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .viewer-toolbar,
  .viewer-meta {
    align-items: start;
    flex-direction: column;
  }

  .viewer-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .viewer-badges {
    align-items: stretch;
    flex-direction: column;
  }

  .retention-pill,
  .viewer-counter {
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .browser-preview-body {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .browser-preview aside {
    display: none;
  }
}
