:root {
  color-scheme: light;
  --bg: #e7e1d7;
  --bg-deep: #ddd6ca;
  --paper: #faf7f2;
  --paper-strong: #ffffff;
  --surface: rgba(250, 247, 242, 0.82);
  --surface-strong: rgba(255, 252, 248, 0.94);
  --surface-dark: rgba(24, 38, 53, 0.9);
  --text: #162738;
  --text-soft: #5e6974;
  --text-faint: #89939d;
  --line: rgba(22, 39, 56, 0.1);
  --line-strong: rgba(22, 39, 56, 0.16);
  --primary: #1a2c3d;
  --primary-bright: #33485d;
  --primary-soft: rgba(51, 72, 93, 0.1);
  --secondary: #5d6a76;
  --accent: #8c7860;
  --accent-soft: rgba(140, 120, 96, 0.12);
  --shadow: 0 24px 72px rgba(22, 39, 56, 0.12);
  --shadow-soft: 0 14px 34px rgba(22, 39, 56, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 40px));
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 6%, rgba(26, 44, 61, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(140, 120, 96, 0.08), transparent 30%),
    linear-gradient(180deg, #ece7df 0%, #e5dfd5 52%, #ece7df 100%);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  background:
    linear-gradient(rgba(22, 39, 56, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 39, 56, 0.015) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 70%);
}

.page-shell::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.3), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.24), transparent 20%);
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.24;
}

.ambient-left {
  top: -8rem;
  left: -10rem;
  background: rgba(26, 44, 61, 0.14);
}

.ambient-right {
  top: 9rem;
  right: -12rem;
  background: rgba(140, 120, 96, 0.14);
}

