:root {
  color-scheme: light;
  --ink: #07143b;
  --ink-soft: #25365f;
  --muted: #5f6f91;
  --line: #d8e3f4;
  --paper: #fbfdff;
  --wash: #eaf7ff;
  --blue: #0757ff;
  --blue-dark: #053bb8;
  --teal: #08b9b4;
  --coral: #ff674a;
  --gold: #ffb43d;
  --green: #54c96f;
  --violet: #6557f5;
  --shadow: 0 18px 44px rgba(7, 20, 59, 0.14);
  --shadow-strong: 0 26px 72px rgba(7, 20, 59, 0.24);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.preview-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 227, 244, 0.74);
  background: rgba(251, 253, 255, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 30px rgba(7, 87, 255, 0.24);
  white-space: nowrap;
}

.button.primary {
  min-height: 54px;
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 18px 36px rgba(7, 87, 255, 0.28);
}

.button.secondary {
  min-height: 54px;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(7, 87, 255, 0.22);
  box-shadow: 0 14px 34px rgba(7, 20, 59, 0.1);
}

.button.quiet {
  width: 100%;
  color: var(--blue-dark);
  background: white;
  border-color: rgba(7, 87, 255, 0.22);
}

.button.light {
  background: linear-gradient(135deg, #ffffff, #dff8ff);
  color: var(--blue-dark);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.button.dark {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(7, 87, 255, 0.2);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100svh - 92px));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 253, 255, 0.98) 0%, rgba(251, 253, 255, 0.96) 42%, rgba(232, 248, 255, 0.82) 74%, rgba(222, 245, 255, 0.94) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background: url("images/OtterPage-promo.png") right center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, black 16%, black 100%);
  opacity: 0.96;
}

.hero::after,
.feature-section::before,
.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 87, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 87, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 80%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 70px;
}

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

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 160px));
  gap: 10px;
  max-width: 730px;
  margin-top: 34px;
}

.hero-proof div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(216, 227, 244, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(7, 20, 59, 0.08);
  backdrop-filter: blur(10px);
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.22;
}

.proof-band {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: #07143b;
  color: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.proof-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-height: 116px;
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-icon {
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.proof-item strong {
  align-self: end;
  font-size: 16px;
}

.proof-item span:last-child {
  color: #bfd3f3;
  font-size: 13px;
  line-height: 1.28;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-head {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.compact {
  max-width: 720px;
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:last-child,
.pricing-intro p,
.pro-copy p,
.final-cta p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

.showcase {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.shot-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(216, 227, 244, 0.9);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.shot-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: white;
  cursor: zoom-in;
}

.shot-preview img {
  transition: transform 180ms ease, filter 180ms ease;
}

.shot-preview span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  background: rgba(7, 20, 59, 0.72);
  box-shadow: 0 10px 22px rgba(7, 20, 59, 0.22);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.shot-preview:hover img,
.shot-preview:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.shot-preview:hover span,
.shot-preview:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.shot-preview:focus-visible {
  outline: 3px solid rgba(7, 87, 255, 0.48);
  outline-offset: -3px;
}

.shot-card.wide {
  grid-column: span 1;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.shot-card figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.shot-card strong {
  color: var(--ink);
  font-size: 17px;
}

.shot-card span {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.feature-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, #f8fcff 0%, #eaf7ff 64%, #fff7ea 100%);
}

.feature-section::before,
.pricing-section::before {
  opacity: 0.9;
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(216, 227, 244, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(7, 20, 59, 0.09);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: white;
}

.feature-icon.blue {
  background: var(--blue);
}

.feature-icon.teal {
  background: var(--teal);
}

.feature-icon.coral {
  background: var(--coral);
}

.feature-icon.gold {
  background: var(--gold);
}

.feature-icon.violet {
  background: var(--violet);
}

.feature-icon.green {
  background: var(--green);
}

.feature-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.16;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.pro-section {
  background: #07143b;
  color: white;
}

.pro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.pro-copy .eyebrow {
  color: #7ce7e2;
}

.pro-copy h2 {
  color: white;
}

.pro-copy p {
  color: #cfe2ff;
}

.pro-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.pro-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #e9f3ff;
}

.pro-list svg {
  color: #7ce7e2;
}

.pro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.text-link {
  color: #aeefff;
  font-weight: 850;
}

.text-link:hover,
.text-link:focus-visible {
  color: white;
}

.upgrade-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 82px rgba(0, 0, 0, 0.34);
}

.upgrade-shot .shot-preview {
  height: 100%;
}

.upgrade-shot img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.use-cases {
  background: white;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.use-grid article {
  min-height: 246px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 28px rgba(7, 20, 59, 0.07);
}

.use-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.use-grid article:nth-child(2) span {
  background: var(--coral);
}

.use-grid article:nth-child(3) span {
  background: var(--teal);
}

.use-grid article:nth-child(4) span {
  background: var(--violet);
}

.use-grid h3 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.use-grid p {
  margin: 0;
  color: var(--muted);
}

.pricing-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, #eef9ff 0%, #ffffff 46%, #fff8ed 100%);
}

.pricing-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 34px;
  align-items: start;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.pricing-intro {
  position: sticky;
  top: 112px;
}

.pricing-intro h2 {
  margin: 0;
}

.pricing-sale-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(255, 103, 74, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 103, 74, 0.12), rgba(255, 180, 61, 0.17)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(255, 103, 74, 0.12);
}

.sale-burst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--coral), var(--gold));
  font-size: 18px;
  font-weight: 950;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(255, 103, 74, 0.3);
}

.pricing-sale-callout strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
}

