/* DevizGSM marketing — light-first, brand #f15a24 */
:root {
  --bg: #f0f3f8;
  --bg2: #e8edf5;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #f15a24;
  --brand-hover: #d94a18;
  --brand-soft: rgba(241, 90, 36, 0.14);
  --accent-soft: rgba(59, 130, 246, 0.1);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius2: 24px;
  --max: 1120px;
  --nav-bg: rgba(240, 243, 248, 0.86);
  --ok: #15803d;
  --err: #b91c1c;
  --focus: 0 0 0 3px rgba(241, 90, 36, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070a10;
    --bg2: #0a101c;
    --card: #0c1220;
    --text: #e9eef8;
    --muted: #aab6cf;
    --line: rgba(255, 255, 255, 0.1);
    --brand: #ff6b35;
    --brand-hover: #ff8555;
    --brand-soft: rgba(255, 107, 53, 0.18);
    --accent-soft: rgba(96, 165, 250, 0.14);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --nav-bg: rgba(7, 10, 16, 0.82);
    --ok: #4ade80;
    --err: #f87171;
  }
}

*,
*::before,
*::after { box-sizing: border-box }

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
  html { color-scheme: dark }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 18% -8%, var(--brand-soft), transparent 55%),
    radial-gradient(900px 520px at 92% 0%, var(--accent-soft), transparent 50%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
a:hover { color: var(--brand) }
p { margin: 0 0 1em }
ul { margin: 0; padding: 0; list-style: none }

:focus { outline: none }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  box-shadow: var(--focus);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* —— Topbar / nav —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  flex-shrink: 0;
}
.brand:hover { color: inherit }
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}
.links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 9px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.links a:hover {
  color: var(--text);
  background: var(--brand-soft);
}
.links a.is-active {
  color: var(--brand);
  font-weight: 600;
}

.cta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop { display: none }

@media (max-width: 980px) {
  .nav-toggle { display: flex }
  body.menu-open .topbar { z-index: 100 }
  .nav .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 52;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 72px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1), visibility .3s ease;
    visibility: hidden;
    overflow-y: auto;
  }
  body.menu-open .nav .mobile-drawer {
    transform: translateX(0);
    visibility: visible;
  }
  .nav .mobile-drawer .links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
  }
  .nav .mobile-drawer .links a {
    padding: 14px 16px;
    font-size: 15px;
  }
  .nav .mobile-drawer .cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav .mobile-drawer .cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 48;
    background: rgba(7, 10, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
  }
  body.menu-open { overflow: hidden }
}

@media (min-width: 981px) {
  .nav .mobile-drawer { display: contents }
  .menu-backdrop { display: none !important }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  border-color: rgba(241, 90, 36, 0.45);
  transform: translateY(-1px);
  color: var(--text);
}
.btn:active { transform: translateY(0) }
.btn.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px var(--brand-soft);
}
.btn.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
  filter: none;
  box-shadow: 0 14px 36px var(--brand-soft);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* —— Layout sections —— */
main > section,
.section { padding: 56px 0 }

.sectionTitle { margin-bottom: 22px; max-width: 52ch }
.sectionTitle h1,
.sectionTitle h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 750;
  line-height: 1.2;
}
.sectionTitle p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr }
}

.feat {
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.feat:hover {
  border-color: rgba(241, 90, 36, 0.4);
  transform: translateY(-2px);
}
.feat b,
.feat h3 {
  display: block;
  font-size: 15px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr }
}
.step {
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.step .n {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  color: var(--brand);
}
.step b,
.step h3 {
  display: block;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* —— Hero split —— */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 40px;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  max-width: 22ch;
}
.hero-copy .lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}
.hero-copy .heroActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-copy .heroActions .btn {
  padding: 12px 18px;
  font-size: 14px;
}
.hero-copy .note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.hero-media {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 28px;
  }
  .hero-copy h1 { max-width: none }
}

