:root {
  --bg: #080806;
  --bg-2: #10100d;
  --ink: #faf6ea;
  --muted: #c4beb0;
  --soft: #8f897e;
  --panel: rgba(250, 246, 234, 0.065);
  --panel-strong: rgba(250, 246, 234, 0.11);
  --line: rgba(250, 246, 234, 0.14);
  --gold: #e6c46a;
  --gold-soft: #c39f4f;
  --mint: #6ee7c8;
  --coral: #f28b68;
  --blue: #9cb7ff;
  --dark-card: #11110e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  animation: page-in 280ms var(--ease-out) both;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(230, 196, 106, 0.12), transparent 260px),
    linear-gradient(122deg, rgba(250, 246, 234, 0.075), transparent 34%),
    linear-gradient(238deg, rgba(110, 231, 200, 0.06), transparent 38%),
    linear-gradient(180deg, var(--bg), #0c0c0a 46%, #090907);
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  background: linear-gradient(120deg, transparent 0%, rgba(250, 246, 234, 0.055) 38%, transparent 72%);
  content: "";
  animation: ambient-sweep 16s ease-in-out infinite alternate;
  inset: 76px -8vw auto -8vw;
  height: 560px;
  opacity: 0.75;
  pointer-events: none;
  position: fixed;
  transform: translateX(-2%);
  z-index: -1;
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.08;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(230, 196, 106, 0.7);
  outline-offset: 4px;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 6, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  transition: background-color 220ms ease, border-color 220ms ease;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  min-width: 0;
  padding: 9px 0;
  position: relative;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.brand::after {
  background: linear-gradient(90deg, var(--gold), rgba(110, 231, 200, 0.72));
  border-radius: 999px;
  bottom: 2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 220ms var(--ease-out), opacity 220ms ease;
  width: 100%;
}

.brand:hover {
  color: #ffffff;
}

.brand:hover::after {
  transform: scaleX(1);
}

.site-nav,
.footer-links,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
  position: relative;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after,
.footer-links a::after {
  background: linear-gradient(90deg, var(--gold), rgba(230, 196, 106, 0));
  border-radius: 999px;
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out), opacity 220ms ease;
  width: 100%;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.footer-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero,
.app-detail-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 96px 28px 64px;
  position: relative;
}

.hero::after,
.app-detail-hero::after {
  background: linear-gradient(90deg, transparent, rgba(230, 196, 106, 0.34), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 28px;
  position: absolute;
  right: 28px;
}

.hero-copy,
.app-detail-copy {
  max-width: 900px;
}

.hero-copy > *,
.app-detail-copy > * {
  animation: rise-in 540ms var(--ease-out) both;
}

.hero-copy > *:nth-child(2),
.app-detail-copy > *:nth-child(2) {
  animation-delay: 40ms;
}

.hero-copy > *:nth-child(3),
.app-detail-copy > *:nth-child(3) {
  animation-delay: 80ms;
}

.hero-copy > *:nth-child(4),
.app-detail-copy > *:nth-child(4) {
  animation-delay: 120ms;
}

.hero-kicker,
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 76px;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: 44px;
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.lede {
  color: #d8dce5;
  font-size: 1.25rem;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 830;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    color 180ms ease,
    transform 220ms var(--ease-out);
}

.button:not(.button-disabled):hover {
  transform: translateY(-2px);
}

.button:not(.button-disabled):active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, #efd789, #d4ad53);
  color: #111111;
  box-shadow: 0 12px 32px rgba(230, 196, 106, 0.2);
}

.button-primary:hover {
  background: #f3d98e;
  box-shadow: 0 18px 42px rgba(230, 196, 106, 0.28);
}

.button-secondary {
  background: rgba(250, 246, 234, 0.055);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(232, 198, 109, 0.48);
}

.button-disabled {
  background: rgba(250, 246, 234, 0.095);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-metrics,
.studio-strip,
.feature-grid,
.app-grid,
.support-grid,
.mockup-gallery,
.premium-grid {
  display: grid;
  gap: 16px;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.metric,
.feature,
.app-card,
.product-panel,
.company-section,
.support-block,
.policy,
.app-info-panel,
.premium-card {
  background:
    linear-gradient(180deg, rgba(250, 246, 234, 0.09), rgba(250, 246, 234, 0.032)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-out);
}

.metric {
  animation: rise-in 560ms var(--ease-out) both;
  padding: 22px;
  position: relative;
}

.hero-metrics .metric:nth-child(1) {
  animation-delay: 140ms;
}

.hero-metrics .metric:nth-child(2) {
  animation-delay: 190ms;
}

.hero-metrics .metric:nth-child(3) {
  animation-delay: 240ms;
}

.metric::before,
.app-card::before,
.feature::before,
.premium-card::before {
  background: linear-gradient(90deg, rgba(230, 196, 106, 0.7), transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.42;
  position: absolute;
  right: 0;
  top: 0;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.metric span {
  color: var(--soft);
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px 28px;
}

.section-heading {
  max-width: 760px;
}

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

.mission-panel {
  animation: rise-in 580ms var(--ease-out) both;
  background:
    linear-gradient(135deg, rgba(250, 246, 234, 0.13), rgba(250, 246, 234, 0.055)),
    rgba(12, 12, 10, 0.78);
  border: 1px solid rgba(230, 196, 106, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 34px;
}

.mission-panel p,
.mission-panel .eyebrow {
  color: var(--gold);
}

.mission-panel h2 {
  color: var(--ink);
}

.mission-list {
  display: grid;
  gap: 14px;
}

.mission-item {
  border-top: 1px solid rgba(250, 246, 234, 0.14);
  padding-top: 14px;
}

.mission-item strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.mission-item span {
  color: var(--muted);
  line-height: 1.6;
}

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

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

.app-card {
  align-items: flex-start;
  animation: rise-in 560ms var(--ease-out) both;
  color: inherit;
  display: grid;
  gap: 20px;
  grid-template-columns: 86px 1fr;
  min-height: 210px;
  padding: 24px;
  position: relative;
  text-decoration: none;
}

.app-card-link {
  overflow: hidden;
}

.app-card-link:hover {
  border-color: rgba(230, 196, 106, 0.52);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  transform: translateY(-4px);
}

.app-card-link::after {
  background: linear-gradient(115deg, transparent 0%, rgba(250, 246, 234, 0.12) 48%, transparent 72%);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: translateX(-26%);
  transition: opacity 220ms ease, transform 520ms var(--ease-out);
}

.app-card-link:hover::after {
  opacity: 1;
  transform: translateX(24%);
}

.app-card h3 {
  font-size: 1.45rem;
}

.app-icon,
.app-placeholder,
.app-detail-icon,
.studio-mark {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  color: #07080d;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  width: 86px;
}

.app-detail-icon {
  margin-bottom: 24px;
  width: 104px;
}

.studio-mark,
.app-placeholder {
  background: linear-gradient(135deg, #efd789, #c49a3f);
  font-size: 1.35rem;
}

.panel-label,
.status-pill {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.status-pill {
  align-items: center;
  background: rgba(230, 196, 106, 0.11);
  border: 1px solid rgba(230, 196, 106, 0.25);
  border-radius: 999px;
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
}

.text-link {
  color: var(--gold);
  display: inline-block;
  font-size: 0.94rem;
  font-weight: 820;
  margin-top: 14px;
  transition: color 180ms ease, transform 220ms var(--ease-out);
}

.text-link:hover {
  color: #f1d889;
  transform: translateX(3px);
}

.feature-grid,
.support-grid,
.premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.feature,
.premium-card {
  animation: rise-in 560ms var(--ease-out) both;
  padding: 24px;
  position: relative;
}

.feature-grid .feature:nth-child(2),
.premium-grid .premium-card:nth-child(2),
.app-grid .app-card:nth-child(2) {
  animation-delay: 80ms;
}

.feature-grid .feature:nth-child(3),
.premium-grid .premium-card:nth-child(3),
.app-grid .app-card:nth-child(3) {
  animation-delay: 160ms;
}

.feature:hover,
.premium-card:hover,
.metric:hover,
.product-panel:hover,
.company-section:hover,
.support-block:hover,
.app-info-panel:hover {
  border-color: rgba(230, 196, 106, 0.28);
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.52);
  transform: translateY(-3px);
}

.feature h3::before,
.premium-card h3::before {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  margin-bottom: 15px;
  width: 34px;
}

.feature:nth-child(2) h3::before,
.premium-card:nth-child(2) h3::before {
  background: var(--mint);
}

.feature:nth-child(3) h3::before,
.premium-card:nth-child(3) h3::before {
  background: var(--coral);
}

.feature p,
.app-card p,
.support-block p,
.company-section p,
.app-info-panel p,
.premium-card p,
.metric p {
  margin-bottom: 0;
}

.company-section,
.product-panel,
.app-info-panel {
  align-items: center;
  animation: rise-in 560ms var(--ease-out) both;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: 30px;
}

.content-page {
  margin: 0 auto;
  max-width: 920px;
  padding: 62px 28px 84px;
}

.page-title {
  margin-bottom: 32px;
}

.page-title h1 {
  font-size: 58px;
}

.policy,
.support-block {
  animation: rise-in 560ms var(--ease-out) both;
  padding: 30px;
}

.policy h2,
.support-block h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  margin-top: 28px;
}

.policy h2:first-child,
.support-block h2:first-child {
  margin-top: 0;
}

.mockup-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.phone-frame {
  animation: rise-in 560ms var(--ease-out) both;
  background:
    linear-gradient(180deg, rgba(250, 246, 234, 0.12), rgba(250, 246, 234, 0.035)),
    #050504;
  border: 1px solid rgba(250, 246, 234, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.52);
  min-height: 488px;
  padding: 12px;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-out);
}

.phone-frame:hover {
  border-color: rgba(230, 196, 106, 0.34);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.58);
  transform: translateY(-4px);
}

.mockup-gallery .phone-frame:nth-child(1) {
  animation-delay: 100ms;
}

.mockup-gallery .phone-frame:nth-child(2) {
  animation-delay: 150ms;
}

.mockup-gallery .phone-frame:nth-child(3) {
  animation-delay: 200ms;
}

.phone-screen {
  background: #f6ecd8;
  border-radius: 8px;
  color: #241f18;
  height: 464px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.phone-screen.dark {
  background: #11131a;
  color: #f8f0de;
}

.phone-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-title {
  font-size: 1.15rem;
  font-weight: 900;
}

.phone-chip,
.mini-chip {
  background: rgba(186, 65, 45, 0.12);
  border-radius: 999px;
  color: #8f2e20;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  padding: 6px 9px;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-row,
.meal-tile,
.shopping-row {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 31, 26, 0.12);
  border-radius: 8px;
  padding: 12px;
}

.mini-row strong,
.meal-tile strong,
.shopping-row strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.mini-row span,
.meal-tile span,
.shopping-row span {
  color: #665b50;
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
}

.meal-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.meal-tile {
  min-height: 94px;
}

.shopping-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px 1fr;
}

.check-dot {
  background: #ba412d;
  border-radius: 999px;
  height: 18px;
  width: 18px;
}

.phone-footer {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(33, 31, 26, 0.12);
  border-radius: 8px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  left: 16px;
  padding: 10px;
  position: absolute;
  right: 16px;
}

.phone-footer span {
  background: rgba(33, 31, 26, 0.08);
  border-radius: 999px;
  color: #665b50;
  flex: 1;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 4px;
  text-align: center;
}

.pricing-note {
  color: #d8dce5;
  font-size: 1.1rem;
  max-width: 760px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 48px auto 0;
  max-width: 1180px;
  padding: 26px 28px;
}

.site-footer p {
  color: var(--soft);
  font-size: 0.92rem;
  margin: 0;
}

@keyframes page-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambient-sweep {
  from {
    opacity: 0.45;
    transform: translateX(-2%);
  }

  to {
    opacity: 0.8;
    transform: translateX(2%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-metrics,
  .mission-panel,
  .mockup-gallery,
  .feature-grid,
  .premium-grid,
  .support-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .mission-panel,
  .company-section,
  .product-panel,
  .app-info-panel {
    grid-template-columns: 1fr;
  }
}

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

  .hero,
  .app-detail-hero,
  .section,
  .content-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1,
  .page-title h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 1.08rem;
  }

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

  .phone-frame {
    min-height: auto;
  }
}