.pricing-sale-callout span:last-child {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.42;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(216, 227, 244, 0.98);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.plan.featured {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 180, 61, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(8, 185, 180, 0.16), transparent 38%),
    #07143b;
  border-color: rgba(124, 231, 226, 0.38);
  box-shadow: var(--shadow-strong);
}

.plan-sale-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -28px -28px 24px;
  padding: 13px 28px;
  color: #3d2100;
  background:
    linear-gradient(135deg, var(--gold), #ffe08c 48%, var(--coral));
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-sale-banner strong {
  color: #07143b;
  font-size: 15px;
}

.plan-label {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e9f1ff;
  font-size: 12px;
  font-weight: 900;
}

.plan.featured .plan-label {
  color: #08143b;
  background: #7ce7e2;
}

.plan-label.sale {
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--gold));
}

.plan h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.plan-price {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
}

.price-stack {
  margin-top: 14px;
}

.price-stack .plan-price {
  margin: 0;
  font-size: 54px;
}

.plan.featured .plan-price {
  color: #ffffff;
}

.sale-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #07143b;
  background: #fff0bd;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  transform: translateY(-5px);
}

.sale-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 180, 61, 0.56);
  border-radius: 999px;
  color: #ffe1a8;
  background: rgba(255, 180, 61, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.compare-price,
.plan-note {
  margin: 8px 0 0;
  color: #cfe2ff;
  font-size: 14px;
  line-height: 1.36;
}

.compare-price s {
  color: #ffffff;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
}

.compare-price strong {
  color: #ffe1a8;
}

.sale-subcopy {
  margin: 10px 0 0;
  color: #aac5ef;
  font-size: 14px;
  line-height: 1.44;
}

.plan ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
}

.plan li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.plan.featured li {
  color: #dbeaff;
}

.plan-note {
  margin: -8px 0 20px;
}

.plan .button {
  margin-top: auto;
}

.preview-modal[hidden] {
  display: none !important;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 16, 45, 0.82);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.preview-frame {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(1180px, 100%);
  max-height: calc(100svh - 48px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.98));
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.46);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 0;
}

.preview-kicker {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-toolbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
}

.preview-close,
.preview-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(7, 87, 255, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 28px rgba(7, 20, 59, 0.12);
  cursor: pointer;
}

.preview-close {
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  font-weight: 850;
}

.preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(7, 87, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(7, 87, 255, 0.05) 25%, transparent 25%),
    white;
  background-size: 24px 24px;
}

.preview-stage img {
  width: 100%;
  max-height: min(72svh, 760px);
  object-fit: contain;
}

.preview-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  color: white;
  background: rgba(7, 20, 59, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.preview-nav.previous {
  left: 14px;
}

.preview-nav.next {
  right: 14px;
}

.preview-close:hover,
.preview-nav:hover,
.preview-close:focus-visible,
.preview-nav:focus-visible {
  outline: none;
  border-color: rgba(7, 87, 255, 0.48);
  box-shadow: var(--shadow);
}

.preview-caption {
  margin: 0 4px;
  color: var(--muted);
  font-size: 15px;
}

.faq-section {
  background: white;
}

.faq-list {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
  color: var(--coral);
}

details p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 20, 59, 0.94), rgba(7, 87, 255, 0.84)),
    url("images/OtterPage-Screenshot-Upgrade.png") center / cover no-repeat;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 59, 0.88), rgba(7, 20, 59, 0.52));
}

.final-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.final-inner img {
  width: 230px;
  margin: 0 auto 28px;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  color: #d9ecff;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: 28px 0;
  color: #c9d7ef;
  background: #06102d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 750;
}