/* —— CTA band —— */
.cta-band {
  padding: 36px 28px;
  border-radius: var(--radius2);
  border: 1px solid rgba(241, 90, 36, 0.35);
  background: var(--brand-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -0.03em;
}
.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
}
.cta-band .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* —— Pricing —— */
.price-card {
  padding: 28px 24px;
  border-radius: var(--radius2);
  border: 1px solid rgba(241, 90, 36, 0.4);
  background: var(--card);
  box-shadow: var(--shadow);
  max-width: 420px;
}
.price-card .amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card .period {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.price-card .note {
  display: block;
  margin: 10px 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.price-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.price-card li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--muted);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 22px 24px;
  border-radius: var(--radius2);
  border: 1px solid rgba(241, 90, 36, 0.35);
  background: var(--brand-soft);
}
.price-strip .amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.price-strip .period { color: var(--muted); font-weight: 600 }
.price-strip .note {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}

/* —— FAQ —— */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr }
}
.faq details,
details.faq-item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.faq summary,
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
}
.faq summary::-webkit-details-marker,
details.faq-item summary::-webkit-details-marker { display: none }
.faq details p,
details.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* —— Breadcrumbs —— */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted) }
.breadcrumbs a:hover { color: var(--brand) }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600 }
.breadcrumbs .sep { opacity: 0.5; user-select: none }

/* —— Prose (articles) —— */
.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
}
.prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin: 1.35em 0 0.4em;
  font-size: 1.12rem;
}
.prose p { margin: 0 0 1em; color: var(--muted) }
.prose p strong,
.prose li strong { color: var(--text); font-weight: 650 }
.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: var(--muted);
}
.prose ul { list-style: disc }
.prose ol { list-style: decimal }
.prose li { margin: 0.35em 0 }
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { filter: brightness(1.05) }
.prose img {
  margin: 1.2em 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.prose blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}

/* —— Blog —— */
.article-meta {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.article-meta time { color: var(--text); font-weight: 600 }
.toc {
  margin: 0 0 28px;
  padding: 18px 20px;
  max-width: 72ch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.toc h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}
.toc li { margin: 0.35em 0 }
.toc a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 550;
}
.toc a:hover { text-decoration: underline; text-underline-offset: 2px }
.blog-list {
  display: grid;
  gap: 0;
  max-width: 760px;
}
.blog-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.blog-item:first-child { padding-top: 0 }
.blog-item h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.blog-item h2 a {
  color: var(--text);
  text-decoration: none;
}
.blog-item h2 a:hover { color: var(--brand) }
.blog-item .excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.blog-item .meta {
  font-size: 0.88rem;
  color: var(--muted);
}
.blog-item .read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 650;
  text-decoration: none;
}
.blog-item .read-more:hover { text-decoration: underline; text-underline-offset: 2px }

/* —— Contact form —— */
.form-card {
  padding: 24px 22px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  max-width: 640px;
}
.form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .form-card .form-row { grid-template-columns: 1fr }
}
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-card .field { margin-bottom: 14px }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.form-card input:focus-visible,
.form-card select:focus-visible,
.form-card textarea:focus-visible {
  border-color: var(--brand);
}
.form-card textarea { min-height: 120px; resize: vertical }
.form-card .hp,
.form-card .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-card .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.form-card .check input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}
.form-card .check a { color: var(--brand); text-decoration: underline }
#contactMsg {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.25em;
}
#contactMsg.is-ok { color: var(--ok) }
#contactMsg.is-err { color: var(--err) }

/* —— Footer —— */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr }
}
.foot-brand {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
}
.footer b {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 10px;
}
.footer b.mt { margin-top: 18px }
.footer p { margin: 0 0 10px; line-height: 1.55 }
.footer .small { font-size: 13px }
.footer ul { margin: 0; padding: 0; list-style: none }
.footer li { margin: 0 0 7px }
.footer a:hover { color: var(--brand) }
.foot-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

/* —— Misc helpers —— */
.lead { color: var(--muted); font-size: 1.05rem }
.muted { color: var(--muted) }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
