/* Driften's shared visual theme. Loaded after existing layout styles.
   Keep component geometry in its original stylesheet: this layer owns color,
   background treatment and the homepage's editorial headline, not layout. */
:root {
  color-scheme: dark;
  --accent: #90ddc4;
  --accent-deep: #60b6b2;
  --accent-bright: #a0e9d0;
  --moss: var(--accent);
  --moss-deep: var(--accent-deep);
  --mint: var(--accent-bright);
  --ink: #041318;
  --ink-2: #082029;
  --ink-3: #102f38;
  --card: linear-gradient(150deg, rgba(13, 39, 47, 0.96), rgba(7, 29, 36, 0.96));
  --card-flat: #0b252d;
  --card-border: rgba(154, 205, 198, 0.19);
  --text: #eff7f4;
  --text-dim: #adc3c5;
  --text-faint: #90adb2;
  --action-bg: #95e2c7;
  --action-text: #09282d;
  --accent-border: rgba(144, 221, 196, 0.35);
  --accent-wash: rgba(144, 221, 196, 0.09);
  --glass-bg: rgba(4, 19, 24, 0.78);
  --glass-border: rgba(154, 205, 198, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  --popover-bg: rgba(4, 19, 24, 0.96);
  --nav-hover-bg: rgba(255, 255, 255, 0.07);
  --nav-hover-shadow: 0 9px 22px rgba(0, 0, 0, 0.28);
}

:root[data-resolved-theme="light"] {
  color-scheme: light;
  --accent: #2e7d5b;
  --accent-deep: #245f47;
  --accent-bright: #2e7d5b;
  --moss: #4f9d69;
  --moss-deep: #2e7d5b;
  --mint: var(--accent);
  --ink: #e4eff1;
  --ink-2: #d8e8eb;
  --ink-3: #c9dfe3;
  --card: linear-gradient(150deg, rgba(248, 252, 252, 0.94), rgba(222, 238, 241, 0.92));
  --card-flat: #deecef;
  --card-border: rgba(79, 157, 105, 0.2);
  --text: #0c252c;
  --text-dim: #3c5f68;
  --text-faint: #60808a;
  --action-bg: #95e2c7;
  --action-text: #09282d;
  --accent-border: rgba(79, 157, 105, 0.42);
  --accent-wash: rgba(79, 157, 105, 0.1);
  --glass-bg: rgba(228, 239, 241, 0.8);
  --glass-border: rgba(79, 157, 105, 0.2);
  --glass-highlight: rgba(255, 255, 255, 0.88);
  --glass-shadow: 0 18px 48px rgba(18, 61, 72, 0.14);
  --popover-bg: rgba(228, 239, 241, 0.96);
  --nav-hover-bg: rgba(255, 255, 255, 0.7);
  --nav-hover-shadow: 0 9px 22px rgba(18, 61, 72, 0.14);
}

html { background: var(--ink); }
body { isolation: isolate; padding-top: 96px; }
::selection { background: #90ddc449; color: var(--text); }

/* A calm teal field. The old animated aurora is replaced, not layered on top. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 95% 18%, rgba(24, 75, 77, 0.44), transparent 57%),
    radial-gradient(ellipse at 4% 90%, rgba(17, 46, 50, 0.2), transparent 55%),
    var(--ink);
}
:root[data-resolved-theme="light"] body::before {
  background:
    radial-gradient(ellipse at 95% 18%, rgba(79, 157, 105, 0.16), transparent 57%),
    radial-gradient(ellipse at 4% 90%, rgba(46, 125, 91, 0.1), transparent 55%),
    var(--ink);
}
.aurora { display: none; }
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/drift-current.svg") center -60px / max(1440px, 100vw) auto no-repeat;
  opacity: 0.36;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), #000 68%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), #000 68%);
}
.aurora + .bg-field { opacity: 0.36; }
:root[data-resolved-theme="light"] .bg-field { opacity: 0.2; }
:root[data-resolved-theme="light"] .aurora + .bg-field { opacity: 0.2; }

/* Paper Trail contributes only a faint ledger texture at the margins.
   Keep the reading column free of a busy all-over grid. */
.bg-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 188, 192, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 188, 192, 0.11) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 27%, transparent 73%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 27%, transparent 73%, #000);
}
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  right: auto;
  z-index: 1000;
  width: min(1120px, calc(100% - 32px));
  box-sizing: border-box;
  transform: translate3d(-50%, 0, 0);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
}
.site-header > .site-wrap.site-nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 12px;
}
.site-header > .site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
}
.site-header > .site-nav { min-height: 64px; height: 64px; }
.site-wordmark { justify-self: start; }
.nav-links {
  justify-self: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--nav-hover-bg);
  box-shadow: var(--nav-hover-shadow);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--text);
    background: var(--nav-hover-bg);
    box-shadow: var(--nav-hover-shadow);
    transform: translateY(-1px);
  }
}
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}
.header-actions .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 38px;
  padding: 0 16px;
  color: var(--action-text);
  font-size: 14px;
  font-weight: 700 !important;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.header-actions .nav-cta:hover { transform: translateY(-1px); }

