@font-face { font-family: "Manrope"; src: url("/assets/fonts/Manrope-wght.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-wght.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --echora-bg: #f2eddf;
  --echora-ink: #171711;
  --echora-soft: #625f53;
  --echora-line: rgba(23, 23, 17, 0.17);
  --echora-paper: #faf6eb;
  --echora-accent: #e85532;
  --echora-moss: #667052;
  --echora-player: #24231d;
  --echora-player-ink: #f6f0df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.echora-page {
  min-height: 100vh;
  background: var(--echora-bg);
  color: var(--echora-ink);
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.012em;
}

.echora-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 10;
}

.echora-nav,
.echora-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.echora-nav { min-height: 88px; border-bottom: 1px solid var(--echora-line); }
.echora-wordmark { font-family: "Space Grotesk", sans-serif; font-weight: 650; text-decoration: none; letter-spacing: -0.04em; }
.echora-lang { display: flex; gap: 5px; }
.echora-lang button {
  width: 38px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--echora-soft);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}
.echora-lang button:is(:hover, :focus-visible), .echora-lang button.is-active { background: var(--echora-ink); color: var(--echora-bg); }
.echora-lang button:focus-visible, .echora-page a:focus-visible { outline: 3px solid color-mix(in srgb, var(--echora-accent) 55%, transparent); outline-offset: 3px; }

.echora-hero {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(52px, 9vw, 116px) auto clamp(96px, 13vw, 164px);
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.echora-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(48px, 7vw, 88px); color: var(--echora-soft); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.13em; }
.echora-kicker img, .support-intro img { border-radius: 22%; box-shadow: 0 18px 45px rgba(36, 29, 20, 0.18); }
.echora-eyebrow, .echora-section-number { margin: 0 0 18px; color: var(--echora-accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.echora-hero h1, .support-intro h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  font-weight: 620;
  line-height: 0.9;
  letter-spacing: -0.075em;
}
.echora-lede { max-width: 59ch; margin: 30px 0 0; color: var(--echora-soft); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.72; }
.echora-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.echora-actions a { text-underline-offset: 5px; font-weight: 720; }
.echora-store-note { display: inline-flex; align-items: center; min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--echora-ink); color: var(--echora-bg); font-weight: 750; }
.echora-actions .echora-store-note { text-decoration: none; }

.echora-player {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  min-height: 620px;
  justify-self: end;
  padding: 30px;
  overflow: hidden;
  border-radius: 44px;
  background: var(--echora-player);
  color: var(--echora-player-ink);
  box-shadow: 0 48px 100px rgba(36, 29, 20, 0.25);
}
.echora-player__pulse { position: absolute; z-index: -1; width: 440px; aspect-ratio: 1; left: 50%; top: 39%; border: 1px solid rgba(232, 85, 50, 0.65); border-radius: 50%; transform: translate(-50%, -50%) scale(0.84); box-shadow: 0 0 0 46px rgba(232, 85, 50, 0.12), 0 0 0 104px rgba(232, 85, 50, 0.07); animation: echoraBreathe 5.2s ease-in-out infinite alternate; }
.echora-player__top { display: flex; justify-content: space-between; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; }
.echora-cover { width: min(100%, 312px); aspect-ratio: 1; margin: 62px auto 42px; display: flex; align-items: flex-end; padding: 25px; border-radius: 4px; background: radial-gradient(circle at 65% 22%, #e98c5c 0 4%, transparent 5%), conic-gradient(from 200deg at 65% 42%, #384b3b, #d87a4e, #e7c894, #4a5841, #384b3b); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34); }
.echora-cover span { font-family: "Space Grotesk", sans-serif; font-size: 2.7rem; font-weight: 620; line-height: 0.82; letter-spacing: -0.08em; }
.echora-track { display: flex; flex-direction: column; gap: 5px; }
.echora-track strong { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; }
.echora-track span { color: rgba(246, 240, 223, 0.6); font-size: 0.8rem; }
.echora-progress { height: 2px; margin-top: 26px; background: rgba(246, 240, 223, 0.2); }
.echora-progress i { display: block; width: 42%; height: 100%; background: var(--echora-player-ink); }
.echora-controls { display: flex; justify-content: center; align-items: center; gap: 47px; margin-top: 31px; font-size: 1.05rem; }
.echora-controls b { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--echora-player-ink); color: var(--echora-player); font-size: 1rem; }

.echora-manifesto {
  padding: clamp(86px, 12vw, 150px) max(20px, calc((100% - 1180px) / 2));
  background: var(--echora-ink);
  color: var(--echora-bg);
}
.echora-manifesto > div { display: grid; grid-template-columns: 0.4fr 1fr; gap: 40px; }
.echora-manifesto h2, .echora-feature h2, .support-contact h2, .support-grid h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.055em; }
.echora-manifesto h2 { grid-column: 2; max-width: 18ch; margin: 0; font-size: clamp(2.6rem, 5.5vw, 5.3rem); font-weight: 580; line-height: 0.98; }
.echora-manifesto p:last-child { grid-column: 2; max-width: 60ch; margin: 30px 0 0; color: color-mix(in srgb, var(--echora-bg) 68%, transparent); line-height: 1.75; }

