@font-face {
  font-family: "Panchang";
  src: url("/assets/fonts/Panchang-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Panchang";
  src: url("/assets/fonts/Panchang-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Panchang";
  src: url("/assets/fonts/Panchang-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN2014";
  src: url("/assets/fonts/DIN-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN2014";
  src: url("/assets/fonts/DIN-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN2014";
  src: url("/assets/fonts/DIN-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN2014";
  src: url("/assets/fonts/DIN-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fcfaf6;
  --bg-alt: #f6f0e7;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --panel-2: rgba(255, 248, 239, 0.9);
  --line: rgba(19, 1, 2, 0.12);
  --text: #1b1618;
  --muted: #5f4f4b;
  --soft: #866b62;
  --accent: #ef5d25;
  --accent-2: #f19c23;
  --accent-3: #f01b24;
  --accent-contrast: #130102;
  --shadow: 0 22px 60px rgba(61, 36, 21, 0.1);
  --card-shadow: 0 18px 54px rgba(61, 36, 21, 0.08);
  --header-bg: rgba(252, 250, 246, 0.84);
  --glow-a: rgba(241, 156, 35, 0.18);
  --glow-b: rgba(239, 93, 37, 0.14);
}

body.dark-theme {
  --bg: #130102;
  --bg-alt: #1d0c0c;
  --panel: rgba(26, 16, 15, 0.82);
  --panel-strong: #19100f;
  --panel-2: rgba(38, 24, 23, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff8f3;
  --muted: #d6c2bb;
  --soft: #ae9388;
  --accent: #ef5d25;
  --accent-2: #f19c23;
  --accent-3: #f01b24;
  --accent-contrast: #130102;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --card-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(19, 1, 2, 0.8);
  --glow-a: rgba(241, 156, 35, 0.13);
  --glow-b: rgba(239, 93, 37, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, var(--glow-a), transparent 28%),
    radial-gradient(circle at 88% 12%, var(--glow-b), transparent 24%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 96%, white 4%), var(--bg));
  color: var(--text);
  font-family: "DIN2014", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  transition: background-color 220ms ease, color 220ms ease;
  overflow-x: hidden;
}

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

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

.hidden {
  display: none !important;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-logo {
  position: relative;
  width: 148px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-light {
  display: none;
}

body.dark-theme .logo-light {
  display: block;
}

body.dark-theme .logo-dark {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  font-family: "Panchang", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: scaleX(0.4);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.button,
.theme-toggle,
.menu-toggle {
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: "DIN2014", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.social-row a:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  box-shadow: 0 18px 40px rgba(239, 93, 37, 0.22);
}

.button.ghost {
  background: transparent;
  box-shadow: none;
}

.theme-toggle,
.menu-toggle {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.theme-toggle .fa-sun {
  display: none;
}

body.dark-theme .theme-toggle .fa-sun {
  display: inline-block;
}

body.dark-theme .theme-toggle .fa-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: var(--card-shadow);
}

.mobile-nav-panel a {
  color: var(--muted);
  font-weight: 500;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  color: var(--text);
}

.section {
  padding: 104px 0;
}

.section.hero-section {
  padding: 72px 0 92px;
}

.section.alt {
  background: color-mix(in srgb, var(--bg-alt) 84%, transparent);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Panchang", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.headline-xl,
.headline-lg,
.headline-md {
  margin: 0 0 20px;
  color: var(--text);
  font-family: "Panchang", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.headline-xl {
  max-width: 10.6ch;
  font-size: clamp(2.8rem, 5.7vw, 4.95rem);
  line-height: 1.02;
}

.headline-lg {
  max-width: 15ch;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.06;
}

.headline-md {
  max-width: 18ch;
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.22;
}

.body-lg,
.body,
.body-sm {
  margin: 0;
  color: var(--muted);
  font-family: "DIN2014", Arial, sans-serif;
}

.body-lg {
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.78;
  font-weight: 300;
}

.body {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.body-sm {
  font-size: 0.94rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-grid,
.split-grid,
.cards-grid,
.stats-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.88fr);
  align-items: start;
  gap: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy .headline-xl,
.hero-copy .headline-lg {
  margin-bottom: 18px;
}

.hero-copy .body-lg {
  margin-top: 2px;
}

.hero-copy--home .headline-xl {
  max-width: 9.8ch;
}

.hero-copy--product .headline-xl {
  max-width: 8.8ch;
  font-size: clamp(2.35rem, 4.4vw, 3.95rem);
}

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

.hero-meta {
  margin-top: 22px;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

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

.card,
.panel,
.viewer-shell,
.cta-shell,
.form-shell,
.tile {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 95%, transparent), color-mix(in srgb, var(--panel-2) 88%, transparent));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
}

.card,
.panel,
.tile {
  padding: 32px;
}

.viewer-shell {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.hero-visual {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.hero-media,
.viewer-stage {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 90%, transparent), color-mix(in srgb, var(--bg-alt) 82%, transparent));
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.pill i,
.viewer-badge i {
  color: var(--accent);
}

.list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.list i {
  margin-top: 4px;
  color: var(--accent);
}

.section-divider {
  height: 1px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 36%, var(--line)), color-mix(in srgb, var(--accent-2) 42%, var(--line)), transparent);
}

.form-grid {
  display: grid;
  gap: 18px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--soft);
  font-family: "Panchang", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
}

.field textarea {
  min-height: 156px;
  padding-top: 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--soft) 80%, transparent);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 70%, white 30%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.alert.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: #22c55e;
}

.alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #ef4444;
}

.site-footer {
  padding: 64px 0 34px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.footer-grid {
  grid-template-columns: 1.25fr 0.75fr 0.8fr 0.9fr;
  margin-bottom: 28px;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--text);
  font-family: "Panchang", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
}

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

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  color: var(--muted);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.social-row a:hover {
  color: var(--accent-contrast);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.viewer-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--panel-strong) 82%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.viewer-badge.top-right {
  top: 26px;
  right: 26px;
}

.viewer-badge.bottom-left {
  bottom: 26px;
  left: 26px;
}

.viewer-badge.bottom-center {
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 1100px) {
  .split-grid,
  .cards-grid.three,
  .cards-grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .container {
    width: 100%;
    max-width: 1240px;
    padding-inline: clamp(12px, 4vw, 24px);
  }

  .header-row {
    min-height: 78px;
    gap: clamp(8px, 2vw, 14px);
  }

  .brand-logo {
    width: clamp(88px, 24vw, 116px);
    height: clamp(26px, 7vw, 34px);
  }

  .brand-copy {
    gap: 3px;
    min-width: 0;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .header-actions {
    gap: clamp(6px, 1.8vw, 10px);
  }

  .theme-toggle,
  .menu-toggle {
    flex: 0 0 auto;
  }

  .section {
    padding: 72px 0;
  }

  .headline-xl {
    max-width: 9ch;
    font-size: clamp(2.4rem, 11vw, 3.65rem);
    line-height: 1.02;
  }

  .headline-lg {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .headline-md {
    font-size: 1.2rem;
  }

  .body-lg {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-copy--product .headline-xl,
  .hero-copy--home .headline-xl {
    max-width: 8.2ch;
  }

  .hero-copy--product .headline-xl {
    font-size: clamp(2.15rem, 8vw, 3.2rem);
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card,
  .panel,
  .tile,
  .viewer-shell,
  .form-shell,
  .cta-shell {
    border-radius: 24px;
    padding: 22px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

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

  .viewer-badge {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .viewer-badge.top-right {
    top: 16px;
    right: 16px;
  }

  .viewer-badge.bottom-left {
    left: 16px;
    bottom: 16px;
  }

  .viewer-badge.bottom-center {
    bottom: 16px;
  }
}
