:root {
  color-scheme: dark;
  --ink: #0d0b09;
  --ink-soft: #17130f;
  --cream: #f2ece2;
  --cream-muted: #c8beb0;
  --gold: #d8ad66;
  --gold-light: #f2d39a;
  --line: rgba(242, 236, 226, 0.14);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(178, 125, 57, 0.15), transparent 27rem),
    var(--ink);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 5px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--cream);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border: 1px solid rgba(216, 173, 102, 0.32);
  border-radius: 50%;
}

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.5rem;
}

.language-switcher {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.language-button {
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--cream-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  background: var(--cream);
  color: var(--ink);
}

.header-link {
  text-underline-offset: 0.35rem;
}

.hero {
  display: grid;
  width: min(calc(100% - 3rem), var(--content));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 5.5rem 0 6.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  margin: 0 0 1.75rem;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 7.3vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-description {
  max-width: 580px;
  margin: 2.25rem 0 0;
  color: var(--cream-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 2.5rem;
  align-items: center;
  gap: 1.75rem;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 1.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-light);
}

.text-link {
  color: var(--cream-muted);
  font-size: 0.84rem;
  text-underline-offset: 0.4rem;
}

.hero-mark {
  position: relative;
  min-height: 540px;
}

.logo-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78%, 400px);
  aspect-ratio: 1;
  padding: 0.8rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 173, 102, 0.48);
  border-radius: 50%;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), 0 0 90px rgba(216, 173, 102, 0.08);
}

.logo-frame::after {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(242, 211, 154, 0.22);
  border-radius: 50%;
  content: "";
}

.logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  width: 95%;
}

.orbit-two {
  width: 72%;
  border-style: dashed;
}

