/* LoopEra Labs / LoopEraSell — professional dark site
   Brand blues match logo; assets under /assets/img/ */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --ink: #f2f5fa;
  --ink-soft: #c8d0dc;
  --muted: #8a93a3;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --surface: #0c0f14;
  --surface-2: #141820;
  --surface-3: #1a1f2a;
  --accent: #4ba3ff;
  --accent-deep: #7bbcff;
  --accent-soft: rgba(75, 163, 255, 0.12);
  --brand-teal: #00d4c8;
  --focus: #4ba3ff;
  --danger: #f07178;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --max: 1080px;
  --nav-h: 68px;
  --text-body: 1rem;
  --text-caption: 0.8125rem;
  /* Shared type scale — home / product / legal / contact */
  --text-hero: clamp(1.65rem, 3.2vw, 2.35rem);
  --text-hero-sm: clamp(1.55rem, 5.8vw, 2.05rem);
  --text-hero-lh: 1.22;
  --text-lead: clamp(1.02rem, 1.55vw, 1.1rem);
  --text-lead-lh: 1.65;
  --text-accent-line: clamp(0.98rem, 1.45vw, 1.06rem);
  --text-section: clamp(1.35rem, 2.4vw, 1.65rem);
  --text-section-sub: clamp(1.08rem, 2vw, 1.22rem);
  --text-section-lead: 1.02rem;
  --text-page-title: clamp(1.4rem, 2.6vw, 1.7rem);
  --text-card-title: 1.05rem;
  --text-card-body: 0.94rem;
  --text-slogan: clamp(1.15rem, 2vw, 1.35rem);
  --text-pitch: clamp(1.08rem, 1.75vw, 1.2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(75, 163, 255, 0.08), transparent 60%),
    var(--surface);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #a8d4ff;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 8px 12px;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(12, 15, 20, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    top: 0;
    background: #0c0f14;
    backdrop-filter: none;
    z-index: 300;
  }

  .site-header .nav-wrap {
    position: relative;
    z-index: 320;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background: #0c0f14;
    row-gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 330;
  }

  .nav-links {
    display: none;
    position: static;
    order: 10;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-backdrop {
    display: none !important;
  }

  .nav-links a,
  .nav-links .lang-menu {
    width: 100%;
  }

  .nav-links a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 12px 14px;
    background: #1a1f2a;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .nav-links .lang-menu-toggle {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }

  .nav-links .lang-menu-list {
    z-index: 340;
    left: 0;
    right: 0;
    width: 100%;
  }

  body.nav-open {
    overflow: auto;
  }

  .hero-product {
    padding-top: 28px;
  }

  .hero-product .hero-wordmark-banner {
    display: block;
    width: min(100%, 340px);
    margin: 0 auto 8px;
  }

  .hero-product .hero-icon {
    width: 72px;
    height: 72px;
    margin-top: 4px;
  }

  .hero-product h1,
  body.page-home .hero-company h1 {
    font-size: var(--text-hero-sm);
    max-width: 100%;
  }

  .hero-device {
    width: min(280px, 72vw);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand img[src*="loopera-labs"] {
  width: auto;
  height: 34px;
  max-width: min(210px, 52vw);
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand-word {
  font-size: 1rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 11px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: transparent;
  color: var(--ink);
}

.nav-link-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link-product img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: block;
}

.nav-link-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-link-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link-company img {
  width: auto;
  height: 18px;
  display: block;
}

.nav-link-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  opacity: 0.9;
}

.footer-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lang-menu {
  position: relative;
  z-index: 50;
  margin-left: 4px;
}

.lang-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 500;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-menu-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.lang-menu-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-1px);
}

.lang-menu.is-open .lang-menu-toggle {
  border-color: rgba(75, 163, 255, 0.45);
  color: var(--ink);
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lang-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 220px;
  max-height: min(70vh, 360px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #12161e;
  box-shadow: var(--shadow);
}

.lang-menu-list[hidden] {
  display: none !important;
}

.lang-menu-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
}

.lang-menu-list li:hover,
.lang-menu-list li:focus {
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.lang-menu-list li.is-active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.btn-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.btn-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn-with-icon {
  gap: 10px;
  padding-left: 14px;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  display: grid;
  gap: 32px;
}

.hero-product {
  align-items: center;
}

@media (min-width: 900px) {
  .hero-product {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.82fr);
    gap: 48px 56px;
  }
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-device {
  justify-self: center;
  width: min(270px, 70vw);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #05070b;
}

.hero-device img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  touch-action: pan-y;
}

