/* Dev Wiser — static site */
:root {
  --navy: #0b1220;
  --navy-soft: #141c2e;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #eff4ff;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --ink: #111827;
  --ink-muted: #5b6474;
  --border: #e5eaf0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a,
.nav-desktop .nav-drop > button {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.nav-desktop a:hover,
.nav-desktop .nav-drop > button:hover {
  color: var(--navy);
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 17rem;
  padding: 0.5rem 0;
  margin-top: 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  display: block;
}

.nav-drop-menu a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.nav-drop-menu a:hover {
  background: var(--surface-alt);
}

.nav-drop-menu span {
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 0 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 1100px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }
  .menu-btn,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: #d0d7e2;
}

.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, #d0d7e2);
  background: var(--surface-alt);
}

.btn-on-dark {
  background: var(--brand);
  color: #fff;
}

.btn-on-dark-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-on-dark-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .btn-row .btn {
    width: 100%;
  }
}

/* Sections */
.section {
  padding: 3.75rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-alt {
  background: var(--surface-alt);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-navy .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.lead {
  color: var(--ink-muted);
  max-width: 36rem;
  margin-top: 1rem;
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.07), transparent 55%),
    #fff;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-size: clamp(2.05rem, 4vw, 2.85rem);
  max-width: 18ch;
  text-wrap: balance;
}

.trust-inline {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .trust-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

.trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.check {
  color: var(--brand);
  font-weight: 700;
}

.trust-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.price {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1rem;
}

.price small {
  font-weight: 500;
  color: var(--ink-muted);
  margin-right: 0.35rem;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.link-row:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}

.muted {
  color: var(--ink-muted);
}

.tiny {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.list-check li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.list-check li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
}

.browser {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.r {
  background: #ff5f57;
}
.dot.y {
  background: #febc2e;
}
.dot.g {
  background: #28c840;
}

.browser-url {
  flex: 1;
  margin-left: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  padding: 1rem;
}

.skel {
  background: var(--surface-alt);
  border-radius: 8px;
}

.skel-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.skel-hero {
  background: linear-gradient(135deg, var(--brand-soft), var(--surface-alt));
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.skel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.skel-cards .skel {
  aspect-ratio: 4/3;
}

.notice {
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.maint-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.maint-row strong {
  color: #fff;
}

.cta-box {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.process {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process .num {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  background: #fff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.checkbox input {
  margin-top: 0.3rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
}

.form-success.show {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .logo {
  color: #fff;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 50rem;
  line-height: 1.7;
}

.footer-legal p {
  margin-bottom: 0.65rem;
}

/* Page utilities */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-alt);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  max-width: 18ch;
}