.echora-features { width: min(1180px, calc(100% - 40px)); margin: clamp(80px, 12vw, 150px) auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--echora-line); border-left: 1px solid var(--echora-line); }
.echora-feature { min-height: 440px; padding: clamp(30px, 5vw, 62px); border-right: 1px solid var(--echora-line); border-bottom: 1px solid var(--echora-line); display: flex; flex-direction: column; }
.echora-feature--wide { grid-column: 1 / -1; min-height: 500px; }
.echora-feature h2 { max-width: 15ch; margin: auto 0 20px; font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 580; line-height: 1; }
.echora-feature p:not(.echora-section-number) { max-width: 54ch; margin: 0; color: var(--echora-soft); line-height: 1.7; }
.echora-wave { height: 130px; display: flex; align-items: flex-end; gap: clamp(5px, 1vw, 13px); margin-top: 50px; }
.echora-wave i { flex: 1; height: 22%; background: var(--echora-accent); transform-origin: bottom; animation: echoraWave 2.4s ease-in-out infinite alternate; }
.echora-wave i:nth-child(2n) { height: 66%; animation-delay: -0.6s; }
.echora-wave i:nth-child(3n) { height: 100%; animation-delay: -1.2s; }
.echora-devices { display: flex; align-items: flex-end; gap: 12px; margin-top: 38px; }
.echora-devices span { display: grid; place-items: center; border: 1px solid var(--echora-ink); font-size: 0.7rem; font-weight: 800; }
.echora-devices span:nth-child(1) { width: 58px; height: 102px; border-radius: 13px; }
.echora-devices span:nth-child(2) { width: 105px; height: 142px; border-radius: 13px; }
.echora-devices span:nth-child(3) { width: 170px; height: 112px; border-radius: 7px; }

.echora-footer { min-height: 130px; border-top: 1px solid var(--echora-line); }
.echora-footer strong { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.04em; }
.echora-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.echora-footer a { color: var(--echora-soft); text-underline-offset: 4px; font-size: 0.84rem; }

.support-shell { width: min(980px, calc(100% - 40px)); margin: clamp(52px, 8vw, 100px) auto clamp(80px, 10vw, 130px); }
.support-intro { display: grid; grid-template-columns: 100px 1fr; gap: 34px; align-items: start; padding-bottom: 74px; border-bottom: 1px solid var(--echora-line); }
.support-intro h1 { max-width: 15ch; font-size: clamp(3rem, 6vw, 5.4rem); }
.support-intro p:last-child { max-width: 62ch; color: var(--echora-soft); line-height: 1.7; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.support-grid article { min-height: 350px; padding: 44px 30px 40px 0; border-bottom: 1px solid var(--echora-line); }
.support-grid article + article { padding-left: 30px; border-left: 1px solid var(--echora-line); }
.support-grid article > span { color: var(--echora-accent); font-weight: 800; }
.support-grid h2 { margin: 100px 0 16px; font-size: 1.7rem; }
.support-grid p, .support-contact p { color: var(--echora-soft); line-height: 1.7; }
.support-contact { margin-top: 90px; padding: clamp(36px, 6vw, 70px); background: var(--echora-ink); color: var(--echora-bg); }
.support-contact h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.support-contact p { max-width: 65ch; color: color-mix(in srgb, var(--echora-bg) 72%, transparent); }
.support-email { display: inline-flex; margin-top: 18px; padding: 15px 22px; background: var(--echora-accent); color: #fff8ed; text-decoration: none; font-weight: 800; }
.support-expectation { font-size: 0.82rem; }

@keyframes echoraBreathe { to { transform: translate(-50%, -50%) scale(1.02); opacity: 0.68; } }
@keyframes echoraWave { to { transform: scaleY(0.38); } }

@media (prefers-color-scheme: dark) {
  :root { --echora-bg: #1b1b16; --echora-ink: #f0eadc; --echora-soft: #b9b2a2; --echora-line: rgba(240, 234, 220, 0.16); --echora-paper: #24231d; --echora-player: #ebe4d5; --echora-player-ink: #25241e; }
  .echora-page::before { mix-blend-mode: soft-light; opacity: 0.13; }
  .echora-player { box-shadow: 0 48px 100px rgba(0, 0, 0, 0.38); }
  .echora-player__pulse { border-color: rgba(232, 85, 50, 0.8); }
  .echora-devices span { border-color: var(--echora-ink); }
}

@media (max-width: 800px) {
  .echora-hero { grid-template-columns: 1fr; }
  .echora-player { justify-self: center; min-height: 570px; }
  .echora-kicker { margin-bottom: 52px; }
  .echora-manifesto > div { grid-template-columns: 1fr; }
  .echora-manifesto h2, .echora-manifesto p:last-child { grid-column: 1; }
  .echora-features { grid-template-columns: 1fr; }
  .echora-feature--wide { grid-column: 1; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article, .support-grid article + article { min-height: 0; padding: 32px 0; border-left: 0; }
  .support-grid h2 { margin-top: 42px; }
}

@media (max-width: 520px) {
  .echora-nav, .echora-footer, .echora-hero, .echora-features, .support-shell { width: min(100% - 28px, 1180px); }
  .echora-nav { min-height: 72px; }
  .echora-hero { margin-top: 42px; }
  .echora-hero h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
  .echora-player { min-height: 530px; padding: 22px; border-radius: 32px; }
  .echora-cover { margin-top: 50px; }
  .echora-manifesto { padding-inline: 18px; }
  .echora-feature { min-height: 390px; }
  .echora-devices span:nth-child(3) { width: 130px; }
  .support-intro { grid-template-columns: 1fr; }
  .support-intro h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .echora-footer { align-items: flex-start; padding-block: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .echora-player__pulse, .echora-wave i { animation: none; }
}
