:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --bg-raised: #fffefa;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-tint: #eaf4f3;
  --line: #d7e0de;
  --line-strong: #b9cac7;
  --text: #17252d;
  --muted: #5f6f76;
  --teal: #176b73;
  --teal-dark: #0e4e56;
  --rose: #b34f7b;
  --gold: #a9711f;
  --max-width: 1200px;
  --reading-width: 790px;
  --shadow: 0 24px 70px rgba(29, 62, 70, 0.13);
  --shadow-soft: 0 12px 34px rgba(29, 62, 70, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(121, 211, 214, 0.22), transparent 30rem),
    radial-gradient(circle at 94% 13%, rgba(233, 167, 196, 0.2), transparent 26rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 58%, #f3f1ea 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #ffffff;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 140ms ease-out;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(185, 202, 199, 0.75);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.page-shell,
.site-footer__inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(23, 107, 115, 0.09);
  color: var(--teal-dark);
}

.site-nav .site-nav__primary {
  background: var(--teal-dark);
  color: #ffffff;
}

.site-nav .site-nav__primary:hover {
  background: #0a3f46;
  color: #ffffff;
}

.page-shell {
  padding: 72px 0 96px;
}

.hero {
  display: grid;
  min-height: min(720px, calc(100dvh - 72px));
  align-items: center;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
  gap: clamp(42px, 6vw, 84px);
  padding: 66px 0 76px;
}

.hero-copy-block {
  min-width: 0;
}

.trust-hero {
  min-height: min(620px, calc(100dvh - 72px));
  padding-top: 52px;
}

.trust-hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
}

.eyebrow,
.status-pill,
.card-kicker,
.resource-card__label {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(179, 79, 123, 0.1);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 770px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.4vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.subpage-title {
  max-width: 880px;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.22rem;
}

.hero-copy,
.page-intro,
.section-lead {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.26rem);
}

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

.hero-actions,
.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font-weight: 780;
  text-decoration: none;
  transition: border-color 150ms ease-out, background 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}

.button:hover {
  border-color: rgba(23, 107, 115, 0.55);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(29, 62, 70, 0.09);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(14, 78, 86, 0.2);
}

.button--primary:hover {
  border-color: #0a3f46;
  background: #0a3f46;
  color: #ffffff;
}

.text-link {
  font-weight: 780;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-proof li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

.hero-media {
  min-width: 0;
  margin: 0;
}

.hero-media__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 202, 199, 0.9);
  border-radius: 28px;
  background: #152735;
  box-shadow: var(--shadow);
  transform: rotate(0.35deg);
}

.hero-media__frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.hero-media img {
  width: 100%;
  height: auto;
}

.hero-media figcaption {
  margin: 16px 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.hero-media figcaption strong {
  color: var(--text);
}

.section {
  padding: 68px 0;
}

.section + .section {
  border-top: 1px solid rgba(185, 202, 199, 0.66);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading--wide {
  max-width: 880px;
}

.intro-section {
  padding-top: 80px;
}

.intro-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
}

.section-lead {
  max-width: 720px;
  margin: 0;
}

.beta-note {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.beta-note strong {
  font-size: 1.05rem;
}

.beta-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.feature-grid--compact .feature-card {
  min-height: 220px;
}

.feature-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

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

.feature-card code,
.prose code,
.release-code {
  border: 1px solid rgba(23, 107, 115, 0.17);
  border-radius: 7px;
  background: rgba(23, 107, 115, 0.075);
  color: var(--teal-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.feature-card code,
.prose code {
  padding: 0.1em 0.35em;
}

.showcase {
  display: grid;
  align-items: center;
  margin-top: 40px;
  padding: clamp(38px, 6vw, 70px);
  border: 1px solid #b8d4d2;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(236, 167, 198, 0.34), transparent 22rem),
    linear-gradient(135deg, #e6f3f2 0%, #f9f4ed 100%);
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.55fr);
  gap: clamp(38px, 7vw, 88px);
  box-shadow: var(--shadow-soft);
}

.showcase p:not(.eyebrow) {
  max-width: 680px;
  color: #4f6269;
}

.showcase-facts {
  margin: 0;
  border-top: 1px solid rgba(23, 107, 115, 0.22);
}

.showcase-facts div {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 107, 115, 0.22);
  grid-template-columns: 0.7fr 1.3fr;
  gap: 14px;
}

.showcase-facts dt {
  color: var(--teal-dark);
  font-weight: 780;
}

.showcase-facts dd {
  margin: 0;
  color: #53666c;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.resource-card {
  display: flex;
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  flex-direction: column;
  text-decoration: none;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}

.resource-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transform: translateY(-2px);
}

.resource-card__label {
  margin-bottom: auto;
}

.resource-card strong {
  margin-top: 30px;
  font-size: 1.18rem;
}

.resource-card > span:last-child {
  margin-top: 6px;
  color: var(--muted);
}

.trust-line {
  max-width: 860px;
  margin: 30px 0 0;
  color: var(--muted);
}

.page-heading {
  padding: 50px 0 38px;
  border-bottom: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: clamp(34px, 7vw, 80px);
  padding-top: 52px;
}

.prose {
  min-width: 0;
  max-width: var(--reading-width);
}

.prose h2 {
  margin-top: 56px;
  padding-top: 8px;
}

.prose [id] {
  scroll-margin-top: 104px;
}

.prose h3 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: #4f6168;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #edf5f3;
  color: #173139;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  font: 0.92rem/1.62 ui-monospace, SFMono-Regular, Consolas, monospace;
  tab-size: 2;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.workflow-list {
  padding-left: 1.5rem;
}

.workflow-list li {
  padding-left: 0.35rem;
}

.availability-note h2 {
  margin-top: 0;
  margin-bottom: 12px;
  padding-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.prose li + li {
  margin-top: 9px;
}

.release-code {
  display: inline-block;
  padding: 6px 9px;
}

.sidebar {
  align-self: start;
}

.sidebar-card,
.notice,
.legal-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.sidebar-card {
  position: sticky;
  top: 96px;
  border-left: 3px solid var(--teal);
  box-shadow: var(--shadow-soft);
}

.sidebar-card ul {
  margin: 0;
  padding-left: 20px;
}

.notice {
  box-shadow: var(--shadow-soft);
}

.legal-identity {
  border-color: #d6bc83;
  background: linear-gradient(140deg, rgba(255, 249, 231, 0.9), rgba(232, 246, 245, 0.9));
}

.legal-block {
  margin-top: 28px;
}

.legal-block h2 {
  margin-top: 0;
}

.legal-block ol,
.legal-block ul {
  padding-left: 23px;
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #e9efec;
}

.site-footer__inner {
  display: grid;
  padding: 36px 0 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: #4f6368;
}

.copyright {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 58px;
  }

  .hero-copy-block {
    max-width: 820px;
  }

  .hero-media {
    max-width: 900px;
  }

  .intro-grid,
  .showcase,
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .page-shell,
  .site-footer__inner {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    flex-wrap: nowrap;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .page-shell {
    padding-top: 40px;
  }

  .prose [id] {
    scroll-margin-top: 156px;
  }

  .hero {
    gap: 38px;
    padding: 36px 0 58px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .subpage-title {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-media__frame {
    border-radius: 18px;
    transform: none;
  }

  .hero-media figcaption {
    text-align: left;
  }

  .section {
    padding: 52px 0;
  }

  .feature-grid,
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase {
    margin-top: 24px;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .showcase-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

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