.language-picker {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.language-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  padding: 0;
  color: var(--text-dim);
  font: 750 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms ease;
}
.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  color: var(--text);
  background: var(--accent-wash);
  border-color: var(--accent-border);
}
.language-toggle:active { transform: scale(0.96); }
.language-toggle svg,
.language-system-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1010;
  width: 214px;
  padding: 7px;
  border: 1px solid var(--glass-border);
  border-radius: 17px;
  background: var(--popover-bg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transform-origin: top right;
}
.language-menu[hidden] { display: none; }
.language-system-option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  color: var(--text-dim);
  font: 650 13px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.language-system-option > span:nth-child(2) {
  justify-self: center;
  text-align: center;
}
.language-device-code {
  color: inherit;
  font: inherit;
  letter-spacing: normal;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 5px;
}
.language-option {
  min-height: 34px;
  padding: 0 8px;
  color: var(--text-dim);
  font: 750 11px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}
.language-system-option:hover,
.language-system-option:focus-visible,
.language-option:hover,
.language-option:focus-visible {
  color: var(--text);
  background: var(--accent-wash);
  outline: none;
}
.language-system-option[aria-checked="true"],
.language-option[aria-checked="true"] {
  color: var(--text);
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}
.language-note {
  margin: 7px 5px 3px;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1.35;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 38px;
  padding: 3px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.theme-segment {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--text-faint);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 140ms ease;
}
.theme-segment:hover {
  color: var(--text);
  background: var(--accent-wash);
}
.theme-segment:active { transform: scale(0.94); }
.theme-segment[aria-checked="true"] {
  color: var(--text);
  background: rgba(144, 221, 196, 0.18);
  box-shadow: inset 0 0 0 1px rgba(144, 221, 196, 0.24), 0 2px 8px rgba(0, 0, 0, 0.16);
}
.theme-segment svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-picker {
  position: relative;
  display: none;
  flex: 0 0 auto;
}
.mobile-nav-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  padding: 0;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms ease;
}
.mobile-nav-toggle[aria-expanded="true"] {
  color: var(--text);
  background: var(--accent-wash);
  border-color: var(--accent-border);
}
.mobile-nav-toggle:active { transform: scale(0.96); }
.mobile-nav-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-menu {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  top: calc(100% + 12px);
  right: 0;
  z-index: 1010;
  width: 210px;
  padding: 7px;
  border: 1px solid var(--glass-border);
  border-radius: 17px;
  background: var(--popover-bg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transform-origin: top right;
}
.mobile-nav-menu[hidden] { display: none; }
.mobile-nav-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  border-radius: 11px;
  transition: color 150ms ease, background-color 150ms ease;
}
.mobile-nav-menu a[aria-current="page"],
.mobile-nav-menu a:focus-visible {
  color: var(--text);
  background: var(--accent-wash);
  outline: none;
}
.mobile-nav-menu .mobile-nav-download {
  justify-content: center;
  min-height: 38px;
  margin-top: 6px;
  color: var(--action-text);
  background: var(--action-bg);
  box-shadow: 0 5px 18px rgba(74, 161, 143, 0.13);
}
@media (hover: hover) and (pointer: fine) {
  .mobile-nav-toggle:hover {
    color: var(--text);
    background: var(--accent-wash);
    border-color: var(--accent-border);
  }
  .mobile-nav-menu a:hover {
    color: var(--text);
    background: var(--accent-wash);
  }
  .mobile-nav-menu .mobile-nav-download:hover {
    color: var(--action-text);
    background: var(--action-bg);
    box-shadow: 0 7px 22px rgba(74, 161, 143, 0.22);
  }
}
:root[data-resolved-theme="light"] .theme-switch {
  background: rgba(255, 255, 255, 0.54);
}
:root[data-resolved-theme="light"] .language-toggle {
  background: rgba(255, 255, 255, 0.54);
}
:root[data-resolved-theme="light"] .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.54);
}
:root[data-resolved-theme="light"] .language-menu {
  box-shadow: 0 18px 42px rgba(18, 61, 72, 0.18), inset 0 1px 0 var(--glass-highlight);
}
:root[data-resolved-theme="light"] .mobile-nav-menu {
  box-shadow: 0 18px 42px rgba(18, 61, 72, 0.18), inset 0 1px 0 var(--glass-highlight);
}
:root[data-resolved-theme="light"] .theme-segment[aria-checked="true"] {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(79, 157, 105, 0.22), 0 2px 8px rgba(18, 61, 72, 0.12);
}
:root[data-resolved-theme="light"] input[type="text"],
:root[data-resolved-theme="light"] input[type="email"],
:root[data-resolved-theme="light"] textarea,
:root[data-resolved-theme="light"] .types label {
  background: rgba(255, 255, 255, 0.66);
}
:root[data-resolved-theme="light"] input:focus,
:root[data-resolved-theme="light"] textarea:focus {
  background: rgba(255, 255, 255, 0.94);
}
:root[data-resolved-theme="light"] .store-btn.apple {
  border: 1px solid rgba(12, 37, 44, 0.12);
  box-shadow: 0 8px 28px rgba(18, 61, 72, 0.12);
}
.site-wordmark,
.site-wordmark:link,
.site-wordmark:visited,
.site-wordmark:hover,
.site-wordmark:active {
  display: inline-flex;
  gap: 4px;
  line-height: 1;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.site-wordmark img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: 0 0 auto;
  transform: translateY(0.5px);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer-brand img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: 0 0 auto;
}

