@font-face {
  font-family: "Eczar";
  src: url("assets/fonts/Eczar-Display-Latin.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 720;
}

@font-face {
  font-family: "Atkinson";
  src: url("assets/fonts/Atkinson-Regular-Latin.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Atkinson";
  src: url("assets/fonts/Atkinson-Bold-Latin.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --canvas: #070a12;
  --surface: #101727;
  --surface-soft: #151f31;
  --surface-strong: #1c2940;
  --text: #f1e5cb;
  --muted: #a8b5c4;
  --accent: #59dfc1;
  --accent-ink: #061510;
  --line: rgba(168, 181, 196, 0.2);
  --line-strong: rgba(168, 181, 196, 0.36);
  --header-bg: rgba(7, 10, 18, 0.88);
  --ambient: rgba(52, 119, 137, 0.22);
  --shadow: rgba(0, 0, 0, 0.46);
  --content: min(1240px, calc(100vw - 48px));
  --measure: 65ch;
  --radius-media: 24px;
  --radius-surface: 24px;
  --radius-control: 999px;
  --font: "Atkinson", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Eczar", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--canvas);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 0%, var(--ambient), transparent 30rem),
    var(--canvas);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 780px;
  background:
    radial-gradient(circle at 72% 12%, var(--ambient), transparent 32rem),
    radial-gradient(circle at 18% 0%, var(--ambient), transparent 24rem);
  content: "";
  pointer-events: none;
}

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

figure,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 720;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(4rem, 6.2vw, 5.4rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(3rem, 4.8vw, 4.7rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.02;
}

a {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

code {
  padding: 0.08em 0.32em;
  border: 1px solid var(--line-strong);
  border-radius: 0.45em;
  color: var(--accent);
  background: var(--surface-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.86em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  color: var(--accent-ink);
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.header-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  transition:
    min-height 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.scrolled {
  min-height: 64px;
  border-color: var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.footer-brand img,
.privacy-copy > img {
  border-radius: 22%;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.site-header nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.site-header nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.language-toggle:hover {
  border-color: var(--accent);
}

.language-toggle:active {
  transform: scale(0.98);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  width: var(--content);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 92px 0 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.hero-lede,
.section-intro p,
.deck-copy > p,
.privacy-copy > p,
.legal-hero .lede {
  max-width: var(--measure);
  color: var(--muted);
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

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

.availability,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.availability {
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(7, 10, 18, 0.7);
}

.primary-action {
  padding: 0 21px;
  color: var(--accent-ink);
  background: var(--accent);
  text-decoration: none;
  box-shadow: 0 14px 34px var(--shadow);
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px var(--shadow);
}

.primary-action:active {
  transform: scale(0.98);
}

.hero-visual,
.deck-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: var(--surface);
  box-shadow: 0 32px 80px var(--shadow);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 470px);
  aspect-ratio: 0.72;
  border-color: rgba(89, 223, 193, 0.22);
  border-radius: 50% 50% 24px 24px / 16% 16% 24px 24px;
  box-shadow:
    0 0 0 10px rgba(16, 23, 39, 0.7),
    0 0 0 11px rgba(89, 223, 193, 0.12),
    0 38px 90px rgba(0, 0, 0, 0.5);
}

.hero-visual img,
.deck-visual img,
.method-card figure,
.method-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  object-position: center 70%;
  transform: scale(1.02);
}

.threshold::before {
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(241, 229, 203, 0.14);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.threshold-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(7, 10, 18, 0.06), transparent 52%, rgba(7, 10, 18, 0.88)),
    radial-gradient(circle at center, transparent 44%, rgba(7, 10, 18, 0.5));
  pointer-events: none;
}

.memory-fragment {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(89, 223, 193, 0.42);
  border-radius: 10px;
  color: rgba(241, 229, 203, 0.94);
  background: rgba(7, 10, 18, 0.78);
  box-shadow: inset 0 1px 0 rgba(241, 229, 203, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fragment-one {
  top: 23%;
  left: 8%;
  transform: rotate(-4deg);
}

.fragment-two {
  top: 47%;
  right: 7%;
  transform: rotate(3deg);
}

.fragment-three {
  right: 18%;
  bottom: 20%;
  transform: rotate(-2deg);
}

.threshold-seal {
  position: absolute;
  right: 50%;
  bottom: 5%;
  z-index: 4;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(89, 223, 193, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(89, 223, 193, 0.16);
  transform: translateX(50%) rotate(45deg);
}

.threshold-seal span,
.threshold-seal i {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(241, 229, 203, 0.36);
  transform: rotate(45deg);
}

.threshold-seal i {
  inset: 21px;
  border: 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(89, 223, 193, 0.38);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip > div {
  display: grid;
  gap: 3px;
  padding: 0 28px;
}

.fact-strip > div + div {
  border-left: 1px solid var(--line);
}

.fact-strip strong {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.fact-strip strong code {
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: inherit;
}

.fact-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.method-section,
.faq-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(96px, 10vw, 144px) 0;
}

.section-intro {
  max-width: 820px;
}

.section-intro p {
  margin-top: 22px;
  font-size: 1.08rem;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, 330px);
  gap: 20px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.method-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1.22fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--surface);
}

.method-card-primary {
  grid-row: span 2;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.method-card figure {
  min-height: 0;
  overflow: hidden;
  background: var(--surface-soft);
}

.method-card-primary img {
  object-position: center 67%;
}

.method-card:not(.method-card-primary) img {
  object-position: center 63%;
}

.method-copy {
  align-self: center;
  padding: clamp(24px, 3vw, 38px);
}

.method-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.deck-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 clamp(96px, 10vw, 144px);
}

.deck-visual {
  justify-self: center;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
}

.deck-visual img {
  object-position: center 72%;
}

.deck-copy {
  max-width: 680px;
}

.deck-copy > p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 1.08rem;
}

.deck-details {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.deck-details > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.deck-details dt {
  color: var(--text);
  font-weight: 700;
}

.deck-details dd {
  color: var(--muted);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(44px, 7vw, 96px);
  width: var(--content);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--surface);
}

.privacy-copy {
  max-width: 690px;
}

.privacy-copy > img {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
}

.privacy-copy > p {
  margin-top: 22px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--text);
}

.privacy-facts {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-facts > li {
  display: grid;
  gap: 5px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.privacy-facts strong {
  color: var(--text);
  font-size: 1.05rem;
}

.privacy-facts span {
  color: var(--muted);
}

.faq-list {
  max-width: 880px;
  margin: 52px 0 0 auto;
  border-bottom: 1px solid var(--line);
}

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

.faq-list summary {
  padding: 24px 4px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.18rem;
  font-weight: 700;
}

.faq-list summary::marker {
  color: var(--accent);
}

.faq-list details[open] summary {
  color: var(--accent);
}

.faq-list details p {
  max-width: var(--measure);
  padding: 0 4px 28px 24px;
  color: var(--muted);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: var(--content);
  min-height: 124px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

footer > p {
  justify-self: end;
  font-size: 0.82rem;
}

.legal-page {
  width: var(--content);
  min-height: calc(100dvh - 124px);
  margin: 0 auto;
  padding: 148px 0 112px;
}

.legal-hero {
  max-width: 820px;
}

.legal-hero h1 {
  max-width: 780px;
}

.legal-hero .lede {
  margin-top: 28px;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.legal-content {
  max-width: 790px;
  margin-top: 72px;
  margin-left: auto;
}

.legal-content section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-content section + section {
  margin-top: 44px;
}

.legal-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -0.035em;
}

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

.legal-content a {
  color: var(--accent);
  text-underline-offset: 4px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 52px;
  max-width: none;
}

.support-grid section + section {
  margin-top: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
  :root {
    --content: min(100% - 40px, 920px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .site-header nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
  }

  h1 {
    font-size: clamp(3rem, 5.6vw, 3.8rem);
  }

  .method-card {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .method-card-primary {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    padding: 44px;
  }
}

@media (max-width: 767px) {
  :root {
    --content: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding-inline: 16px;
  }

  .site-header.scrolled {
    min-height: 60px;
  }

  .site-header nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .brand {
    grid-column: 1;
  }

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

  .brand span {
    font-size: 0.72rem;
  }

  .language-toggle {
    min-width: 40px;
    padding-inline: 10px;
  }

  .language-toggle [data-language-label] {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    min-height: 100dvh;
    padding: 84px 0 28px;
  }

  .hero-copy {
    max-width: 560px;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.45rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 0.65rem;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .availability,
  .primary-action {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 0.82rem;
  }

  .hero-visual {
    aspect-ratio: 16 / 8.5;
  }

  .hero-visual img {
    object-position: center 58%;
  }

  .fact-strip {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .fact-strip > div {
    grid-template-columns: 86px 1fr;
    align-items: baseline;
    gap: 14px;
    padding: 17px 4px;
  }

  .fact-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-section,
  .faq-section {
    padding: 88px 0;
  }

  .section-intro p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .method-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    margin-top: 38px;
  }

  .method-card,
  .method-card-primary {
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .method-card figure,
  .method-card-primary figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .method-card img,
  .method-card-primary img {
    object-position: center 67%;
  }

  .method-copy {
    padding: 24px;
  }

  .deck-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 88px;
  }

  .deck-visual {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .deck-copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 1rem;
  }

  .deck-details {
    margin-top: 30px;
  }

  .deck-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 0;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 38px;
    width: calc(100% - 32px);
    padding: 28px 24px;
  }

  .privacy-copy > img {
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
  }

  .privacy-copy > p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .faq-list {
    margin-top: 38px;
  }

  .faq-list summary {
    padding: 21px 2px;
    font-size: 1.06rem;
  }

  .faq-list details p {
    padding: 0 2px 24px 18px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }

  .footer-links {
    grid-row: 2;
    gap: 20px;
  }

  footer > p {
    justify-self: start;
  }

  .legal-page {
    padding: 112px 0 82px;
  }

  .legal-hero .lede {
    margin-top: 22px;
    font-size: 1.04rem;
  }

  .legal-content {
    margin-top: 52px;
  }

  .legal-content section + section {
    margin-top: 36px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
  }

  .availability,
  .primary-action {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .threshold img {
    animation: threshold-breathe 12s ease-in-out infinite alternate;
  }

  .memory-fragment {
    animation: fragment-float 5.5s ease-in-out infinite alternate;
  }

  .fragment-two {
    animation-delay: -1.8s;
  }

  .fragment-three {
    animation-delay: -3.6s;
  }
}

@keyframes threshold-breathe {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.055);
  }
}

@keyframes fragment-float {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -8px;
  }
}

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

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

  .js .reveal,
  .js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled {
    background: var(--canvas);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