.screen-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.screen-card {
  margin: 0;
  flex: 0 0 auto;
  width: min(210px, 56vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #05070b;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* Screen gallery lightbox */
.screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(8px);
}

.screen-lightbox[hidden] {
  display: none !important;
}

.screen-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  max-height: min(88vh, 900px);
}

.screen-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(88vh, 900px);
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #05070b;
}

.screen-lightbox__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.94);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
  z-index: 1201;
}

.screen-lightbox__btn:hover,
.screen-lightbox__btn:focus-visible {
  background: var(--surface-3);
  border-color: var(--accent);
  outline: none;
}

.screen-lightbox__btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.screen-lightbox__prev,
.screen-lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.screen-lightbox__prev {
  left: max(12px, env(safe-area-inset-left));
}

.screen-lightbox__next {
  right: max(12px, env(safe-area-inset-right));
}

.screen-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  transform: none;
}

.screen-lightbox__counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-caption);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  pointer-events: none;
}

@media (max-width: 560px) {
  .screen-lightbox__prev {
    left: 4px;
  }

  .screen-lightbox__next {
    right: 4px;
  }

  .screen-lightbox__stage {
    width: min(100%, 320px);
  }
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center h2,
.section-head-center p {
  margin-left: auto;
  margin-right: auto;
}

.craft-band {
  margin: clamp(8px, 2vw, 16px) 0 clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 36px) 0 0;
  border-top: 1px solid var(--line);
  max-width: 38rem;
}

.craft-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: var(--text-section);
  color: var(--ink);
  line-height: 1.25;
}

.craft-band p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-section-lead);
  line-height: 1.6;
}

.hero-company {
  min-height: calc(100vh - var(--nav-h) - 140px);
  align-content: center;
  gap: 24px;
  max-width: 42rem;
}

.hero-company-split {
  max-width: none;
}

@media (min-width: 900px) {
  .hero-company-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
    grid-template-areas:
      "logo logo"
      "copy device";
    align-items: center;
  }

  .hero-company-split .hero-company-logo {
    grid-area: logo;
  }

  .hero-company-split .hero-copy {
    grid-area: copy;
  }

  .hero-company-split .hero-device {
    grid-area: device;
  }
}

/* Company home: fill viewport when short, grow+scroll when locale copy is tall */
body.page-home {
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body.page-home .site-header {
  position: relative;
  flex: 0 0 auto;
}

body.page-home .home-main {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: clamp(20px, 3.2vh, 36px);
  padding-bottom: clamp(16px, 2.5vh, 28px);
  max-width: var(--max);
  overflow: visible;
  gap: clamp(36px, 5vw, 56px);
}

/* Company story — sola yaslı, hero metin sütunu ile aynı ritim (ortalanmış ada değil). */
body.page-home .home-about {
  width: min(100%, 36rem);
  margin: 0;
  padding: clamp(28px, 4vw, 40px) 0 0;
  border-top: 1px solid var(--line);
  text-align: left;
  align-self: flex-start;
}

body.page-home .home-about h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: var(--text-section);
  color: var(--ink);
  line-height: 1.25;
}

body.page-home .home-about h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--text-section-sub);
  color: var(--ink);
  line-height: 1.3;
}

body.page-home .home-about p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--text-section-lead);
  line-height: var(--text-lead-lh);
}

body.page-home .home-about p:last-child {
  margin-bottom: 0;
}

body.page-home .hero {
  padding: 0;
  width: 100%;
}

body.page-home .hero-company-split {
  min-height: 0;
  max-width: none;
  width: 100%;
  align-items: start;
  gap: clamp(14px, 2vh, 24px) clamp(20px, 4vw, 48px);
}