.footer a:hover,
.footer a:focus-visible {
  color: white;
}

.legal-page {
  background:
    linear-gradient(180deg, #f7fcff 0%, #fbfdff 420px),
    var(--paper);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 54px;
  background:
    linear-gradient(135deg, rgba(234, 247, 255, 0.98), rgba(255, 248, 237, 0.72));
  border-bottom: 1px solid rgba(216, 227, 244, 0.78);
}

.legal-hero::before {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: -108px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(8, 185, 180, 0.28), rgba(7, 87, 255, 0.08) 58%, transparent 70%);
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.legal-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.46;
}

.legal-hero .legal-updated {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 24px;
  padding: 0 12px;
  border: 1px solid rgba(7, 87, 255, 0.16);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 850;
}

.legal-section {
  padding: 64px 0 86px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: start;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.legal-summary,
.legal-card {
  border: 1px solid rgba(216, 227, 244, 0.98);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-summary {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.legal-summary h2,
.legal-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
}

.legal-summary ul,
.legal-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.legal-summary li,
.legal-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.legal-summary li::before,
.legal-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 28px;
}

.legal-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.24;
}

.legal-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.legal-card p:first-of-type {
  margin-top: 16px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.legal-grid > div {
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(216, 227, 244, 0.84);
  border-radius: 8px;
  background: #f7fbff;
}

.legal-grid p {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.48;
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow-strong);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(251, 253, 255, 0.98) 0%, rgba(251, 253, 255, 0.94) 56%, rgba(232, 248, 255, 0.82) 100%);
  }

  .hero::before {
    width: 42%;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .proof-grid,
  .feature-grid,
  .use-grid,
  .pricing-layout,
  .pro-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-intro {
    position: static;
  }

  .pricing-layout {
    gap: 28px;
  }

  .pricing-intro {
    grid-column: 1 / -1;
    max-width: 760px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav {
    width: min(100% - 32px, var(--max));
    height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(251, 253, 255, 0.9));
  }

  .hero::before {
    top: 64px;
    right: -92px;
    bottom: auto;
    width: 320px;
    height: 360px;
    background-size: cover;
    opacity: 0.22;
    mask-image: linear-gradient(180deg, black, transparent 92%);
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding: 68px 0 28px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-copy {
    max-width: none;
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button.primary,
  .button.secondary {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .proof-grid,
  .shot-grid,
  .feature-grid,
  .use-grid,
  .pricing-layout,
  .plans,
  .pro-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding: 58px 0 42px;
  }

  .legal-hero-inner,
  .legal-layout {
    width: min(100% - 32px, var(--max));
  }

  .legal-hero h1 {
    font-size: 46px;
  }

  .legal-hero p {
    font-size: 18px;
  }

  .legal-section {
    padding: 42px 0 64px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid > div {
    min-height: auto;
  }

  .pricing-sale-callout {
    grid-template-columns: 1fr;
  }

  .sale-price-row {
    flex-wrap: wrap;
    align-items: center;
  }

  .discount-pill {
    transform: none;
  }

  .proof-item,
  .proof-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 66px 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .section-head,
  .shot-grid,
  .feature-grid,
  .use-grid,
  .pricing-layout,
  .pro-layout,
  .proof-grid,
  .faq-list,
  .footer-inner,
  .final-inner {
    width: min(100% - 32px, var(--max));
  }

  .shot-card figcaption {
    display: grid;
    gap: 5px;
  }

  .shot-card span {
    max-width: none;
    text-align: left;
  }

  .feature-card,
  .use-grid article {
    min-height: auto;
  }

  .plan {
    min-height: auto;
  }

  .upgrade-shot {
    order: -1;
  }

  .final-cta {
    padding: 66px 0;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 46px;
  }

  .hero-proof div {
    min-height: auto;
  }

  .button.primary,
  .button.secondary,
  .button.quiet {
    padding: 0 14px;
  }

  .proof-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px 14px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .plan {
    padding: 22px;
  }

  .legal-card,
  .legal-summary {
    padding: 22px;
  }

  .plan-sale-banner {
    align-items: flex-start;
    flex-direction: column;
    margin: -22px -22px 20px;
    padding: 12px 22px;
  }

  .plan-price {
    font-size: 34px;
  }

  .price-stack .plan-price {
    font-size: 46px;
  }

  .pricing-sale-callout {
    padding: 14px;
  }

  .sale-burst {
    width: 72px;
    height: 72px;
    font-size: 15px;
  }

  .pricing-sale-callout strong {
    font-size: 21px;
  }

  summary {
    align-items: flex-start;
    padding: 18px 0;
    font-size: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
