:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --ink: #201a17;
  --soft: #71665e;
  --line: rgba(48, 37, 30, 0.14);
  --accent: #73429e;
  --accent-2: #d0782d;
  --green: #4e8058;
  --shadow: 0 18px 60px rgba(53, 38, 27, 0.09);
}

:root.theme--dark {
  color-scheme: dark;
  --paper: #15120f;
  --surface: #211c18;
  --ink: #f8efe5;
  --soft: #c4b6a8;
  --line: rgba(255, 244, 232, 0.15);
  --accent: #c69bea;
  --accent-2: #efaa62;
  --green: #87b68e;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(
      circle at 85% 5%,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 30rem
    ),
    var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
select {
  font: inherit;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 10;
  transform: translateY(-150%);
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}
.skip:focus {
  transform: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: white;
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 28%, transparent);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-inline: auto;
  font-size: 14px;
}
.nav-links a {
  color: var(--soft);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang,
.icon-btn,
.button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.lang {
  width: 96px;
  padding: 0 8px;
}
.icon-btn {
  width: 38px;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.button.primary {
  border-color: transparent;
  color: white;
  background: var(--accent);
}

main {
  min-height: calc(100vh - 220px);
}
.page-hero {
  padding: 78px 0 42px;
  text-align: center;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin-block: 0;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h1 {
  max-width: 850px;
  margin-inline: auto;
  font: 700 clamp(44px, 7vw, 78px) / 0.98 Georgia, serif;
}
h2 {
  font-size: clamp(29px, 4vw, 44px);
}
h3 {
  font-size: 22px;
}
.page-hero p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 21px);
}
.trail {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #c84838,
    #dc8a2a,
    #5a8f5a,
    #3a6ea8,
    #7a4aa8
  );
}

.feature-list {
  padding: 22px 0 86px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 58px 0;
}
.feature:nth-child(even) .feature-copy {
  order: 2;
}
.feature-copy p {
  color: var(--soft);
}
.feature-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 19px;
}
.feature-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.callout {
  margin-bottom: 90px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.callout p {
  margin-bottom: 0;
  color: var(--soft);
}

.billing {
  display: inline-flex;
  position: relative;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.billing button {
  min-width: 108px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}
.billing button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.billing-badge {
  position: absolute;
  inset: -21px -19px auto auto;
  padding: 2px 7px;
  border-radius: 6px;
  color: white;
  background: var(--green);
  font-size: 10px;
  font-weight: 750;
}
.notice {
  display: none;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent-2);
  border-radius: 10px;
  background: var(--surface);
}
.notice.visible {
  display: block;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 12px 0 38px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
}
.plan-tagline,
.plan-lead,
.pricing-note {
  color: var(--soft);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 24px 0 4px;
}
.price strong {
  font: 700 44px/1 Georgia, serif;
}
.local-price {
  min-height: 24px;
  color: var(--soft);
  font-size: 13px;
}
.plan-lead {
  min-height: 104px;
}
.plan ul {
  flex: 1;
  list-style: none;
  padding: 0;
}
.plan li {
  position: relative;
  margin: 11px 0;
  padding-inline-start: 23px;
  font-size: 14px;
}
.plan li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 900;
}
.plan .button {
  width: 100%;
  margin-top: 10px;
}
.pricing-note {
  max-width: 760px;
  margin: 0 auto 84px;
  text-align: center;
}

.path-list,
.contact-grid {
  display: grid;
  gap: 20px;
  padding: 12px 0 88px;
}
.path-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.path-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.path-card p,
.path-card li {
  color: var(--soft);
}
.path-card .button {
  margin-top: 8px;
}
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}
.contact-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.contact-card p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 14px;
}
.company {
  margin-bottom: 84px;
  padding: 30px;
  border-top: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--soft);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .controls {
    margin-inline-start: auto;
  }
  .controls .login {
    display: none;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0;
  }
  .feature:nth-child(even) .feature-copy {
    order: initial;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
  .plan.featured {
    transform: none;
  }
  .plan-lead {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }
  .page-hero {
    padding: 50px 0 28px;
  }
  h1 {
    font-size: 43px;
  }
  .lang {
    width: 72px;
  }
  .controls .icon-btn {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .callout,
  .path-card,
  .plan {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