.brand-text-only .brand-word {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.brand-text-only:hover .brand-word {
  color: var(--ink);
}

body.page-home .nav-wrap-home,
.nav-wrap-slim {
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 56px;
}

body.page-home .nav-wrap-home .lang-menu,
.nav-wrap-slim .lang-menu {
  flex-shrink: 0;
  margin-left: auto;
}

body.page-home .nav-wrap-home .lang-menu-toggle,
.nav-wrap-slim .lang-menu-toggle {
  min-height: 40px;
}

@media (max-width: 760px) {
  body.page-home .nav-wrap-home,
  .nav-wrap-slim {
    flex-wrap: nowrap;
    row-gap: 0;
  }

  body.page-home .nav-wrap-home .lang-menu,
  .nav-wrap-slim .lang-menu {
    width: auto;
  }

  body.page-home .nav-wrap-home .lang-menu-toggle,
  .nav-wrap-slim .lang-menu-toggle {
    width: auto;
    justify-content: flex-start;
    min-height: 40px;
  }
}

body.page-home .hero-company-split .hero-company-logo {
  width: min(640px, 86vw);
  max-width: 100%;
  margin: 0 auto;
  justify-self: center;
  object-fit: contain;
  object-position: top center;
}

body.page-home .hero-company-split .hero-copy {
  display: grid;
  gap: clamp(10px, 1.6vh, 16px);
  max-width: 36rem;
  min-width: 0;
}

/* Long FR/DE/IT/ID headlines need more width than EN so the phone stays beside copy */
body.page-home .hero-company h1 {
  max-width: none;
  font-size: var(--text-hero);
  line-height: var(--text-hero-lh);
}

body.page-home .hero-lead,
body.page-home .trial-note,
body.page-home .platform-support {
  max-width: none;
}

body.page-home .hero-company-split .hero-device {
  width: min(240px, 38vw);
  justify-self: end;
  align-self: start;
  margin-top: 0;
}

body.page-home .brand-slogan {
  margin: 0;
}

body.page-home .cta-row {
  margin-top: 0;
  flex-wrap: wrap;
}

body.page-home .home-footer {
  flex: 0 0 auto;
  margin-top: auto;
  padding: clamp(12px, 1.6vh, 20px) 0;
  position: relative;
  z-index: 1;
  background: var(--surface);
}

body.page-home .home-footer .footer-inner {
  padding-block: 0;
  gap: 12px 28px;
  align-items: flex-start;
}

body.page-home .home-footer .footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(100%, 22rem);
  gap: 8px 14px;
}

body.page-home .home-footer .footer-brand {
  margin: 0;
}

.footer-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 8px;
}

.footer-brand-line .footer-brand {
  margin: 0;
}

.footer-brand-sep {
  color: var(--muted);
  font-weight: 500;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  body.page-home .home-main {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body.page-home .hero-company-split {
    gap: 18px;
  }

  body.page-home .hero-company-split .hero-company-logo {
    width: min(92vw, 380px);
    margin: 0 auto 4px;
    justify-self: center;
  }

  body.page-home .hero-company-split .hero-copy {
    gap: 12px;
    max-width: none;
  }

  body.page-home .hero-company-split .hero-device {
    width: min(280px, 72vw);
    justify-self: center;
    margin-top: 8px;
  }

  body.page-home .hero-company h1 {
    font-size: var(--text-hero-sm);
    max-width: 100%;
  }

  body.page-home .home-footer .footer-inner {
    flex-direction: column;
  }
}

@media (min-width: 900px) {
  body.page-home .hero-company-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.65fr);
    align-items: start;
  }
}

@media (max-height: 700px) and (min-width: 821px) {
  body.page-home .hero-company-split .hero-device {
    width: min(200px, 28vw);
  }

  body.page-home .hero-company-split .hero-company-logo {
    width: min(520px, 70vw);
  }
}

.hero-company-logo {
  display: block;
  width: min(720px, 90vw);
  height: auto;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--text-hero-lh);
  font-size: var(--text-hero);
  max-width: 36rem;
  color: var(--ink);
}

.hero-company h1,
.hero-product h1 {
  max-width: 36rem;
  font-size: var(--text-hero);
  line-height: var(--text-hero-lh);
}

.section-head h2,
.waitlist h2,
.craft-band h2,
.legal-doc h1,
.legal-doc h2 {
  font-family: var(--font-display);
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: var(--text-lead);
  color: var(--muted);
  font-weight: 400;
  line-height: var(--text-lead-lh);
}

.trial-note {
  margin: 10px 0 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-accent-line);
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--ink-soft);
}

.trial-note-em {
  color: var(--brand-teal);
  font-weight: 700;
}

.platform-support {
  margin: 10px 0 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-accent-line);
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--accent-deep);
}

.value-pitch {
  padding-top: 0;
  padding-bottom: clamp(28px, 5vw, 48px);
}

