:root {
  --bg: #0a0c0f;
  --bg-elevated: #141820;
  --bg-card: #181d26;
  --text: #f2f4f7;
  --text-muted: #9aa3b2;
  --accent: #d4af37;
  --accent-bright: #e8c547;
  --accent-soft: rgba(212, 175, 55, 0.14);
  --accent-glow: rgba(212, 175, 55, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --max-width: 42rem;
  --content-width: 72rem;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 0.75rem;
  --radius-lg: 1.125rem;
  --shadow-glow: 0 0 48px rgba(212, 175, 55, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(80, 100, 140, 0.06), transparent 50%);
  z-index: -1;
}

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: none;
}

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

/* ——— Header ——— */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 15, 0.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.site-header--compact {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.site-header--compact .site-header__inner {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: padding 0.2s ease;
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.lang-switch__btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-switch__btn + .lang-switch__btn {
  border-left: 1px solid var(--border);
}

.lang-switch__btn:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.lang-switch__btn.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ——— Layout ——— */

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section {
  margin-bottom: 5rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section__lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 0 2rem;
}

.staff-rule {
  height: 1px;
  border: none;
  margin: 0 0 3rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong) 20%,
    var(--accent-soft) 50%,
    var(--border-strong) 80%,
    transparent
  );
}

/* ——— Hero ——— */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 0 5rem;
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 56rem) {
  .hero__content {
    text-align: left;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero__lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

@media (min-width: 56rem) {
  .hero__lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 56rem) {
  .hero__tags {
    justify-content: flex-start;
  }
}

.tag {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

@media (min-width: 56rem) {
  .cta-row {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #1a1508;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 28px var(--accent-glow);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  background: var(--bg-elevated);
}

.store-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.store-badge svg {
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.85;
}

/* ——— Hero devices ——— */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 22rem;
}

.device-cluster {
  position: relative;
  width: min(100%, 20rem);
  height: 24rem;
}

.device {
  position: absolute;
  border-radius: 2rem;
  background: linear-gradient(145deg, #2a2f38, #1a1e24);
  padding: 0.5rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.device--primary {
  width: 11.5rem;
  left: 50%;
  top: 0;
  transform: translateX(-58%);
  z-index: 2;
}

.device--secondary {
  width: 10rem;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.92;
}

.device__notch {
  width: 35%;
  height: 0.35rem;
  background: #0a0c0f;
  border-radius: 0 0 0.35rem 0.35rem;
  margin: 0 auto 0.35rem;
}

.device__screen {
  border-radius: 1.55rem;
  overflow: hidden;
  background: #0f1114;
  aspect-ratio: 9 / 19.5;
}

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

.device__ui {
  padding: 0.85rem 0.75rem;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.device__ui-title {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.5625rem;
  margin-bottom: 0.65rem;
}

.device__ui-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.device__ui-row:last-child {
  border-bottom: none;
}

.device__ui-num {
  color: var(--accent);
  font-weight: 600;
  min-width: 1rem;
}

.device__ui-label {
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ——— Trust badges ——— */

.trust-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-bottom: 5rem;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-badge__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
}

.trust-badge strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.trust-badge span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ——— Audience cards ——— */

.audience-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-glow);
}

.audience-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.audience-card strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.audience-card span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ——— Feature grid ——— */

.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-card__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
}

.feature-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ——— Offline section ——— */

.offline-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(20, 24, 32, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 48rem) {
  .offline-section {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

.offline-scenarios {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.offline-scenario {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.offline-scenario__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  margin-top: 0.15rem;
}

.offline-scenario strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

.offline-scenario span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.offline-visual {
  display: flex;
  justify-content: center;
}

.offline-phone {
  width: 11rem;
  border-radius: 1.75rem;
  padding: 0.45rem;
  background: linear-gradient(145deg, #2a2f38, #1a1e24);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.offline-phone__screen {
  border-radius: 1.35rem;
  background: #0f1114;
  padding: 1.25rem 1rem;
  min-height: 14rem;
  position: relative;
  overflow: hidden;
}

.offline-phone__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.offline-phone__status-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.offline-phone__staff {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1rem 0;
}

.offline-phone__line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.offline-phone__note {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.offline-phone__caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

/* ——— Philosophy / motto ——— */

.philosophy {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 5rem;
  padding: 2rem 1.5rem;
}

.philosophy blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}

.philosophy cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ——— Bottom CTA ——— */

.cta-panel {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: linear-gradient(180deg, var(--accent-soft), transparent 120%);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.cta-panel p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* ——— Prose pages ——— */

.prose {
  max-width: var(--max-width);
  padding-top: 2.5rem;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.prose .meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: rgba(10, 12, 15, 0.6);
}

.site-footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.site-footer__brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.35rem;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 28rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Legacy list (unused on home but kept for compatibility) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.feature-list strong {
  color: var(--text);
}