.container {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.section,
.section-tight {
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 1.4rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 24;
  padding: 1rem 0 0;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(249, 245, 239, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(22, 39, 56, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(51, 72, 93, 0.14), rgba(140, 120, 96, 0.12));
  border: 1px solid rgba(22, 39, 56, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 0.74rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
}

.site-nav a,
.footer-links a {
  position: relative;
  font-size: 0.94rem;
  color: var(--text-soft);
  transition: color var(--transition), transform var(--transition);
}

.site-nav a::after,
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.42rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 34, 54, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.34rem auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.88rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #24384c, #18293a);
  box-shadow: 0 14px 28px rgba(22, 39, 56, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(22, 39, 56, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(22, 39, 56, 0.1);
}

.button-nav {
  color: #ffffff;
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 24px rgba(22, 39, 56, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-nav:hover,
.button-nav:focus-visible {
  border-color: rgba(18, 34, 54, 0.18);
  box-shadow: 0 14px 30px rgba(18, 34, 54, 0.12);
}

.button-block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero {
  padding: 4.9rem 0 4rem;
}

.hero-grid,
.intro-grid,
.showcase-grid,
.cta-panel,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2.8rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero .reveal,
.section-entry .reveal,
.metrics .reveal {
  opacity: 1;
  transform: none;
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.entry-card h3 {
  margin: 0;
  font-family: 'Libre Bodoni', serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero h1 {
  max-width: none;
  font-size: inherit;
  color: var(--text);
}

.hero-title-main,
.hero-title-sub {
  display: block;
  word-break: keep-all;
  white-space: nowrap;
}

.hero-title-main {
  font-size: clamp(2.95rem, 5.1vw, 4.9rem);
  line-height: 0.94;
}

.hero-title-sub {
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 2.9vw, 3rem);
  line-height: 1.03;
  color: rgba(22, 39, 56, 0.88);
}

.hero-text,
.section-subtext,
.intro-copy p,
.showcase-copy p,
.story-card p,
.feature-card p,
.guide-card p,
.download-card p,
.showcase-list p,
.cta-panel p,
.site-footer p,
.entry-card p,
.metrics-grid span,
.download-head span {
  color: var(--text-soft);
  line-height: 1.76;
}

.hero-text {
  max-width: 28rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.55rem 0 1.2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 0.85rem 1.05rem 0.85rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 39, 56, 0.08);
  box-shadow: 0 5px 14px rgba(22, 39, 56, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0.92rem;
  top: 50%;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-bright));
  box-shadow: 0 0 0 5px rgba(200, 138, 61, 0.1);
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  min-height: 35rem;
  display: flex;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 16% 8% 12% 18%;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, rgba(24, 38, 53, 0.7), rgba(51, 72, 93, 0.4));
  filter: blur(44px);
  opacity: 0.14;
}

.hero-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 35rem);
  margin-left: auto;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(24, 38, 53, 0.97), rgba(34, 50, 68, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 96px rgba(15, 29, 47, 0.26);
}

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

.hero-frame img {
  width: 100%;
  background: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-xl) - 0.65rem);
}

.hero-frame-head {
  display: inline-flex;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.hero-frame-head span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.floating-note {
  position: absolute;
  z-index: 2;
  max-width: 14.8rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.floating-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.floating-note span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
}

.floating-note-primary {
  left: -1.4rem;
  bottom: 4.2rem;
  background: rgba(24, 38, 53, 0.92);
  color: #ffffff;
}

.floating-note-primary span {
  color: rgba(248, 251, 255, 0.76);
}

.floating-note-secondary {
  right: -1.2rem;
  top: 3.2rem;
  background: rgba(246, 241, 233, 0.9);
}

.section-heading {
  max-width: 38rem;
}

.section-heading h2,
.cta-panel h2 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.section-subtext {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.section-entry {
  padding-top: 1.8rem;
}

.entry-grid,
.metrics-grid,
.story-grid,
.feature-grid,
.download-grid,
.guide-grid {
  display: grid;
  gap: 1.2rem;
}

.entry-grid {
  margin-top: 2.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-card,
.story-card,
.feature-card,
.download-card,
.guide-card,
.showcase-list article,
.metrics-grid article,
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.entry-card {
  min-height: 24.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.entry-card::after,
.story-card::after,
.feature-card::after,
.download-card::after,
.guide-card::after,
.showcase-list article::after,
.metrics-grid article::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.entry-card--cloud {
  color: #ffffff;
  background: linear-gradient(150deg, #18293a 0%, #213547 58%, #2f4457 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 58px rgba(22, 39, 56, 0.18);
}

.entry-card--cloud::before {
  content: '';
  position: absolute;
  width: 18rem;
  height: 18rem;
  top: -7rem;
  right: -5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 68%);
}

.entry-card--cloud::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.entry-card--cloud p,
.entry-card--cloud .entry-card__hint,
.entry-card--cloud .entry-card__list li {
  color: rgba(244, 249, 255, 0.76);
}

.entry-card--desktop {
  background: linear-gradient(180deg, rgba(251, 248, 244, 0.9), rgba(245, 239, 232, 0.94));
  border: 1px solid rgba(22, 39, 56, 0.08);
  box-shadow: var(--shadow-soft);
}

.entry-card--desktop::after {
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.entry-card__eyebrow,
.platform-label,
.story-label,
.step-label,
.metrics-grid strong,
.feature-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-card__eyebrow {
  margin: 0;
  color: var(--accent);
}

.entry-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  max-width: 9ch;
}

.entry-card p,
.download-card p,
.showcase-copy p,
.intro-copy p,
.download-banner p:last-child,
.showcase-list p,
.story-card p,
.feature-card p,
.guide-card p {
  margin: 0;
}

.entry-card__list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.entry-card__list li {
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.6;
}

.entry-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-bright));
}

.entry-card__actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.entry-card__hint {
  font-size: 0.88rem;
}

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

.metrics-grid article {
  padding: 1.55rem;
  background: rgba(249, 245, 239, 0.78);
  border: 1px solid rgba(22, 39, 56, 0.07);
  box-shadow: 0 10px 24px rgba(22, 39, 56, 0.05);
}

.metrics-grid article::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(140, 120, 96, 0.72), rgba(51, 72, 93, 0.52));
}

.metrics-grid strong,
.story-label,
.platform-label,
.step-label,
.feature-index {
  color: var(--primary);
}

