/* CUQ.IN landing — Focus theme, vanilla port.
   Layout target: 720/1000/1080 max-width blocks, generous whitespace.
   Palette: Space Grotesk / JetBrains Mono, ink+signal orange accent.
   Dark theme mirrors light with tuned contrast — WCAG AA on body text. */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --bg: #ffffff;
  --ink: #0d0d0f;
  --muted: #63636b;
  --line: #ececef;
  --soft: #f7f7f8;
  --ac: #0d0d0f;
  --aci: #ffffff;
  --dn: #b93b28;
  --sig: #c4360f;
  --sig-glow: #ff4a1c;
  --ring: #0d0d0f;
  --shadow-lg: 0 20px 54px rgba(13,13,15,.16);
  --grotesk: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0f;
    --ink: #f4f4f6;
    --muted: #a4a4ac;
    --line: #1f1f22;
    --soft: #17171a;
    --ac: #f4f4f6;
    --aci: #0d0d0f;
    --dn: #f08a7a;
    --sig: #ff7a48;
    --sig-glow: #ff4a1c;
    --ring: #f4f4f6;
    --shadow-lg: 0 20px 54px rgba(0,0,0,.55);
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0f;
  --ink: #f4f4f6;
  --muted: #a4a4ac;
  --line: #1f1f22;
  --soft: #17171a;
  --ac: #f4f4f6;
  --aci: #0d0d0f;
  --dn: #f08a7a;
  --sig: #ff7a48;
  --sig-glow: #ff4a1c;
  --ring: #f4f4f6;
  --shadow-lg: 0 20px 54px rgba(0,0,0,.55);
}

/* --- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--grotesk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.lp-main { flex: 1 0 auto; }  /* main içeriği viewport'u doldurur — footer altta sabit */
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--sig); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--sig-glow); color: #fff; }
input, textarea { caret-color: var(--sig-glow); font-family: inherit; color: inherit; }
button { font-family: inherit; }

/* --- A11y utilities ---------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.lp-skip {
  position: absolute;
  inset-inline-start: -9999px; top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  font: 600 14px/1 var(--grotesk);
  z-index: 1000;
  border-radius: 4px;
}
.lp-skip:focus-visible { inset-inline-start: 16px; top: 16px; }

.lp-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Reused decorative tick -------------------------------------------- */
.fx-tick {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--sig-glow);
  margin-inline-end: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  font: 600 12px/1 var(--grotesk);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Motion ------------------------------------------------------------ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0%   { transform: scale(.92); opacity: 0; }
  60%  { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes barGo {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Header ------------------------------------------------------------ */
.lp-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 40px;
}
.lp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-brand {
  font: 700 18px/1 var(--grotesk);
  letter-spacing: -.03em;
  color: var(--ink);
  margin-inline-end: auto;  /* brand sola yasla, nav+lang sağa toplansın (API sayfası pattern'i) */
}
.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-nav__links a {
  font: 500 13.5px/1 var(--grotesk);
  color: var(--muted);
  transition: color .16s ease;
}
.lp-nav__links a:hover { color: var(--ink); }
.lp-nav__links li:first-child a { color: var(--ink); font-weight: 600; }

/* --- Language switcher ------------------------------------------------- */
.lp-lang { position: relative; }
.lp-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 13px;
  background: transparent;
  color: var(--ink);
  font: 600 12.5px/1 var(--grotesk);
  cursor: pointer;
  transition: border-color .16s ease;
}
.lp-lang__trigger:hover { border-color: var(--ink); }
.lp-lang__globe { display: block; width: 14px; height: 14px; }
.lp-lang__caret { display: block; width: 8px; height: 8px; color: var(--muted); transition: transform .16s ease; }
.lp-lang__trigger[aria-expanded="true"] .lp-lang__caret { transform: rotate(180deg); }

