:root {
  --fg: #0D0D0D;
  --muted: #3A3A3A;
  --subtle: #7A7A7A;
  --bg: #FFFFFF;
  --surface: #F6F6F6;
  --border: #E5E5E5;
  --accent: #F26B1F;
  --destructive: #B3261E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--muted); }

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

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

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--fg);
}
.brand img {
  height: 26px;
  width: 26px;
  object-fit: contain;
  display: block;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}
.nav a:hover { color: var(--fg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
  display: inline-block;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

/* ---------- Product card ---------- */
.product-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg);
  color: inherit;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
  color: inherit;
}
.product-card.lg { padding: 32px; }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.product-icon.brand {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.product-body { flex: 1; }
.product-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.product-card.lg .product-title {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.product-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.65;
}
.product-card.lg .product-desc {
  font-size: 16px;
  max-width: 560px;
}
.product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--subtle);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.1px;
}
.btn:hover {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--bg);
}
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn.ghost:hover {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--muted);
}

.cta-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Prose (about) ---------- */
.prose p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 640px;
}

/* ---------- Contact ---------- */
.contact-block { padding: 24px 0 8px; }
.helper {
  color: var(--subtle);
  font-size: 15px;
  margin-top: 24px;
  max-width: 520px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Form */
.contact-form .form-field { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 7px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--fg);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { margin-top: 4px; }
.contact-form input.invalid,
.contact-form textarea.invalid { border-color: var(--destructive); }
.field-error {
  display: none;
  color: var(--destructive);
  font-size: 12.5px;
  margin-top: 6px;
  line-height: 1.5;
}
.field-error.show { display: block; }
.form-consent {
  font-size: 12.5px;
  color: var(--subtle);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 480px;
}
.form-consent a { color: var(--fg); border-bottom: 1px solid var(--border); }
.form-status {
  font-size: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: none;
  line-height: 1.6;
}
.form-status.show { display: block; }
.form-status.error { color: var(--destructive); }

/* Details + map */
.contact-info .info-block { margin-bottom: 28px; }
.contact-info .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}
.contact-info address {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.map-embed {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Policy pages ---------- */
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.policy h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.policy .meta {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 40px;
}
.policy h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
  color: var(--fg);
}
.policy p,
.policy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.policy ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.policy a {
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.policy a:hover { border-color: var(--fg); }

/* Compliance badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
}

/* Policy tables */
.policy .table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.policy table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 13.5px;
  line-height: 1.5;
}
.policy th,
.policy td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--muted);
  margin: 0;
}
.policy thead th {
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  white-space: nowrap;
}
.policy tbody tr:last-child td { border-bottom: 0; }
.policy td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--fg);
  white-space: nowrap;
}
.policy .muted-cell { color: var(--subtle); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 80px;
  font-size: 13px;
  color: var(--subtle);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--fg); }

/* ---------- Product detail pages ---------- */
.product-hero { padding: 80px 0 48px; }
.product-hero .logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}
.product-hero .logo img { width: 100%; height: 100%; object-fit: cover; }
.product-hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.product-hero .lead { font-size: 19px; color: var(--muted); max-width: 600px; line-height: 1.6; }
.product-hero .platforms { font-size: 13px; color: var(--subtle); margin-top: 20px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  background: var(--bg);
}
.feature h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.roadmap-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 6px;
}
.roadmap-col ul { list-style: none; }
.roadmap-col li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 760px;
}
.plan {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  background: var(--bg);
}
.plan.featured { border-color: var(--fg); }
.plan-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
}
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--subtle); letter-spacing: 0; }
.plan .price-sub { font-size: 14px; color: var(--muted); margin-top: 10px; }
.save-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 6px;
}
.plan ul { list-style: none; margin: 22px 0 26px; }
.plan li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fg);
  font-weight: 700;
}
.plan .btn, .plan .btn.disabled { width: 100%; }
.btn.disabled {
  background: var(--surface);
  color: var(--subtle);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}
.plan .cta-note { font-size: 12.5px; color: var(--subtle); margin-top: 10px; text-align: center; }
.disclaimer { font-size: 13px; color: var(--subtle); margin-top: 24px; max-width: 640px; line-height: 1.6; }
.disclaimer a { color: var(--fg); border-bottom: 1px solid var(--border); }

/* Why-web points + FAQ */
.points { display: grid; gap: 22px; max-width: 700px; }
.point h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 6px; }
.point p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.point a { color: var(--fg); border-bottom: 1px solid var(--border); }
.faq { max-width: 700px; }
.faq-item { padding: 20px 0; border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.faq-item a { color: var(--fg); border-bottom: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .product-hero { padding: 48px 0 32px; }
  .product-hero h1 { font-size: 36px; letter-spacing: -0.5px; }
  .product-hero .lead { font-size: 16px; }
  .hero { padding: 56px 0 32px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero .lead { font-size: 16px; }
  section { padding: 40px 0; }
  section h2 { font-size: 26px; margin-bottom: 24px; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 26px -20px rgba(0, 0, 0, 0.3);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a {
    font-size: 15px;
    padding: 12px 24px;
    color: var(--fg);
  }
  .brand { font-size: 15px; }
  .policy { padding: 40px 20px 64px; }
  .policy h1 { font-size: 30px; }
  .policy h2 { font-size: 19px; }
  .product-card { flex-direction: column; }
  .product-card.lg .product-title { font-size: 22px; }
  .site-footer { margin-top: 56px; padding: 24px 0; }
}