/* The Edit's typographic confidence, without importing its red palette or
   replacing the real phone. Existing grid, copy, CTAs and screenshots stay. */
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 850;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.grad {
  color: var(--mint);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero .pill {
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--accent-wash);
  border-color: var(--accent-border);
}
.sec-head .kicker, .eyebrow, .price-label, .card .label {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.stat .num { background: none; color: var(--mint); }

/* Separate text/link accents from action colors so pale mint buttons always
   carry dark, readable labels. This includes the legacy contact/legal pages. */
.nav-cta, .button:not(.secondary), .send {
  color: var(--action-text) !important;
  background: var(--action-bg);
  border-color: transparent;
  box-shadow: 0 5px 22px rgba(74, 161, 143, 0.13);
}
.nav-cta:hover, .button:not(.secondary):hover,
.send:hover {
  box-shadow: 0 8px 26px rgba(74, 161, 143, 0.22);
}
.store-btn.apple {
  color: #0b0a18 !important;
  background: #fff;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}
.store-btn.apple:hover {
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.2);
}
.button.secondary {
  color: var(--text);
  background: var(--accent-wash);
  border-color: var(--card-border);
}
.store-btn .availability-tag, .store-btn.play .soon-tag {
  color: #fff;
  background: linear-gradient(135deg, var(--moss), var(--moss-deep));
  box-shadow: 0 4px 14px rgba(74, 161, 143, 0.18);
}
.store-btn.play { background: var(--card); color: var(--text-faint); }
.store-btn.play::after, .store-btn.play::before {
  background: var(--ink-3);
  border-color: var(--card-border);
}

/* Preserve all card dimensions and radii; harmonize the remaining hardcoded
   green/indigo surfaces with the teal theme. Screenshot pixels are untouched. */
.feat .f-icon, .tease .t-icon, .article-body .step-num {
  background: var(--accent-wash);
  border-color: var(--accent-border);
}
.privacy-card { background: var(--card); border-color: var(--accent-border); }
.privacy-card .shield { background: var(--accent-wash); border-color: var(--accent-border); }
.price-card.premium, .card.accent, .cta-band,
.article-body .answer, .callout { border-color: var(--accent-border); }
.stat:hover, .feat:hover, .tease li:hover, .card-link:hover {
  border-color: var(--accent-border);
}
.tease b .new { border-color: var(--accent-border); }
.phone, .mockphone {
  background: linear-gradient(160deg, #263f49, #0f2731);
  border-color: rgba(175, 208, 210, 0.24);
}
.card-media.import-phone-card {
  align-self: stretch;
  background:
    radial-gradient(circle at 50% 18%, rgba(160, 233, 208, 0.13), transparent 42%),
    var(--card);
}
.import-phone-card .product-shot {
  width: min(246px, 100%);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #263f49, #0f2731);
  border: 1px solid rgba(175, 208, 210, 0.24);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(74, 161, 143, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.import-phone-card .product-shot img {
  overflow: hidden;
  border-radius: 35px;
  background: #000;
}
.float-card { border-color: rgba(190, 223, 223, 0.3); }
.types input:checked + label {
  color: var(--text);
  background: #204744;
  border-color: var(--accent-border);
}
.types label:hover { border-color: var(--accent-border); }
input:focus, textarea:focus { border-color: var(--mint); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .bg-field { background-position: 45% 240px; background-size: 1300px auto; }
  .hero h1 { font-size: clamp(40px, 7.4vw, 68px); }
}
@media (max-width: 680px) {
  body { padding-top: 84px; }
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 999px;
  }
  .site-header > .site-wrap.site-nav {
    padding: 8px 10px;
  }
  .site-header > .site-nav {
    display: flex;
    justify-content: flex-end;
    min-height: 0;
    height: auto;
  }
  .site-header .nav-links { display: none; }
  .header-actions {
    margin-left: auto;
    justify-self: auto;
  }
  .header-actions > .nav-cta { display: none; }
  .theme-switch { padding: 2px; }
  .theme-segment { width: 27px; height: 27px; }
  .theme-segment svg { width: 14px; height: 14px; }
  .mobile-nav-picker { display: inline-flex; }
}
@media (max-width: 600px) {
  .bg-field { opacity: 0.2; }
  .aurora + .bg-field { opacity: 0.2; }
  .bg-field::after { opacity: 0.65; background-size: 36px 36px; }
  .hero .pill { font-size: 10px; letter-spacing: 0.07em; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 35px; }
  .site-header { width: calc(100% - 8px); }
  .site-header > .site-wrap.site-nav { padding-inline: 6px; }
  .site-header > .site-nav { column-gap: 6px; }
  .header-actions { gap: 4px; }
  .header-actions .nav-cta { height: 28px; padding: 0 8px; font-size: 12px; }
  .language-toggle { width: 28px; height: 28px; font-size: 9px; }
  .language-toggle svg { width: 14px; height: 14px; }
  .theme-switch { height: 28px; }
  .theme-segment { width: 22px; height: 22px; }
  .theme-segment svg { width: 13px; height: 13px; }
  .mobile-nav-toggle { width: 28px; height: 28px; }
  .mobile-nav-toggle svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(page-content),
  ::view-transition-new(page-content),
  ::view-transition-old(site-footer),
  ::view-transition-new(site-footer) { animation-duration: 1ms; }
}

/* Native, same-origin transitions keep page changes soft without delaying links.
   Unsupported browsers fall back to normal navigation. */
@view-transition { navigation: auto; }
main { view-transition-name: page-content; }
body > footer, .site-footer { view-transition-name: site-footer; }
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in { from { opacity: 0; } }
html.page-enter main,
html.page-enter body > footer,
html.page-enter .site-footer {
  animation: 260ms cubic-bezier(0.23, 1, 0.32, 1) both page-fade-in;
}
::view-transition-image-pair(root) { isolation: auto; }
::view-transition-old(root) {
  animation: none;
  mix-blend-mode: normal;
  opacity: 0;
}
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
  opacity: 1;
}
::view-transition-old(page-content),
::view-transition-old(site-footer) {
  animation: 180ms cubic-bezier(0.23, 1, 0.32, 1) both page-fade-out;
}
::view-transition-new(page-content),
::view-transition-new(site-footer) {
  animation: 260ms cubic-bezier(0.23, 1, 0.32, 1) both page-fade-in;
}