.lp-lang__backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: transparent;
}
.lp-lang__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  width: 266px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: riseIn .16s ease both;
}
.lp-lang__search-wrap {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.lp-lang__search {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  font: 500 13px/1 var(--grotesk);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .16s ease, background .16s ease;
}
.lp-lang__search:focus {
  border-color: var(--ink);
  background: var(--bg);
}
/* Keep the global :focus-visible outline — do not `outline: none` here. */
.lp-lang__list {
  max-height: 300px;
  overflow-y: auto;
  padding: 6px;
  list-style: none;
  margin: 0;
}
.lp-lang__option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: 600 13.5px/1.2 var(--grotesk);
  cursor: pointer;
  text-align: start;
  transition: background .16s ease;
}
.lp-lang__option:hover { background: var(--soft); }
/* Keep the global 2px solid var(--ring) focus ring — background swap alone
   fails 1.4.11 non-text contrast (~1.02:1 light, ~1.15:1 dark). */
.lp-lang__option:focus-visible {
  background: var(--soft);
  outline: 2px solid var(--ring);
  outline-offset: -2px;
}
.lp-lang__option-native {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.lp-lang__dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sig-glow);
  opacity: 0;
}
.lp-lang__option[aria-selected="true"] .lp-lang__dot { opacity: 1; }
.lp-lang__option-name {
  color: var(--muted);
  font: 500 11px/1 var(--mono);
}
.lp-lang__empty {
  padding: 16px 11px;
  color: var(--muted);
  font: 500 13px/1.4 var(--grotesk);
}

/* --- Hero -------------------------------------------------------------- */
.lp-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 40px 20px;
  text-align: center;
}
.lp-hero h1 {
  margin: 0 0 20px;
  font: 600 clamp(40px, 6.4vw, 80px)/1.02 var(--grotesk);
  letter-spacing: -.04em;
  color: var(--ink);
}
.lp-hero__sub {
  margin: 0 auto 42px;
  max-width: 34ch;
  font: 400 clamp(16px, 1.9vw, 19px)/1.55 var(--grotesk);
  color: var(--muted);
}
.lp-hero__sub b {
  color: var(--ink);
  font-weight: 600;
}
.lp-hero__form-region {
  text-align: start;
}

/* --- Shortener --------------------------------------------------------- */
.lp-shortener {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding: 0 2px 10px;
  transition: border-bottom-color .16s ease;
}
/* [hidden] display:flex/block/inline-flex override etmez — 3 state (form/progress/result)
   arası geçişte hepsi görünür kalır. JS setPhase hidden toggle eder; CSS bunu respect eder. */
.lp-shortener[hidden],
.lp-shortener__progress[hidden],
.lp-shortener__result[hidden] { display: none; }
/* Keyboard focus indicator — the input itself is borderless so the whole
   shortener row lights up when focus is anywhere inside it (WCAG 2.4.7). */
.lp-shortener:focus-within { border-bottom-color: var(--sig); }
.lp-shortener input[type="url"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font: 500 clamp(18px, 2.2vw, 24px)/1.3 var(--grotesk);
  padding: 0;
}
/* Input'un kendi outline'ı YOK — container'ın :focus-within border-bottom color
   değişimi WCAG 2.4.7 focus visible gereksinimini karşılar. */
.lp-shortener input[type="url"]:focus,
.lp-shortener input[type="url"]:focus-visible { outline: none; }
.lp-shortener input[type="url"]::placeholder { color: var(--muted); opacity: 1; }
.lp-shortener__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--ac);
  color: var(--aci);
  font: 400 22px/1 var(--grotesk);
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, opacity .16s ease;
}
.lp-shortener__submit:hover:not(:disabled) {
  background: var(--sig);
  transform: scale(1.06);
}
.lp-shortener__submit:active:not(:disabled) { transform: scale(.96); }
.lp-shortener__submit:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.lp-form__error {
  margin: 14px 2px 0;
  font: 500 14px/1.4 var(--grotesk);
  color: var(--dn);
}

.lp-shortener__progress {
  padding: 0 2px;
  border-bottom: 2px solid var(--ink);  /* form yerini alır — aynı çizgi devam ediyor gibi */
  padding-bottom: 12px;
}
.lp-shortener__progress-bar {
  position: relative;
  height: 3px;                          /* biraz daha görünür */
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.lp-shortener__progress-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  background: var(--ink);
  animation: barGo 1s linear infinite;
}

