@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-400.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-500.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-700.ttf") format("truetype");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-regular.ttf") format("truetype");
}

:root {
  --bg: #0b0f14;
  --bg-soft: rgba(18, 24, 33, 0.92);
  --surface: rgba(22, 30, 40, 0.88);
  --surface-strong: #161d27;
  --surface-elevated: rgba(26, 35, 47, 0.96);
  --text: #f5efe6;
  --muted: #a7b0bb;
  --accent: #ff7a3d;
  --accent-soft: #ff9b69;
  --accent-cool: #75b6ff;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.22);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 61, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 26%),
    linear-gradient(180deg, #111723 0%, var(--bg) 100%);
  min-height: 100vh;
  position: relative;
}

main {
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

.ambient {
  position: fixed;
  inset: auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.32;
  z-index: 0;
}

.ambient-left {
  top: 90px;
  left: -120px;
  background: rgba(255, 122, 61, 0.24);
}

.ambient-right {
  top: 280px;
  right: -90px;
  background: rgba(117, 182, 255, 0.16);
}

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.site-header,
.hero,
.section,
.site-footer,
.flash-stack,
.auth-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.78), rgba(11, 15, 20, 0));
  transition: transform 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
}

.brand,
h1,
h2 {
  font-family: "DM Serif Display", serif;
}

.brand {
  font-size: 2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav form {
  margin: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  white-space: nowrap;
}

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

.button.primary {
  background: linear-gradient(180deg, rgba(255, 122, 61, 0.96), rgba(255, 122, 61, 0.74));
  color: #111723;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(255, 122, 61, 0.22);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.05);
}

.site-nav > a,
.nav-button,
.nav-user {
  padding: 8px 0;
}

.nav-user {
  color: var(--accent-soft);
}

.site-nav > a,
.nav-button {
  transition: color 160ms ease;
}

.site-nav > a:hover,
.nav-button:hover {
  color: var(--text);
}

.nav-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  min-height: 0;
  box-shadow: none;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding: 54px 0 46px;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.collection-card,
.story-copy,
.story-callout,
.product-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story-copy,
.story-callout {
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.eyebrow,
.badge,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(3.6rem, 6.6vw, 6.6rem);
  line-height: 0.95;
}

h1 span {
  color: var(--accent);
}

h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-copy p,
.section-heading p,
.story-copy p,
.panel-copy,
.card-body p,
.collection-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-interface {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(117, 182, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    var(--surface-elevated);
  box-shadow: var(--shadow);
}

.interface-top,
.interface-command,
.interface-list > div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.interface-top {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.interface-top span,
.interface-list span,
.interface-command span,
.proof-strip span {
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interface-top strong {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

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

.interface-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  align-items: center;
}

.interface-list strong {
  color: #d7f8df;
}

.interface-command {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  color: var(--muted);
}

.interface-command strong {
  color: var(--text);
}

.proof-strip {
  width: min(1120px, 100%);
  margin: -10px auto 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip > div {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.proof-strip strong {
  display: block;
  margin: 8px 0 6px;
}

.proof-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.collection-card {
  border-radius: var(--radius-sm);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.section {
  padding: 46px 0;
}

.section-tight {
  padding-top: 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.shop-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 16px;
}

.shop-intro-grid {
  margin-bottom: 22px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 61, 0.22);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
}

.product-card img,
.product-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
}

.product-card img {
  object-fit: cover;
}

.product-visual {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 122, 61, 0.22), transparent 42%),
    radial-gradient(circle at 65% 65%, rgba(117, 182, 255, 0.18), transparent 42%);
  filter: blur(18px);
}

.product-visual span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.card-body {
  padding: 20px;
  display: grid;
  align-content: start;
}

.card-body h3 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
}

.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 61, 0.08);
  border: 1px solid rgba(255, 122, 61, 0.12);
}

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  align-items: center;
}

.card-row span {
  text-align: right;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  color: var(--accent-soft);
  font-weight: 700;
}

.card-link:hover {
  color: var(--text);
}

.card-feature-list {
  min-height: 76px;
  color: var(--muted);
}

.package-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.package-actions .button {
  min-height: 42px;
  padding: 0 14px;
}

.collections .collection-card {
  min-height: 180px;
}

.showcase-section {
  padding-top: 18px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 22px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(117, 182, 255, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--surface-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.showcase-stack {
  display: grid;
  gap: 12px;
  align-content: center;
}

.showcase-pill {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.story-callout {
  display: grid;
  align-content: center;
  gap: 14px;
}

.story-callout .button {
  width: fit-content;
}

.shop-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 122, 61, 0.14), transparent 28%),
    var(--surface-elevated);
  box-shadow: var(--shadow);
}

.shop-cta h2 {
  margin-bottom: 10px;
}

.shop-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 62ch;
}

.shop-cta .button {
  flex-shrink: 0;
}

.flash-stack {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.flash {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flash-success {
  border-color: rgba(72, 187, 120, 0.35);
}

.flash-error {
  border-color: rgba(255, 122, 61, 0.35);
}

.auth-shell {
  display: grid;
  gap: 24px;
  padding: 28px 0 34px;
}

.auth-copy {
  max-width: 680px;
}

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

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 28px;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-form label {
  font-size: 0.95rem;
  color: var(--muted);
}

.auth-form input {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.auth-form input:focus {
  outline: 2px solid rgba(255, 122, 61, 0.35);
  outline-offset: 1px;
}

.auth-submit-button {
  margin-top: 8px;
}

.info-shell {
  padding-top: 20px;
}

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

.info-card {
  padding: 24px;
}

.info-card h2,
.soft-info-card h3 {
  margin: 0 0 12px;
}

.info-card p,
.soft-info-card p,
.support-card p {
  color: var(--muted);
  line-height: 1.65;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
}

.support-card {
  padding: 26px;
}

.support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.support-points span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

.compact-info-sections {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.soft-info-card {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 18px 24px 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.footer-grid a {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
}

.footer-contact,
.footer-copy {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.copyright-mark {
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero,
  .proof-strip,
  .story,
  .product-grid,
  .collection-grid,
  .auth-grid,
  .info-sections,
  .support-layout,
  .shop-intro-grid,
  .showcase-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  main {
    padding: 0 8px 36px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 12px;
    gap: 12px;
    transform: none !important;
  }

  .hero,
  .proof-strip,
  .story,
  .auth-grid,
  .support-layout,
  .showcase-card,
  .shop-intro-grid,
  .product-grid,
  .collection-grid,
  .info-sections {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .story-copy,
  .story-callout {
    padding: 24px;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding-top: 30px;
  }

  .hero-interface,
  .shop-cta {
    padding: 22px;
  }

  .shop-cta {
    display: grid;
    align-items: stretch;
  }

  .shop-cta .button,
  .story-callout .button,
  .package-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    width: 100%;
    gap: 10px;
    margin-top: 2px;
    padding: 0 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(17, 23, 35, 0.96);
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      padding 220ms ease,
      border-color 180ms ease;
  }

  .site-header.is-menu-open .site-nav {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
    padding-top: 12px;
    padding-bottom: 14px;
    border-color: var(--line);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav > a,
  .site-nav > form,
  .nav-user,
  .nav-button {
    width: 100%;
  }

  .site-nav > form {
    margin: 0;
  }

  .site-nav > a,
  .nav-user,
  .nav-button {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
  }

  .footer-grid {
    gap: 16px 24px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