.value-pitch-text {
  margin: 0 auto;
  max-width: 44rem;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3.2vw, 32px);
  border: 1px solid rgba(75, 163, 255, 0.28);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-pitch);
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
}

.brand-slogan {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-slogan);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--accent-deep);
  animation: slogan-in 0.65s ease both;
}

.brand-slogan-support {
  margin: 6px 0 0;
  max-width: 36rem;
  font-size: var(--text-lead);
  color: var(--muted);
  line-height: 1.55;
  animation: slogan-in 0.65s ease 0.08s both;
}

.slogan-band {
  text-align: center;
  padding-top: clamp(12px, 2vw, 20px);
  padding-bottom: clamp(12px, 2vw, 20px);
}

.slogan-band .slogan {
  margin: 0 auto 12px;
  max-width: 36rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: var(--text-hero-lh);
  font-size: var(--text-hero);
  color: var(--ink);
  animation: slogan-in 0.7s ease both;
}

.slogan-band .slogan-line {
  display: block;
}

.slogan-band .slogan-support {
  margin: 0 auto;
  max-width: 34rem;
  font-size: var(--text-lead);
  color: var(--muted);
  line-height: 1.55;
  animation: slogan-in 0.7s ease 0.1s both;
}

.slogan-band .slogan-invite {
  margin: 16px auto 0;
  max-width: 36rem;
  font-size: var(--text-accent-line);
  color: var(--ink-soft);
  line-height: 1.55;
  animation: slogan-in 0.7s ease 0.18s both;
}

.slogan-band .slogan-cta {
  justify-content: center;
  margin-top: 18px;
  animation: slogan-in 0.7s ease 0.24s both;
}

@keyframes slogan-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slogan,
  .brand-slogan-support,
  .slogan-band .slogan,
  .slogan-band .slogan-support,
  .slogan-band .slogan-invite,
  .slogan-band .slogan-cta {
    animation: none;
  }
}

.hero-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 4px;
}

.hero-icon {
  width: clamp(64px, 10vw, 80px);
  height: clamp(64px, 10vw, 80px);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.hero-wordmark {
  width: min(380px, 82vw);
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.hero-wordmark-banner {
  width: min(540px, 100%);
  max-width: 100%;
  margin: 0 auto 4px;
  padding: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #071018;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #071018;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(75, 163, 255, 0.5);
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}

.btn-ghost:hover {
  transform: none;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

.section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

/* LoopEraSell product page — tighter vertical rhythm */
body.page-product .hero {
  padding: clamp(36px, 5.5vw, 64px) 0 clamp(28px, 4vw, 44px);
}

body.page-product .hero-copy {
  gap: 14px;
}

@media (min-width: 900px) {
  body.page-product .hero-product {
    gap: 36px 44px;
  }
}

body.page-product .section {
  padding: clamp(32px, 4.5vw, 52px) 0;
}

body.page-product .section-head {
  margin-bottom: 18px;
}

body.page-product .value-pitch {
  padding-top: 0;
  padding-bottom: clamp(16px, 3vw, 28px);
}

body.page-product .value-pitch-text {
  padding: clamp(14px, 2.2vw, 20px) clamp(16px, 2.8vw, 26px);
}

body.page-product .slogan-band {
  padding-top: clamp(8px, 1.4vw, 14px);
  padding-bottom: clamp(8px, 1.4vw, 14px);
}

body.page-product #craft {
  padding-bottom: clamp(18px, 2.5vw, 28px);
}

body.page-product #craft + .slogan-band {
  padding-top: clamp(18px, 2.5vw, 28px);
}

body.page-product .waitlist {
  padding: clamp(22px, 3.2vw, 32px);
}

body.page-product .site-footer .footer-inner {
  padding-top: 24px;
  padding-bottom: 32px;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-section-lead);
  line-height: 1.55;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  margin: 0;
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feature-card:hover {
  border-color: rgba(75, 163, 255, 0.35);
  background: var(--accent-soft);
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.feature-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-card-title);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-card-body);
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

.feature-list li {
  border-top: 1px solid var(--line);
  padding: 20px 0 22px;
}

.feature-list h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-card-title);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-card-body);
  line-height: 1.55;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.chip img.flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 50rem;
  line-height: 1.5;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(75, 163, 255, 0.25);
  font-weight: 600;
  font-size: 0.86rem;
}

.platform-icon {
  flex: 0 0 auto;
  display: block;
}

.platform-pill.soon {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 500;
}

