/* ProDesk v4 public pages. Flutter boot styles stay in index.html. */
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Ethiopic";
  src: url("fonts/NotoSansEthiopic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Ethiopic";
  src: url("fonts/NotoSansEthiopic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --pd-primary: #1565C0;
  --pd-primary-dark: #1E3A8A;
  --pd-primary-tint: #E8EEF7;
  --pd-accent: #0D9488;
  --pd-accent-text: #0F766E;
  --pd-steel: #475569;
  --pd-surface: #FFFFFF;
  --pd-background: #F1F5F9;
  --pd-border: #E2E8F0;
  --pd-text: #0F172A;
  --pd-text-secondary: #475569;
  --pd-text-muted: #64748B;
  --pd-success: #0D9488;
  --pd-warning: #C2410C;
  --pd-error: #DC2626;
  --pd-info: #1565C0;
  --pd-max: 1240px;
  --pd-gutter: 24px;
  --font-display: "Plus Jakarta Sans", "Noto Sans Ethiopic", sans-serif;
  --font-body: Inter, "Noto Sans Ethiopic", sans-serif;
}

html[lang="am"] .lang-en { display: none !important; }
html:not([lang="am"]) .lang-am { display: none !important; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pd-background);
  color: var(--pd-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

html[lang="am"] body {
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--pd-primary-dark); }
a:hover { color: var(--pd-primary); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: var(--pd-text);
  padding: 8px 12px;
  z-index: 10000;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--pd-primary);
  outline-offset: 2px;
}

#prodesk-landing {
  position: fixed;
  inset: 0;
  z-index: 9990;
  overflow: auto;
  background: var(--pd-background);
  color: var(--pd-text);
}
#prodesk-landing.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.wrap {
  width: min(var(--pd-max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header, .nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pd-surface);
  border-bottom: 1px solid var(--pd-border);
}
.nav-inner, .site-header .site-wrap, .site-header {
  width: min(var(--pd-max), calc(100% - 48px));
  margin: 0 auto;
}
.site-header {
  width: min(var(--pd-max), calc(100% - 48px));
  border: 0;
  background: transparent;
}
body > .nav, .page > .nav { width: 100%; }

.brand img { height: 32px; width: auto; display: block; }
.site-nav, .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}
.site-nav a, .nav-links a {
  color: var(--pd-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--pd-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  font: 600 15px/1 Inter, sans-serif;
  color: var(--pd-text);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--pd-primary-tint);
  color: var(--pd-primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  font-family: Inter, "Noto Sans Ethiopic", sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--pd-primary); color: #fff; }
.btn-primary:hover { background: var(--pd-primary-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--pd-primary-dark);
  border-color: var(--pd-border);
}
.btn-ghost:hover { background: var(--pd-primary-tint); color: var(--pd-primary-dark); }

h1, h2, h3, .word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 36px; line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 800; }
html[lang="am"] h1 { font-size: 60px; line-height: 1.6; }
html[lang="am"] h2 { font-size: 39px; line-height: 1.6; }
html[lang="am"] h3, html[lang="am"] p { line-height: 1.65; }

.lead { font-size: 20px; line-height: 1.55; color: var(--pd-text-secondary); max-width: 62ch; }
html[lang="am"] .lead { font-size: 22px; line-height: 1.65; }
.muted { color: var(--pd-text-secondary); }
.fine { color: var(--pd-text-muted); font-size: 14px; }

.section { padding: 96px 0; }
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--pd-primary-tint) 100%);
  padding: 48px 0 72px;
}
.hero-grid, .split, .pricing-top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.chip {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pd-text-secondary);
  margin-bottom: 16px;
}
.checks { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; color: var(--pd-text-secondary); font-size: 14px; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lock { margin: 10px 0 0; color: var(--pd-text-secondary); font-size: 15px; }

.frame {
  position: relative;
}
.frame img, .shot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pd-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}
.frame img.slip {
  position: absolute;
  right: 16px;
  bottom: 36px;
  width: min(220px, 38%);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pd-border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  background: #fff;
}
.sample-label {
  display: inline-block;
  margin-top: 36px;
  font-size: 13px;
  color: var(--pd-text-muted);
}

