:root {
  color-scheme: light;
  --bg: #f3efe7;
  --bg-soft: #fcf9f4;
  --surface: rgba(255, 253, 249, 0.8);
  --surface-strong: rgba(255, 254, 251, 0.96);
  --panel: #182028;
  --panel-soft: rgba(24, 32, 40, 0.92);
  --text: #101722;
  --muted: #5b6676;
  --line: rgba(16, 23, 34, 0.1);
  --line-strong: rgba(16, 23, 34, 0.16);
  --accent: #0d8b78;
  --accent-strong: #0b6f61;
  --accent-soft: rgba(13, 139, 120, 0.12);
  --warm: #c67a52;
  --warm-soft: rgba(198, 122, 82, 0.12);
  --shadow: 0 28px 70px rgba(16, 23, 34, 0.12);
  --shadow-soft: 0 14px 32px rgba(16, 23, 34, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1120px;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(198, 122, 82, 0.14), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(13, 139, 120, 0.14), transparent 30%),
    linear-gradient(180deg, #f9f5ee 0%, var(--bg) 36%, #efe8dd 100%);
  font-family: var(--sans);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(249, 245, 238, 0.82);
  border-bottom: 1px solid rgba(16, 23, 34, 0.06);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(16, 23, 34, 0.08);
  background:
    linear-gradient(135deg, rgba(13, 139, 120, 0.18), rgba(198, 122, 82, 0.18));
  font-family: var(--serif);
  font-size: 1.08rem;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.top-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(16, 23, 34, 0.05);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  padding: 76px 0 28px;
}

.hero-grid,
.section-head,
.wide-panel,
.page-hero-card,
.footer-grid {
  display: grid;
  gap: 18px;
}

.hero-grid,
.wide-panel {
  grid-template-columns: 1.14fr 0.86fr;
}

.hero-copy,
.hero-panel,
.app-card,
.studio-card,
.page-hero-card,
.page-card,
.footer-panel,
.wide-panel,
.app-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.hero-panel,
.page-hero-card,
.page-card,
.wide-panel,
.footer-panel {
  padding: 34px;
}

.hero-copy::before,
.page-hero-card::before {
  content: "";
  position: absolute;
  inset: auto auto -90px -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(198, 122, 82, 0.16), transparent 66%);
  pointer-events: none;
}

.hero-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(26, 34, 43, 0.98), rgba(17, 24, 32, 0.94));
  color: #f7f2eb;
}

.hero-panel::after,
.app-card::after,
.studio-card::after,
.page-card::after,
.wide-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(13, 139, 120, 0.14), transparent 66%);
  pointer-events: none;
}

.hero-panel .eyebrow,
.hero-panel .muted-note,
.hero-panel .metric-copy,
.hero-panel p,
.hero-panel li {
  color: rgba(247, 242, 235, 0.78);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

.hero h1,
.page-main h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.section-title,
.footer-panel h2,
.page-card h2,
.page-card h3,
.wide-panel h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.app-card h3,
.studio-card h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.hero-lead,
.page-lead,
.section-copy,
.footer-copy,
.page-copy,
.muted {
  color: var(--muted);
}

.hero-lead,
.page-lead {
  margin: 18px 0 0;
  max-width: 40rem;
  font-size: 1.08rem;
}

.action-row,
.meta-row,
.pill-list,
.card-grid,
.app-grid,
.studio-grid,
.footer-columns {
  display: grid;
  gap: 16px;
}

.action-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.meta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 23, 34, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.92rem;
}

.chip.accent {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.chip.warm {
  border-color: transparent;
  background: var(--warm-soft);
  color: var(--warm);
}

.button,
.ghost-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button {
  background: var(--text);
  color: #fff;
}

.ghost-button {
  border-color: rgba(16, 23, 34, 0.1);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
}

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

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warm);
  font-weight: 700;
  font-size: 0.92rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(198, 122, 82, 0.14);
}

.mini-grid,
.card-grid,
.studio-grid,
.footer-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-grid {
  margin-top: 18px;
}

.mini-card,
.info-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.mini-card strong,
.metric-figure {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.metric-copy,
.mini-card span,
.note {
  color: var(--muted);
}

.panel-note,
.muted-note {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 242, 235, 0.76);
}

.section {
  padding: 26px 0 0;
}

.section-head {
  grid-template-columns: 1.06fr 0.94fr;
  align-items: end;
}

.section-copy {
  margin: 0;
  max-width: 36rem;
}

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

.app-card,
.studio-card {
  padding: 28px;
}

.app-card.promptly {
  background:
    linear-gradient(180deg, rgba(13, 139, 120, 0.08), rgba(255, 253, 249, 0.88));
}

.app-card.drishti {
  background:
    linear-gradient(180deg, rgba(198, 122, 82, 0.08), rgba(255, 253, 249, 0.88));
}

.app-card p,
.studio-card p,
.page-card p,
.wide-panel p {
  margin: 0;
}

.card-list,
.plain-list,
.footer-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card-list li,
.plain-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
}

.card-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.studio-grid {
  margin-top: 22px;
}

.studio-card {
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.wide-panel {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.pill-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.pill-list a span {
  color: var(--muted);
  font-weight: 500;
}

.page-main {
  padding: 60px 0 28px;
}

.page-shell {
  display: grid;
  gap: 18px;
}

.page-hero-card {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.page-card {
  padding: 28px;
  background: var(--surface-strong);
}

.page-card.dark {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(26, 34, 43, 0.98), rgba(17, 24, 32, 0.94));
  color: #f7f2eb;
}

.page-card.dark .eyebrow,
.page-card.dark p,
.page-card.dark li {
  color: rgba(247, 242, 235, 0.78);
}

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

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.info-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.info-card p {
  margin-top: 12px;
  color: var(--muted);
}

.info-card .plain-list {
  margin-top: 14px;
}

.app-strip {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 254, 251, 0.92));
}

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

.footer {
  padding: 64px 0 48px;
}

.footer-grid {
  grid-template-columns: 0.94fr 1.06fr;
}

.footer-panel {
  background: var(--surface);
}

.footer-columns {
  gap: 18px;
}

.footer-columns h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.pill-list a:hover,
.pill-list a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.copyright {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal.delay-1 {
  animation-delay: 80ms;
}

.reveal.delay-2 {
  animation-delay: 160ms;
}

.reveal.delay-3 {
  animation-delay: 240ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .wide-panel,
  .page-hero-card,
  .footer-grid,
  .mini-grid,
  .card-grid,
  .studio-grid,
  .footer-columns,
  .app-strip-grid {
    grid-template-columns: 1fr;
  }

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

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

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    flex: 1 1 auto;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-copy,
  .hero-panel,
  .page-hero-card,
  .page-card,
  .wide-panel,
  .footer-panel,
  .app-card,
  .studio-card,
  .app-strip {
    padding: 24px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

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

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

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