@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --bg: #f5f3ee;
  --bg-soft: #ede6d8;
  --paper: rgba(253, 252, 249, 0.92);
  --paper-strong: #fffdf9;
  --card: rgba(255, 252, 245, 0.82);
  --card-strong: #fcfaf4;
  --text: #1f231f;
  --muted: #5f625a;
  --muted-strong: #454940;
  --line: rgba(74, 84, 68, 0.14);
  --line-strong: rgba(56, 65, 51, 0.22);
  --sage: #7e8f7a;
  --sage-deep: #5f715c;
  --cream: #f6efe2;
  --accent: #22344a;
  --accent-strong: #15263b;
  --accent-soft: rgba(34, 52, 74, 0.09);
  --glow: 0 24px 60px rgba(42, 47, 38, 0.12);
  --shadow: 0 30px 80px rgba(24, 30, 39, 0.16);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1180px;
}

body[data-theme="dark"] {
  --bg: #11161d;
  --bg-soft: #161d25;
  --paper: rgba(23, 30, 40, 0.88);
  --paper-strong: #17202a;
  --card: rgba(25, 33, 44, 0.88);
  --card-strong: #1b2430;
  --text: #edf1ea;
  --muted: #aeb7ad;
  --muted-strong: #c3cbc2;
  --line: rgba(166, 184, 204, 0.14);
  --line-strong: rgba(177, 196, 215, 0.22);
  --sage: #8ba486;
  --sage-deep: #aac19f;
  --cream: #1d2631;
  --accent: #9abdf2;
  --accent-strong: #b8d0f5;
  --accent-soft: rgba(154, 189, 242, 0.14);
  --glow: 0 28px 70px rgba(0, 0, 0, 0.32);
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
  body:not([data-theme]),
  html[data-theme="dark"] body:not([data-theme]) {
    --bg: #11161d;
    --bg-soft: #161d25;
    --paper: rgba(23, 30, 40, 0.88);
    --paper-strong: #17202a;
    --card: rgba(25, 33, 44, 0.88);
    --card-strong: #1b2430;
    --text: #edf1ea;
    --muted: #aeb7ad;
    --muted-strong: #c3cbc2;
    --line: rgba(166, 184, 204, 0.14);
    --line-strong: rgba(177, 196, 215, 0.22);
    --sage: #8ba486;
    --sage-deep: #aac19f;
    --cream: #1d2631;
    --accent: #9abdf2;
    --accent-strong: #b8d0f5;
    --accent-soft: rgba(154, 189, 242, 0.14);
    --glow: 0 28px 70px rgba(0, 0, 0, 0.32);
    --shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(126, 143, 122, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(34, 52, 74, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  color-scheme: light dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.site-header,
.hero,
.demo-section,
.text-grid-section,
.how-section,
.pricing-section,
.faq-section,
.footer {
  position: relative;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Libre Baskerville", Georgia, serif;
}

.logo-mark {
  font-size: 1.2rem;
  color: var(--sage-deep);
}

.logo-word {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a,
.watch-link,
.footer a {
  color: var(--muted-strong);
  text-decoration: none;
}

.topnav a {
  transition: color 160ms ease;
}

.topnav a:hover,
.watch-link:hover,
.footer a:hover {
  color: var(--text);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-toggle-track {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  position: relative;
}

.theme-toggle-track::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-strong);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease;
}

.theme-toggle input:checked + .theme-toggle-track::before {
  transform: translateX(16px);
}

.theme-toggle-label {
  font-size: 0.92rem;
  color: var(--muted-strong);
}

.hero,
.demo-section,
.text-grid-section,
.how-section,
.pricing-section,
.faq-section {
  margin-bottom: 28px;
  padding: 36px 0;
}

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
}

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

.home-fork-bar {
  display: flex;
  justify-content: center;
  margin: -8px 0 10px;
}

.home-fork-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-fork-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.home-fork-option:hover,
.home-fork-option:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 20px rgba(24, 30, 39, 0.08);
  outline: none;
}

.home-fork-option.is-active {
  border-color: var(--accent);
  background: var(--bg);
}

.home-fork-option-title {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.home-fork-option-copy {
  display: none;
}

.eyebrow,
.section-kicker,
.language-label,
.pricing-tier,
.hero-note-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sage-deep);
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.02;
  margin-top: 16px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.hero-subline,
.section-intro {
  color: var(--muted-strong);
  font-size: 1.06rem;
  max-width: 640px;
}

.hero-subline {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #f7f5ef;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 30px rgba(21, 38, 59, 0.22);
}

.button-primary:hover {
  box-shadow: 0 24px 34px rgba(21, 38, 59, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.46);
  border-color: var(--line);
}

.button-wide {
  width: 100%;
}

.watch-link {
  position: relative;
  font-weight: 600;
}

.watch-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.42);
  transform-origin: left;
  transition: transform 180ms ease;
}

.watch-link:hover::after {
  transform: scaleX(1);
}

.hero-proof {
  margin-top: 24px;
  color: var(--muted);
}

.hero-aside {
  display: flex;
}

.hero-note-card,
.text-card,
.step-card,
.pricing-card,
.faq-item,
.product-shot {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
}

.hero-note-card {
  width: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent),
    var(--paper);
}

.hero-note-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.hero-note-list li + li {
  margin-top: 10px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-intro {
  margin-top: 14px;
}

.product-shot {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 16px 16px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08)),
    var(--paper-strong);
  box-shadow: var(--shadow);
  transform: perspective(1800px) rotateX(3deg) rotateY(-7deg);
  transform-origin: center top;
}

.product-shot::after {
  content: "";
  position: absolute;
  inset: auto 4% -18% 4%;
  height: 28%;
  background: radial-gradient(circle, rgba(34, 52, 74, 0.18), transparent 72%);
  filter: blur(28px);
  z-index: 0;
}