.trust {
  background: #fff;
  border-top: 1px solid var(--pd-border);
  border-bottom: 1px solid var(--pd-border);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  color: var(--pd-text-secondary);
  font-weight: 500;
}

.cards-3, .cards-6 {
  display: grid;
  gap: 24px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.cards-6 { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.card, .panel, .price-card {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  padding: 20px;
}
.card p, .panel p { color: var(--pd-text-secondary); }
.icon {
  width: 24px;
  height: 24px;
  display: block;
  margin-bottom: 12px;
  color: var(--pd-primary);
}

.preview {
  margin-top: 14px;
  border-top: 1px solid var(--pd-border);
  padding-top: 10px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--pd-text-secondary);
}

.band {
  background: var(--pd-primary-dark);
  color: #fff;
}
.band h2, .band p { color: #fff; }
.band .fine, .band .muted { color: #E8EEF7; }
.soon {
  display: inline-block;
  border: 1px solid #E8EEF7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #E8EEF7;
}
.gradient-cta {
  background: linear-gradient(90deg, #1E3A8A, #1565C0);
  color: #fff;
}
.gradient-cta h2 { color: #fff; }

.facts { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.facts th, .facts td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--pd-border);
  font-weight: 500;
}
.facts th { color: var(--pd-text-secondary); font-weight: 500; width: 46%; }
.quote-card h2 { margin-bottom: 8px; }
.cover-list { list-style: none; padding: 0; margin: 16px 0 0; }
.cover-list li { padding: 8px 0 8px 28px; position: relative; }
.cover-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--pd-accent-text);
  border-bottom: 2px solid var(--pd-accent-text);
  transform: rotate(-45deg);
}
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.step-no {
  font-variant-numeric: tabular-nums;
  color: var(--pd-primary);
  font-weight: 600;
}

.site-footer, footer.site {
  background: var(--pd-primary-dark);
  color: #E8EEF7;
  padding: 48px 0 28px;
}
.site-footer a, footer.site a { color: #fff; text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.foot-brand img { height: 36px; width: auto; background: transparent; }
.kokeb-mark { height: 48px; width: auto; margin-top: 12px; }
.site-footer p, footer.site p { color: #E8EEF7; }
.legal { margin-top: 28px; font-size: 13px; color: #E8EEF7; }

.sticky-quote { display: none; }

.page-main { padding: 48px 0 96px; }
.page-main h1 { margin-bottom: 12px; }

.menu-btn, .only-mobile { display: none; }

@media (max-width: 1023px) {
  h1 { font-size: 40px; }
  html[lang="am"] h1 { font-size: 44px; }
  .span-5, .span-6, .span-7 { grid-column: span 6; }
  .cards-6, .faq, .trust-row, .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  h1 { font-size: 32px; line-height: 1.15; }
  h2 { font-size: 26px; }
  html[lang="am"] h1 { font-size: 34px; line-height: 1.6; }
  html[lang="am"] h2 { font-size: 28px; }
  .wrap, .site-header { width: min(var(--pd-max), calc(100% - 32px)); }
  .section { padding: 56px 0; }
  .span-5, .span-6, .span-7, .cards-3, .cards-6, .faq, .steps, .trust-row, .foot-grid {
    grid-template-columns: 1fr;
  }
  .span-5, .span-6, .span-7 { grid-column: 1 / -1; }
  .nav-actions .btn { display: none; }
  .brand img { height: 28px; }
  .nav-inner { width: calc(100% - 24px) !important; gap: 8px !important; }
  .nav-links, .site-nav { display: none; }
  .only-mobile { display: inline; }
  .nav-links.is-open, .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--pd-border);
    z-index: 20;
  }
  .menu-btn { display: inline-flex; }
  .frame img.slip { display: none; }
  .sample-label { margin-top: 12px; }
  .sticky-quote {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--pd-border);
  }
  .sticky-quote .btn { width: 100%; }
  body { padding-bottom: 72px; }
  #prodesk-landing { padding-bottom: 72px; }
}

.install-banner {
  margin: 12px auto;
  width: min(var(--pd-max), calc(100% - 48px));
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  padding: 12px 16px;
}
.install-banner[hidden] { display: none; }