.metrics-grid strong {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.metrics-grid p,
.download-head p,
.footer-brand {
  margin: 0;
  font-weight: 700;
}

.metrics-grid p {
  font-family: 'Libre Bodoni', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.metrics-grid span {
  display: block;
  margin-top: 0.45rem;
}

.intro-grid,
.showcase-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 3.1rem;
}

.intro-copy {
  display: grid;
  gap: 1.2rem;
  padding-top: 1.1rem;
}

.story-grid {
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  margin-top: 2.4rem;
}

.story-card,
.feature-card,
.guide-card,
.download-card,
.showcase-list article {
  background: var(--surface);
  border: 1px solid rgba(22, 39, 56, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.story-card,
.feature-card {
  padding: 1.75rem;
}

.story-card::after,
.feature-card::after,
.download-card::after,
.guide-card::after,
.showcase-list article::after {
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.story-card h3,
.feature-card h3,
.showcase-list h3,
.guide-card h3,
.download-card h3,
.download-banner h3 {
  margin: 0.75rem 0 0.8rem;
  font-family: 'Libre Bodoni', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.story-card h3 {
  max-width: none;
  font-size: 1.22rem;
  line-height: 1.25;
}

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

.feature-card {
  min-height: 13.8rem;
}

.feature-card:first-child {
  grid-column: 1 / -1;
  min-height: 0;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(51, 72, 93, 0.08);
}

.showcase {
  padding-top: 0.5rem;
}

.showcase-shell {
  padding: 2.2rem;
  border-radius: calc(var(--radius-xl) + 0.25rem);
  background: linear-gradient(145deg, #18293a 0%, #223446 58%, #2c3d4f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 64px rgba(22, 39, 56, 0.18);
}

.showcase-grid {
  align-items: stretch;
  gap: 1.35rem;
}

.showcase-copy,
.showcase-highlight {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 100%;
}

.showcase-copy {
  align-self: stretch;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-copy h2,
.showcase-highlight h3 {
  margin: 0;
  font-family: 'Libre Bodoni', serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.showcase-copy h2 {
  max-width: 10ch;
  font-size: clamp(2.15rem, 3.5vw, 3.5rem);
  line-height: 1.02;
}

.showcase-shell .showcase-copy p,
.showcase-shell .showcase-highlight p,
.showcase-shell .showcase-list p {
  color: rgba(244, 249, 255, 0.74);
}

.showcase-copy .eyebrow {
  color: rgba(222, 198, 169, 0.82);
}

.showcase-highlight {
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-highlight::before {
  content: '';
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -3rem;
  top: -5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.showcase-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(222, 198, 169, 0.82);
}

.showcase-highlight h3 {
  max-width: 11ch;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.showcase-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-shell .showcase-list article {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.showcase-shell .showcase-list article::after {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-shell .showcase-list h3 {
  color: #ffffff;
}

.download-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #18293a 0%, #223446 54%, #2d4255 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 56px rgba(22, 39, 56, 0.18);
  color: #ffffff;
}

.download-banner h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.45rem;
}

.download-banner p:last-child,
.download-banner .platform-label {
  color: rgba(246, 250, 255, 0.74);
}

.download-banner code {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.download-card {
  padding: 1.9rem;
}

.download-actions {
  display: grid;
  gap: 0.9rem;
}

.download-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.download-version {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.95rem 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
}

.download-version::before {
  content: '';
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary-bright));
  box-shadow: 0 0 0 5px rgba(45, 103, 214, 0.08);
}

.download-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.download-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition), transform var(--transition);
}

.download-sub-link::after {
  content: '→';
  font-size: 0.9rem;
}

.download-sub-link:hover,
.download-sub-link:focus-visible {
  color: var(--primary-bright);
  transform: translateX(2px);
}

.download-card code,
.section-subtext code,
.download-banner code {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.guide-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  display: grid;
  gap: 1.25rem;
}

.guide-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(180deg, #fbf8f3, #f0ebe4);
  padding: 1.2rem 1.2rem 0;
  border-bottom: 1px solid rgba(18, 34, 54, 0.08);
}

.guide-card > div {
  padding: 0 1.55rem 1.55rem;
}

.guide-card--wide img {
  height: 100%;
  min-height: 20rem;
  border-right: 1px solid rgba(18, 34, 54, 0.08);
  border-bottom: 0;
}

.guide-card--wide > div {
  padding: 1.55rem 1.8rem 1.55rem 0;
}

.cta-panel {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem;
  padding: 2.3rem 2.4rem;
  background: linear-gradient(145deg, #18293a 0%, #223446 54%, #314558 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(22, 39, 56, 0.18);
  color: #ffffff;
}

.cta-panel .eyebrow {
  color: rgba(255, 220, 177, 0.9);
}

.cta-panel p {
  margin-top: 0.55rem;
  color: rgba(244, 249, 255, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-wrap {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  padding: 1.8rem 2rem;
  border-top: 1px solid rgba(18, 34, 54, 0.08);
}

.footer-links {
  display: inline-flex;
  gap: 1.1rem;
}

.footer-brand {
  font-size: 1.05rem;
}

.footer-copy {
  text-align: right;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 40;
  min-width: min(28rem, calc(100vw - 2rem));
  max-width: min(32rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(18, 34, 54, 0.94);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(18, 34, 54, 0.24);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

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

@media (max-width: 1180px) {
  .hero-points {
    gap: 0.7rem;
  }

  .floating-note-primary {
    left: 0.5rem;
  }

  .floating-note-secondary {
    right: 0.5rem;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro-grid,
  .showcase-grid,
  .cta-panel,
  .footer-wrap,
  .download-banner,
  .entry-grid {
    grid-template-columns: 1fr;
  }

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

  .metrics-grid,
  .download-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:first-child {
    grid-column: auto;
  }

  .showcase-shell {
    padding: 1.5rem;
  }

  .showcase-list {
    grid-template-columns: 1fr;
  }

  .guide-card--wide {
    grid-template-columns: 1fr;
  }

  .guide-card--wide img {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 34, 54, 0.08);
  }

  .guide-card--wide > div {
    padding: 0 1.55rem 1.55rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-frame {
    margin-right: auto;
    margin-left: 0;
  }

  .floating-note-primary {
    left: 1rem;
    bottom: 1rem;
  }

  .floating-note-secondary {
    right: 1rem;
    top: 1rem;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.7rem 0;
  }

  .section-tight {
    padding: 1rem 0 2.4rem;
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .nav-wrap {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 1.5rem;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.8rem;
    padding-top: 0.85rem;
  }

  .site-nav.is-open {
    display: grid;
  }

  .button-nav {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-title-main {
    font-size: 3rem;
  }

  .hero-title-sub {
    font-size: 1.72rem;
  }

  .section-heading h2,
  .cta-panel h2,
  .entry-card h3 {
    max-width: none;
    font-size: 2.3rem;
    line-height: 1.02;
  }

  .hero-text,
  .section-subtext {
    font-size: 0.98rem;
  }

  .hero-frame {
    padding: 0.75rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button,
  .entry-card__actions .button {
    width: 100%;
  }

  .story-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:first-child {
    grid-column: auto;
  }

  .entry-card,
  .guide-card > div,
  .download-card,
  .story-card,
  .feature-card,
  .showcase-list article,
  .cta-panel,
  .metrics-grid article {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  .entry-card {
    padding-top: 1.55rem;
    padding-bottom: 1.55rem;
    min-height: 0;
  }

  .showcase-copy,
  .showcase-highlight,
  .showcase-shell .showcase-list article {
    padding: 1.35rem;
  }

  .download-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 540px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .hero h1 {
    line-height: 1;
  }

  .hero-title-main {
    font-size: 2.6rem;
  }

  .hero-title-sub {
    font-size: 1.45rem;
    white-space: normal;
  }

  .button {
    min-height: 3rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .guide-card img {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .footer-wrap {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
}

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

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

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