.floating-label {
  position: absolute;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(13, 11, 9, 0.86);
  color: var(--cream-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.label-one {
  top: 14%;
  left: 1%;
}

.label-two {
  top: 33%;
  right: -3%;
}

.label-three {
  bottom: 12%;
  left: 10%;
}

.platform {
  padding: 8rem max(1.5rem, calc((100% - var(--content)) / 2));
  background: var(--cream);
  color: var(--ink);
}

.platform .eyebrow {
  color: #8b642e;
}

.section-heading {
  display: grid;
  margin-bottom: 4rem;
  align-items: end;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.65rem;
}

.section-heading h2,
.welcome h2,
.feature-intro h2,
.app-copy h2,
.social-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.feature-showcase {
  display: grid;
  padding: 8rem max(1.5rem, calc((100% - var(--content)) / 2));
  background: #15110e;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 6rem;
}

.feature-intro {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.feature-intro > p:last-child,
.app-copy > p,
.social-content > p {
  max-width: 560px;
  margin: 1.75rem 0 0;
  color: var(--cream-muted);
  line-height: 1.75;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  padding: 2rem 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 52px 1fr;
  gap: 1rem;
}

.feature-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(216, 173, 102, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.feature-item h3 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.feature-item p {
  max-width: 550px;
  margin: 0;
  color: #a79d91;
  line-height: 1.65;
}

.app-section {
  display: grid;
  padding: 8rem max(1.5rem, calc((100% - var(--content)) / 2));
  align-items: center;
  background:
    radial-gradient(circle at 26% 50%, rgba(216, 173, 102, 0.18), transparent 28rem),
    var(--ink);
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 7rem;
}

.app-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
}

.app-visual::before,
.app-visual::after {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.app-visual::before {
  width: 400px;
  height: 400px;
}

.app-visual::after {
  width: 320px;
  height: 320px;
  border-style: dashed;
}

.app-logo-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(216, 173, 102, 0.25);
  filter: blur(48px);
}

.app-visual img {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(216, 173, 102, 0.45);
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.store-badges {
  display: flex;
  margin-top: 2.25rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.store-badge {
  display: flex;
  min-width: 190px;
  min-height: 62px;
  padding: 0.65rem 1rem;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(242, 236, 226, 0.3);
  border-radius: 10px;
  background: #050504;
  color: #fff;
}

.store-badge small,
.store-badge strong {
  display: block;
}

.store-badge small {
  margin-bottom: 0.15rem;
  color: #bfb8ae;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-size: 1.08rem;
  font-weight: 500;
}

.store-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.store-mark-apple {
  border: 1px solid #fff;
  border-radius: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.store-mark-play {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid var(--gold-light);
  filter: drop-shadow(-7px 0 0 rgba(117, 193, 206, 0.65));
}

.store-note {
  font-size: 0.75rem;
}

.capability-grid {
  display: grid;
  border-top: 1px solid rgba(13, 11, 9, 0.2);
  grid-template-columns: repeat(3, 1fr);
}

.capability-card {
  position: relative;
  min-height: 350px;
  padding: 2rem;
  border-right: 1px solid rgba(13, 11, 9, 0.2);
}

.capability-card:last-child {
  border-right: 0;
}

.card-number {
  color: #897d6e;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.card-icon {
  margin: 4.5rem 0 2rem;
  color: #9b7138;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
}

.capability-card h3 {
  margin: 0 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.capability-card p {
  max-width: 290px;
  margin: 0;
  color: #6b6258;
  line-height: 1.7;
}

.welcome {
  display: flex;
  min-height: 590px;
  padding: 7rem max(1.5rem, calc((100% - 900px) / 2));
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(13, 11, 9, 0.52), rgba(13, 11, 9, 0.86)),
    radial-gradient(circle at 50% 20%, rgba(216, 173, 102, 0.3), transparent 45%);
  text-align: center;
}

.welcome .eyebrow::before {
  display: none;
}

.welcome h2 {
  max-width: 850px;
}

.welcome .primary-button {
  margin-top: 2.5rem;
}

.primary-button-light {
  border-color: var(--cream);
  background: transparent;
  color: var(--cream);
}

.primary-button-light:hover,
.primary-button-light:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.social-section {
  display: grid;
  padding: 7rem max(1.5rem, calc((100% - var(--content)) / 2));
  background: var(--cream);
  color: var(--ink);
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.social-section .eyebrow {
  color: #8b642e;
}

.social-content > p {
  margin-top: 0;
  color: #6b6258;
}

.social-links {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 1rem;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(13, 11, 9, 0.24);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link > span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--cream);
}

.social-link:hover > span:first-child,
.social-link:focus-visible > span:first-child {
  background: var(--gold);
  color: var(--ink);
}

footer {
  display: grid;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 130px;
  margin: 0 auto;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
  color: #8e857a;
  font-size: 0.75rem;
}

footer p:nth-child(2) {
  text-align: center;
}

.made-in {
  text-align: right;
}

[dir="rtl"] .eyebrow::before {
  order: 2;
}

[dir="rtl"] .made-in {
  text-align: left;
}

@media (max-width: 900px) {
  .hero {
    padding: 5rem 0;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: 470px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .feature-showcase,
  .app-section,
  .social-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .feature-intro {
    position: static;
  }

  .app-visual {
    order: 2;
  }

  .capability-card {
    min-height: 320px;
    padding: 1.5rem;
  }

  footer {
    padding: 2rem 0;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  footer p:nth-child(2),
  .made-in {
    margin: 0;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  footer {
    width: min(calc(100% - 2rem), var(--content));
  }

  .site-header {
    min-height: 76px;
  }

  .brand span,
  .header-link {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0;
    gap: 2.5rem;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

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

  .hero-mark {
    min-height: 360px;
  }

  .logo-frame {
    width: min(75%, 290px);
  }

  .floating-label {
    font-size: 0.58rem;
  }

  .platform {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .feature-showcase,
  .app-section,
  .social-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .app-visual {
    min-height: 340px;
  }

  .app-visual::before {
    width: 300px;
    height: 300px;
  }

  .app-visual::after {
    width: 245px;
    height: 245px;
  }

  .app-visual img {
    width: 210px;
    height: 210px;
  }

  .store-badges {
    align-items: stretch;
    flex-direction: column;
  }

  .store-badge {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(13, 11, 9, 0.2);
  }

  .card-icon {
    margin: 2.5rem 0 1.5rem;
  }

  .welcome {
    min-height: 500px;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