.lp-shortener__result {
  animation: riseIn .32s ease both;
}
.lp-result__short {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.lp-result__display {
  display: inline-flex;
  align-items: baseline;
  font: 600 clamp(30px, 4.2vw, 48px)/1 var(--grotesk);  /* demo pattern: büyük prominent short URL */
  letter-spacing: -.02em;
  animation: popIn .34s cubic-bezier(.2, .8, .2, 1) both;
}
.lp-result__prefix { color: var(--muted); }
.lp-result__code   { color: var(--sig); }

.lp-result__copy {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--aci);
  font: 600 13px/1 var(--grotesk);
  cursor: pointer;
  transition: opacity .16s ease;
}
.lp-result__copy:hover { opacity: .85; }

.lp-result__orig {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.lp-result__orig a {
  flex: 1;
  min-width: 0;
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-result__orig a:hover { color: var(--ink); }
.lp-result__reset {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: var(--ink);
  font: 600 13px/1 var(--grotesk);
  cursor: pointer;
  padding: 6px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  font: 500 13px/1 var(--grotesk);
  color: var(--muted);
}
.lp-trust__dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sig-glow);
}

/* --- Recents ----------------------------------------------------------- */
.lp-recents {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px 0;
}
.lp-recents__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.lp-recents__label {
  margin: 0;
  font: 600 11px/1 var(--grotesk);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-recents__clear {
  background: none;
  border: none;
  color: var(--muted);
  font: 500 12px/1 var(--grotesk);
  cursor: pointer;
  padding: 6px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .16s ease;
}
.lp-recents__clear:hover { color: var(--ink); }
.lp-recents__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-recents__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.lp-recents__body {
  flex: 1;
  min-width: 0;
}
.lp-recents__code {
  font: 600 15px/1.2 var(--grotesk);
  color: var(--ink);
}
.lp-recents__code-prefix { color: var(--muted); }
.lp-recents__orig {
  display: block;
  margin-top: 3px;
  font: 400 12px/1.4 var(--mono);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-recents__orig:hover { color: var(--ink); }
.lp-recents__copy {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 600 12px/1 var(--grotesk);
  cursor: pointer;
  transition: border-color .16s ease;
}
.lp-recents__copy:hover { border-color: var(--ink); }

/* --- How --------------------------------------------------------------- */
.lp-how {
  max-width: 1000px;
  margin: 0 auto;
  padding: 104px 40px 0;
}
.lp-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.lp-how__step { margin: 0; }
.lp-how__num {
  display: block;
  font: 500 13px/1 var(--mono);
  color: var(--muted);
}
.lp-how__step h3 {
  font: 600 19px/1.2 var(--grotesk);
  margin: 14px 0 7px;
  color: var(--ink);
}
.lp-how__step p {
  font: 400 14.5px/1.6 var(--grotesk);
  color: var(--muted);
  margin: 0;
}

/* --- Dev section ------------------------------------------------------- */
.lp-dev {
  margin: 100px 0 0;
  background: #0d0d0f;
  color: #fff;
}
:root[data-theme="dark"] .lp-dev,
:root:not([data-theme="light"]) .lp-dev {
  background: #050506;
}
.lp-dev__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 66px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.lp-dev__copy .lp-eyebrow { color: #8a8a92; }
.lp-dev__copy h2 {
  font: 600 clamp(26px, 3.4vw, 40px)/1.08 var(--grotesk);
  letter-spacing: -.03em;
  margin: 0 0 14px;
  color: #fff;
}
.lp-dev__body {
  font: 400 16px/1.6 var(--grotesk);
  color: #b7b7bf;
  margin: 0 0 28px;
  max-width: 44ch;
}
.lp-dev__cta {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #0d0d0f;
  font: 600 14px/1 var(--grotesk);
  transition: background .16s ease, color .16s ease;
}
.lp-dev__cta:hover { background: var(--sig-glow); color: #fff; }
.lp-dev__code {
  border: 1px solid #26262c;
  border-radius: 14px;
  background: #111116;
  overflow: hidden;
}
.lp-dev__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid #26262c;
}
.lp-dev__chrome span {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3a3a42;
}
.lp-dev__chrome em {
  margin-left: 8px;
  color: #6a6a72;
  font: 500 11px/1 var(--mono);
  letter-spacing: .08em;
  font-style: normal;
}
.lp-dev__code pre {
  margin: 0;
  padding: 18px 16px;
  font: 500 13px/1.75 var(--mono);
  color: #c9c9d1;
  white-space: pre;
  overflow-x: auto;
}
.lp-dev__code .tk-sig  { color: var(--sig-glow); }
.lp-dev__code .tk-var  { color: #9aa7ff; }
.lp-dev__code .tk-str  { color: #8fe0a8; }
.lp-dev__code .tk-key  { color: #8a8a92; }

/* --- Sponsors ---------------------------------------------------------- */
.lp-sponsors {
  max-width: 1000px;
  margin: 0 auto;
  padding: 104px 40px 0;
  text-align: center;
}
.lp-sponsors h2 {
  font: 600 clamp(28px, 3.4vw, 40px)/1.08 var(--grotesk);
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.lp-sponsors__body {
  font: 400 16px/1.6 var(--grotesk);
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 52ch;
}
.lp-sponsors__slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.lp-sponsors__slot {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  cursor: default;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.lp-sponsors__slot:hover {
  border-color: var(--sig);
  color: var(--ink);
  background: var(--bg);
}
.lp-sponsors__slot span:first-child {
  font: 400 22px/1 var(--grotesk);
}
.lp-sponsors__slot span:last-child {
  font: 600 11px/1 var(--grotesk);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lp-sponsors__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  font: 600 14px/1 var(--grotesk);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.lp-sponsors__cta:hover {
  background: var(--sig);
  border-color: var(--sig);
  color: #fff;
}

/* --- Contact ----------------------------------------------------------- */
.lp-contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 104px 40px 0;
}
.lp-contact__head {
  text-align: center;
  margin-bottom: 36px;
}
.lp-contact__head h2 {
  font: 600 clamp(28px, 3.4vw, 40px)/1.08 var(--grotesk);
  letter-spacing: -.03em;
  margin: 0 0 12px;
}
.lp-contact__meta {
  margin: 12px 0 0;
  font: 400 13px/1.5 var(--grotesk);
  color: var(--muted);
  text-align: center;
}
.lp-contact__intro {
  font: 400 16px/1.6 var(--grotesk);
  color: var(--muted);
  margin: 0;
}
.lp-contact__intro a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lp-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lp-field label {
  display: block;
  font: 600 11px/1 var(--grotesk);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.lp-field input,
.lp-field textarea {
  width: 100%;
  padding: 14px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 15px/1.3 var(--grotesk);
  outline: none;
  transition: border-color .16s ease;
  border-radius: 0;
}
.lp-field textarea { line-height: 1.5; resize: vertical; }
.lp-field input:focus,
.lp-field textarea:focus { border-color: var(--ink); }
.lp-field input[aria-invalid="true"],
.lp-field textarea[aria-invalid="true"] { border-color: var(--dn); }
.lp-field input::placeholder,
.lp-field textarea::placeholder { color: var(--muted); opacity: 1; }

.lp-contact__submit {
  align-self: flex-start;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ac);
  color: var(--aci);
  font: 600 14px/1 var(--grotesk);
  cursor: pointer;
  transition: opacity .16s ease, transform .16s ease;
}
.lp-contact__submit:hover { opacity: .85; }
.lp-contact__submit:active { transform: translateY(1px); }
.lp-contact__submit:disabled { opacity: .5; cursor: not-allowed; }

.lp-contact__success {
  animation: riseIn .3s ease both;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 30px;
}
.lp-contact__thanks {
  font: 600 22px/1.2 var(--grotesk);
  margin: 0 0 8px;
}
.lp-contact__success p {
  font: 400 15px/1.6 var(--grotesk);
  color: var(--muted);
  margin: 0 0 20px;
}
.lp-contact__success b { color: var(--ink); }
.lp-contact__another {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 600 13px/1 var(--grotesk);
  cursor: pointer;
  transition: border-color .16s ease;
}
.lp-contact__another:hover { border-color: var(--ink); }

/* [hidden] override for flex/grid containers. Without this, display:flex on the
   form and grid on __row would keep the element visible. */
.lp-contact__form[hidden],
.lp-contact__error[hidden] { display: none; }

.lp-contact__error {
  animation: riseIn .3s ease both;
  text-align: center;
  border: 1px solid var(--dn, #c4360f);
  border-radius: 16px;
  padding: 40px 30px;
  background: color-mix(in srgb, var(--dn, #c4360f) 4%, transparent);
}
.lp-contact__errtitle {
  font: 600 22px/1.2 var(--grotesk);
  margin: 0 0 8px;
  color: var(--dn, #c4360f);
}
.lp-contact__error p {
  font: 400 15px/1.6 var(--grotesk);
  color: var(--muted);
  margin: 0 0 20px;
}
.lp-contact__retry {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 600 13px/1 var(--grotesk);
  cursor: pointer;
  transition: border-color .16s ease;
}
.lp-contact__retry:hover { border-color: var(--ink); }

/* --- FAQ --------------------------------------------------------------- */
.lp-faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 104px 40px 96px;
}
.lp-faq__head {
  text-align: center;
  margin-bottom: 36px;
}
.lp-faq h2 {
  font: 600 clamp(28px, 3.4vw, 40px)/1.08 var(--grotesk);
  letter-spacing: -.03em;
  margin: 0;
}
.lp-faq__list {
  border-top: 1px solid var(--line);
}
.lp-faq__item {
  border-bottom: 1px solid var(--line);
}
.lp-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 2px;
  font: 500 17px/1.3 var(--grotesk);
  color: var(--ink);
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::marker { display: none; content: ''; }
.lp-faq__item .fx-mark {
  font: 400 20px/1 var(--grotesk);
  color: var(--muted);
  transition: transform .16s ease;
  display: inline-block;
}
.lp-faq__item[open] .fx-mark { transform: rotate(45deg); color: var(--ink); }
.lp-faq__item p {
  margin: 0 0 22px;
  padding: 0 2px;
  font: 400 15px/1.6 var(--grotesk);
  color: var(--muted);
}
.lp-faq__item p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Footer ------------------------------------------------------------ */
.lp-footer {
  border-top: 1px solid var(--line);
}
.lp-footer > div {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-footer__copy {
  margin: 0;
  font: 400 12px/1.5 var(--mono);
  color: var(--muted);
}
.lp-footer__links {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-footer__links a {
  font: 600 12.5px/1 var(--grotesk);
  color: var(--muted);
  transition: color .16s ease;
}
.lp-footer__links a:hover { color: var(--ink); }
.lp-footer__links a[href^="mailto:"] {
  color: var(--ink);
  font-family: var(--mono);
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .lp-dev__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 720px) {
  .lp-header { padding: 20px 24px; }
  .lp-hero   { padding: 72px 24px 20px; }
  .lp-recents,
  .lp-contact,
  .lp-faq    { padding-left: 24px; padding-right: 24px; }
  .lp-how,
  .lp-sponsors { padding: 80px 24px 0; }
  .lp-dev__inner { padding: 56px 24px; }
  .lp-how__grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-contact__row { grid-template-columns: 1fr; }
  .lp-nav__links { gap: 14px; }
  .lp-footer > div { padding: 20px 24px; }
}
@media (max-width: 480px) {
  .lp-nav__links li:first-child { display: none; }
  .lp-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .lp-lang__trigger span:not(.sr-only) { max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* --- RTL (Arabic/Hebrew/Persian/Urdu) --------------------------------- */
[dir="rtl"] .lp-shortener__submit { transform: scaleX(-1); }
[dir="rtl"] .lp-shortener__submit:hover:not(:disabled) { transform: scaleX(-1) scale(1.06); }
[dir="rtl"] .lp-shortener__submit:active:not(:disabled) { transform: scaleX(-1) scale(.96); }
[dir="rtl"] .lp-lang__panel { right: auto; left: 0; }
