:root {
  --ink: #2f2928;
  --muted: #675f5c;
  --rose: #b86f77;
  --rose-deep: #8f4853;
  --blush: #f7ebe9;
  --ivory: #fffaf5;
  --sage: #647461;
  --sage-soft: #dfe7dc;
  --clay: #d7aaa0;
  --line: rgba(47, 41, 40, 0.14);
  --shadow: 0 20px 60px rgba(47, 41, 40, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(47, 41, 40, 0.08);
  background: rgba(255, 250, 245, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--rose);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 140px);
  overflow: clip;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 250, 245, 0.94) 0%, rgba(255, 250, 245, 0.82) 34%, rgba(255, 250, 245, 0.18) 68%),
    url("assets/hero-astrid-workspace.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 245, 0), var(--ivory));
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 4vw, 32px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--ivory);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--rose-deep);
}

.button-secondary {
  border-color: rgba(47, 41, 40, 0.2);
  background: rgba(255, 250, 245, 0.72);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--rose);
  background: var(--blush);
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 32px);
}

.intro-band {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-grid > p,
.section-heading p,
.pillar p,
.app-card p {
  color: var(--muted);
}

.focus-section {
  background: var(--blush);
}

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

.pillar,
.app-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.82);
  box-shadow: 0 12px 36px rgba(47, 41, 40, 0.06);
}

.pillar {
  padding: 26px;
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
}

.pillar-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.platform-section {
  background: #f4f0e8;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 28px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

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

.app-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  border-color: rgba(184, 111, 119, 0.45);
  box-shadow: var(--shadow);
}

.app-status {
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(100, 116, 97, 0.28);
  border-radius: 999px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-section {
  background: var(--ink);
  color: var(--ivory);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-section .section-kicker {
  color: var(--clay);
}

.contact-panel h2 {
  max-width: 620px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-section .button-primary {
  background: var(--ivory);
  color: var(--ink);
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: var(--clay);
}

.text-link {
  color: rgba(255, 250, 245, 0.78);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ivory);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #211c1b;
  color: rgba(255, 250, 245, 0.72);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(184, 111, 119, 0.5);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(255, 250, 245, 0.95) 0%, rgba(255, 250, 245, 0.86) 44%, rgba(255, 250, 245, 0.52) 100%),
      url("assets/hero-astrid-workspace.png");
    background-position: 60% center;
  }

  .intro-grid,
  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .pillars,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .brand span:last-child {
    max-width: 210px;
  }

  .main-nav {
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.1rem);
  }

  .button,
  .contact-actions .button,
  .text-link {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .section-shell {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