.waitlist {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}

.waitlist h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 600;
  font-size: var(--text-section);
  color: var(--ink);
}

.waitlist p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 34rem;
  font-size: var(--text-section-lead);
  line-height: 1.55;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.waitlist-form input::placeholder {
  color: rgba(242, 245, 250, 0.4);
}

.waitlist-form .btn-primary {
  background: var(--accent);
  color: #071018;
}

.waitlist-form .btn-primary:hover {
  background: var(--accent-deep);
}

.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-block {
  margin-bottom: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0.75rem;
  max-width: 32rem;
}

.contact-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--text-muted, #5c5a55);
}

.contact-label input,
.contact-label select,
.contact-label textarea {
  width: 100%;
  border: 1px solid var(--border, #d8d4cc);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: inherit;
  background: var(--surface, #fff);
}

.contact-label textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-honeypot {
  display: none !important;
}

.form-result {
  margin-top: 12px;
  font-weight: 600;
  min-height: 1.4em;
  font-size: 0.92rem;
}

.form-result.ok {
  color: #7eb8ff;
}

.form-result.err {
  color: #f0a0a6;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: transparent;
  padding-top: 8px;
}

.legal-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.legal-notice strong {
  color: var(--ink);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 40px;
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.98rem;
}

.footer-slogan {
  margin: -2px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
}

.footer-meta,
.footer-links {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

.footer-links a[aria-current="page"] {
  color: var(--accent-deep);
}

.footer-links .nav-link-product {
  gap: 7px;
}

.footer-links .nav-link-product img {
  width: 18px;
  height: 18px;
}

.footer-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Legal pages */
body.legal {
  background: var(--surface);
}

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.legal-shell--wide {
  max-width: 900px;
}

.privacy-header {
  margin-bottom: 6px;
}

.privacy-header h1 {
  margin: 0;
}

.legal-doc .contact-box {
  margin: 0.65rem 0 0.9rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(75, 163, 255, 0.06);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.legal-doc .contact-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

/* Override global .section padding (marketing pages) inside privacy/legal. */
.legal-doc .legal-block,
.legal-doc .section {
  margin: 0;
  padding: 0.4rem 0 0 !important;
  border: 0 !important;
}

.legal-doc .legal-block + .legal-block,
.legal-doc .section + .section {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0.4rem !important;
}

.legal-doc .legal-block:first-child,
.legal-doc .section:first-child {
  padding-top: 0 !important;
}

.legal-doc .legal-block p,
.legal-doc .section p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
}

.legal-doc .legal-block ul,
.legal-doc .section ul {
  margin: 0 0 0.25rem 1.15rem;
  padding: 0;
  color: var(--ink-soft);
}

.legal-doc .legal-block li,
.legal-doc .section li {
  margin-bottom: 0.15rem;
}

.legal-doc table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.legal-shell .site-crumb {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-shell .site-crumb a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}

.legal-doc {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
}

.legal-doc h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-doc .meta {
  color: var(--muted);
  margin: 0 0 16px;
}

.legal-doc .lang-nav {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.legal-doc h3 {
  font-size: 0.95rem;
  margin: 0.55rem 0 0.3rem;
  color: var(--ink-soft);
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 12px 0;
}

.legal-doc th,
.legal-doc td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: var(--accent-soft);
  color: var(--ink);
}

.legal-doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 12px 0;
}

.legal-note,
.email-box {
  margin-top: 1.5rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(75, 163, 255, 0.05);
  font-size: 0.9rem;
  color: var(--muted);
}

.email-box {
  color: var(--ink-soft);
}

.legal-footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

[data-lang-block] {
  display: none;
}

html[lang="en"] [data-lang-block="en"],
html[lang="es"] [data-lang-block="es"],
html[lang="fr"] [data-lang-block="fr"],
html[lang="de"] [data-lang-block="de"],
html[lang="it"] [data-lang-block="it"],
html[lang="pt"] [data-lang-block="pt"],
html[lang="tr"] [data-lang-block="tr"],
html[lang="id"] [data-lang-block="id"] {
  display: contents;
}

html[lang="tr"] .i18n-en,
html[lang="en"] .i18n-tr {
  display: none !important;
}

/* Legal pages: brand-only header; nav lives in footer. */
body.legal .nav-wrap {
  justify-content: flex-start;
}

body.legal .site-footer {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .chip-grid {
    gap: 8px;
  }
}
