@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');
@font-face {
  font-family: 'Mehr';
  src: url('../fonts/Mehr.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --chrome: #323232;
  --chrome-2: #3a3a3a;
  --chrome-3: #2b2b2b;
  --txt: #d4d4d4;
  --txt-dim: #9a9a9a;
  --accent: #d99b28;
  --accent-dim: #b9812080;
  --paper: #F3ECDD;
  --paper-text: #2A2118;
  --direct: #2F7ED9;
  --line: #262626;
  --focus-ring: 0 0 0 3px rgba(217,155,40,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  background: var(--chrome-3);
  color: var(--txt);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
.ur { font-family: 'Mehr', 'Segoe UI', system-ui, sans-serif; }

/* Twin-language content: default is English (dir=ltr); toggling <html dir="rtl">
   flips which twin is shown — no JS string dictionary needed for one page. */
html[dir="rtl"] .t-en { display: none; }
html:not([dir="rtl"]) .t-ur { display: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; }

a, button, .btn-use, .btn-ghost, .lang-toggle {
  cursor: pointer;
}
a:focus-visible, button:focus-visible, .btn-use:focus-visible, .btn-ghost:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.lp-header {
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.lp-header .wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 8px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Fraunces', serif;
}
.lp-brand .mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.lp-header .spacer { flex: 1; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--txt-dim);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s ease, color .15s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.btn-use {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  padding: 0 22px;
  border-radius: 8px;
  border: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-use:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(217,155,40,.28); color: #1a1a1a; }
.btn-use:active { transform: translateY(0); }

/* ---------- hero ---------- */
.lp-hero {
  padding: 56px 0 48px;
  min-height: 72dvh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(217,155,40,.16), transparent 60%),
    var(--chrome-3);
}
.lp-hero .wrap { width: 100%; }
.lp-hero .tagline {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--accent-dim);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  text-shadow: 0 0 12px rgba(217,155,40,.35);
}
.lp-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.lp-hero h1 em { color: var(--accent); font-style: italic; }
.lp-hero p.lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--txt-dim);
  font-size: 17px;
  line-height: 1.85;
}
.lp-hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-use.large { font-size: 16px; padding: 0 32px; min-height: 52px; border-radius: 10px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--txt);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .15s ease, color .15s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- preview strip ---------- */
.lp-preview {
  margin: 0 auto 8px;
  max-width: 720px;
  background: var(--paper);
  color: var(--paper-text);
  border: 1px solid #00000022;
  border-radius: 14px;
  padding: 36px 30px;
  font-size: 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.38);
}

/* ---------- section shell ---------- */
.lp-section { padding: 72px 0; }
.lp-section .kicker {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lp-section h2 {
  font-family: 'Fraunces', serif;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 44px;
}

/* ---------- features ---------- */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.lp-card {
  background: var(--chrome);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
}
.lp-card .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(217,155,40,.14);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.lp-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.lp-card h3 { font-size: 16px; color: #fff; margin-bottom: 8px; font-weight: 600; }
.lp-card p { font-size: 14px; color: var(--txt-dim); line-height: 1.8; }

/* ---------- early-version / feedback note ---------- */
.lp-note {
  background: var(--chrome);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.lp-note .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(47,126,217,.14);
  color: var(--direct);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-note .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.lp-note h3 { font-size: 16px; color: #fff; margin-bottom: 8px; font-weight: 600; }
.lp-note p { font-size: 14px; color: var(--txt-dim); line-height: 1.85; }
.lp-note p + p { margin-top: 8px; }

/* ---------- bottom CTA ---------- */
.lp-cta {
  text-align: center;
  padding: 64px 0 80px;
}
.lp-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 26px;
}

/* ---------- footer ---------- */
.lp-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  text-align: center;
  color: var(--txt-dim);
  font-size: 13.5px;
}
.lp-footer .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.lp-footer a.credit {
  color: var(--accent);
  font-weight: 600;
}
.lp-footer a.credit:hover { text-decoration: underline; }
.lp-footer a:not(.credit):hover { color: var(--txt); }
.lp-footer .sep { opacity: .5; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .lp-hero h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-hero { min-height: auto; padding: 48px 0 40px; }
}
@media (max-width: 640px) {
  .lp-header .wrap { min-height: 56px; }
  .lp-brand { font-size: 15px; }
  .lp-hero h1 { font-size: 30px; }
  .lp-hero p.lead { font-size: 15px; }
  .lp-preview { font-size: 20px; padding: 26px 18px; }
  .lp-section { padding: 48px 0; }
  .lp-section h2 { font-size: 24px; }
  .lp-note { flex-direction: column; }
  .btn-use.large, .btn-ghost { width: 100%; }
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lang-toggle { min-height: 40px; }
}