.product-browser-bar {
  display: flex;
  gap: 8px;
  padding: 0 0 14px;
}

.product-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(112, 118, 109, 0.38);
}

.product-shot video {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--line);
  background: var(--card-strong);
}

.language-group + .language-group {
  margin-top: 28px;
}

.language-group[hidden] {
  display: none;
}

.language-label {
  margin-bottom: 14px;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.text-card {
  display: block;
  padding: 22px;
  border-radius: 24px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.text-card:hover,
.step-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.text-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(95, 113, 92, 0.12);
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-badge.greek {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.text-card h3 {
  margin-top: 18px;
}

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

.steps-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.step-card,
.pricing-card {
  border-radius: var(--radius);
  padding: 24px;
}

.step-visual {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.step-visual svg {
  width: 56px;
  height: 56px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.step-card p,
.pricing-note,
.exam-callout,
.faq-item p,
.footer,
.urgency-copy {
  color: var(--muted-strong);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  margin-top: 12px;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li + li {
  margin-top: 12px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-deep);
}

.pricing-card-pro {
  transform: scale(1.01);
  border-color: rgba(34, 52, 74, 0.26);
  background:
    linear-gradient(180deg, rgba(34, 52, 74, 0.06), transparent 30%),
    var(--paper);
}

.recommended-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #f7f5ef;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.exam-callout {
  margin: 24px 0 22px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.exam-callout p {
  margin: 0;
}

.raw-line {
  font-family: "Libre Baskerville", Georgia, serif;
}

.arrow-line {
  margin: 10px 0;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.polished-line {
  font-weight: 600;
  color: var(--text);
}

.pricing-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.94rem;
}

.urgency-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin: 10px 0 28px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(95, 113, 92, 0.92), rgba(34, 52, 74, 0.92));
  color: #f7f5ef;
  box-shadow: var(--shadow);
}

.urgency-copy p {
  margin: 0;
  color: inherit;
  font-weight: 600;
}

.urgency-banner .button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 20px;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 1.6rem;
  color: var(--sage-deep);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 16px 0 10px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy marketing pages still use <main class="page"> with a simpler document flow. */
.page {
  width: min(calc(100% - 32px), 1040px);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.page .topnav {
  justify-content: flex-end;
}

.content-page {
  display: block;
}

.content-page .hero,
.content-page section {
  max-width: 880px;
}

.content-page .hero {
  display: block;
  margin: 18px 0 0;
  padding: 36px 0 24px;
}

.content-page .hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.content-page section {
  margin-top: 26px;
  padding: 0;
}

.content-page h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.content-page p {
  max-width: 70ch;
  margin: 0 0 18px;
}

.content-page p:last-child {
  margin-bottom: 0;
}

.content-page .footer {
  margin-top: 42px;
}

.page .hero {
  display: block;
  margin: 26px 0 0;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    var(--paper);
  box-shadow: var(--shadow);
}

.page .hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.page section {
  margin-top: 18px;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--glow);
}

.page section:first-of-type {
  border-top: 1px solid var(--line);
}

.page h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.page p {
  margin: 0 0 8px;
}

.page p:last-child {
  margin-bottom: 0;
}

.reader-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #f7f5ef;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(21, 38, 59, 0.18);
}

.reader-link:hover {
  transform: translateY(-2px);
}

.micro-proof {
  color: var(--muted);
  font-size: 0.94rem;
}

.page .footer {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: var(--glow);
}

.page section a:not(.reader-link),
.page .footer a {
  color: var(--accent);
  text-decoration: none;
}

.page section a:not(.reader-link):hover,
.page .footer a:hover {
  color: var(--accent-strong);
}

.page strong {
  color: var(--text);
}

.page .hero p,
.page section p {
  max-width: 70ch;
}

.page .hero > p:last-child,
.page section > p:last-child {
  margin-bottom: 0;
}

@media (min-width: 760px) {
  .page-shell {
    width: min(calc(100% - 56px), var(--max-width));
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.78fr);
    padding-top: 48px;
  }

  .home-fork-options {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .urgency-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 759px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 10px 0 18px;
  }

  .topnav {
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .theme-toggle {
    margin-top: 4px;
  }

  .topnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  .home-fork-bar {
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .home-fork-options {
    gap: 8px;
    padding: 0 10px;
  }

  .product-shot {
    transform: none;
    padding: 12px 12px 0;
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-bottom: 48px;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    margin-top: 12px;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero,
  .demo-section,
  .text-grid-section,
  .how-section,
  .pricing-section,
  .faq-section {
    padding: 22px 0;
  }

  .button,
  .button-wide {
    width: 100%;
  }

  .site-header {
    gap: 10px;
    padding-bottom: 14px;
  }

  .brand {
    gap: 8px;
  }

  .topnav {
    gap: 8px;
  }

  .topnav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .home-fork-bar {
    margin-bottom: 0;
  }

  .home-fork-options {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 8px;
    padding: 0;
  }

  .home-fork-option {
    width: auto;
    max-width: 100%;
    min-height: 38px;
    padding: 0 14px;
  }

  .home-fork-option-title {
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }

  .hero-subline,
  .section-intro {
    font-size: 0.98rem;
  }

  .hero-subline {
    margin-top: 18px;
    gap: 6px;
  }

  .hero-proof {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .hero-note-card,
  .step-card,
  .pricing-card {
    padding: 18px;
  }

  .product-shot {
    border-radius: 24px;
    padding: 10px 10px 0;
  }

  .watch-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }

  .page {
    width: min(calc(100% - 24px), 1040px);
  }

  .page .topbar,
  .page .hero,
  .page section,
  .page .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .product-shot,
  .pricing-card-pro {
    transform: none;
  }
}
