:root {
  --aw-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --aw-primary: #078fc4;
  --aw-primary-dark: #025178;
  --aw-secondary: #0d89b5;
  --aw-accent: #64acc8;
  --aw-bg: #f7fafc;
  --aw-surface: #ffffff;
  --aw-surface-soft: #eef7fb;
  --aw-text: #102a43;
  --aw-muted: #62748a;
  --aw-border: rgba(2, 81, 120, 0.14);
  --aw-radius: 24px;
  --aw-radius-sm: 16px;
  --aw-shadow: 0 18px 45px rgba(2, 81, 120, 0.12);
  --aw-max: 1180px;
}
body.aw-website-body { background: var(--aw-bg); }
.aw-site { font-family: var(--aw-font-family); color: var(--aw-text); background: var(--aw-bg); }
.aw-site * { box-sizing: border-box; }
.aw-section { padding: 76px 20px; position: relative; }
.aw-container { max-width: var(--aw-max); margin: 0 auto; }
.aw-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(7,143,196,.10); color: var(--aw-primary-dark); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.aw-title { margin: 0; color: var(--aw-primary-dark); font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.aw-subtitle { margin: 18px 0 0; color: var(--aw-muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.aw-section-head { max-width: 790px; margin-bottom: 34px; }
.aw-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.aw-section-title { margin: 0; color: var(--aw-primary-dark); font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.aw-section-subtitle { margin: 14px 0 0; color: var(--aw-muted); font-size: 17px; line-height: 1.65; }
.aw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.aw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.aw-btn:hover { transform: translateY(-2px); text-decoration: none; }
.aw-btn-primary { background: var(--aw-primary); color: white; box-shadow: 0 12px 26px rgba(7,143,196,.25); }
.aw-btn-secondary { background: white; color: var(--aw-primary-dark); border-color: var(--aw-border); }
.aw-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--aw-border); }
.aw-nav-inner { max-width: var(--aw-max); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.aw-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--aw-primary-dark); text-decoration: none; font-weight: 900; }
.aw-brand-mark { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--aw-primary), var(--aw-primary-dark)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.aw-nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.aw-nav-link { padding: 9px 11px; border-radius: 999px; color: var(--aw-text); text-decoration: none; font-weight: 750; font-size: 14px; }
.aw-nav-link:hover { background: rgba(7,143,196,.08); color: var(--aw-primary-dark); text-decoration: none; }
.aw-hero { overflow: hidden; padding: 88px 20px; background: radial-gradient(circle at top right, rgba(7,143,196,.18), transparent 34%), linear-gradient(135deg, #fff 0%, #eef8fc 100%); }
.aw-hero-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(280px,.96fr); gap: 46px; align-items: center; }
.aw-hero-card { background: rgba(255,255,255,.86); border: 1px solid var(--aw-border); border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); padding: 20px; }
.aw-hero-card img { display: block; width: 100%; border-radius: 20px; }
.aw-mini-panel { display: grid; gap: 12px; }
.aw-mini-row { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: var(--aw-radius-sm); background: #f7fbfd; border: 1px solid var(--aw-border); }
.aw-mini-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 14px; background: rgba(7,143,196,.12); color: var(--aw-primary-dark); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.aw-grid { display: grid; gap: 18px; }
.aw-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.aw-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.aw-grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.aw-card { min-height: 100%; padding: 24px; background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: var(--aw-radius); box-shadow: 0 12px 32px rgba(2,81,120,.08); }
.aw-card-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 16px; background: rgba(7,143,196,.1); color: var(--aw-primary-dark); font-weight: 900; font-size: 16px; }
.aw-card h3 { margin: 0 0 10px; color: var(--aw-primary-dark); font-size: 20px; line-height: 1.25; }
.aw-card p { margin: 0; color: var(--aw-muted); line-height: 1.62; }
.aw-card-link { display: inline-flex; margin-top: 18px; color: var(--aw-primary-dark); font-weight: 850; text-decoration: none; }
.aw-card-link:hover { text-decoration: underline; }
.aw-metrics { background: var(--aw-primary-dark); color: white; }
.aw-metrics .aw-section-title, .aw-metrics .aw-section-subtitle { color: white; }
.aw-metric-card { padding: 26px; border-radius: var(--aw-radius); background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); }
.aw-metric-value { font-size: 38px; font-weight: 950; line-height: 1; }
.aw-metric-label { margin-top: 10px; color: rgba(255,255,255,.78); line-height: 1.4; }
.aw-logo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.aw-logo-pill { min-width: 150px; min-height: 58px; padding: 14px 20px; border-radius: 16px; background: #f7fbfd; border: 1px solid var(--aw-border); display: inline-flex; align-items: center; justify-content: center; color: var(--aw-primary-dark); font-weight: 900; }
.aw-cta { background: radial-gradient(circle at top left, rgba(169,208,221,.55), transparent 34%), linear-gradient(135deg, var(--aw-primary-dark), var(--aw-primary)); color: white; }
.aw-cta-box { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 34px; border-radius: var(--aw-radius); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.aw-cta h2, .aw-cta p { color: white; }
.aw-contact-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,1.1fr); gap: 24px; align-items: stretch; }
.aw-contact-info { padding: 30px; border-radius: var(--aw-radius); background: var(--aw-primary-dark); color: white; }
.aw-contact-info h2, .aw-contact-info p { color: white; }
.aw-contact-list { display: grid; gap: 12px; margin-top: 22px; }
.aw-contact-item { padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.1); }
.aw-contact-box { padding: 30px; border-radius: var(--aw-radius); background: white; border: 1px solid var(--aw-border); box-shadow: var(--aw-shadow); }
.aw-empty { padding: 28px; border-radius: var(--aw-radius); border: 1px dashed var(--aw-border); background: rgba(255,255,255,.72); color: var(--aw-muted); }
@media (max-width: 900px) {
  .aw-hero-grid, .aw-contact-card, .aw-cta-box { grid-template-columns: 1fr; }
  .aw-grid-2, .aw-grid-3, .aw-grid-4 { grid-template-columns: 1fr; }
  .aw-section { padding: 54px 18px; }
  .aw-hero { padding: 62px 18px; }
  .aw-title { font-size: 40px; }
  .aw-nav-inner { align-items: flex-start; flex-direction: column; }
  .aw-nav-links { justify-content: flex-start; }
}

/* v0.6.0 - forms, commercial details and media */
.aw-card-media { margin: -8px -8px 18px; border-radius: 18px; overflow: hidden; background: #eef7fb; border: 1px solid var(--aw-border); }
.aw-card-media img { width: 100%; height: 170px; object-fit: cover; display: block; }
.aw-lead-form { display: grid; gap: 12px; margin-top: 18px; }
.aw-lead-form input,
.aw-lead-form select,
.aw-lead-form textarea { width: 100%; border: 1px solid var(--aw-border); border-radius: 14px; padding: 12px 14px; color: var(--aw-text); background: #fff; outline: none; font: inherit; }
.aw-lead-form input:focus,
.aw-lead-form select:focus,
.aw-lead-form textarea:focus { border-color: var(--aw-primary); box-shadow: 0 0 0 4px rgba(7,143,196,.10); }
.aw-lead-form button:disabled { opacity: .65; cursor: wait; }
.aw-form-status { min-height: 22px; font-size: 14px; font-weight: 700; }
.aw-form-status.success { color: #0f766e; }
.aw-form-status.error { color: #b42318; }
.aw-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 36px; align-items: center; }
.aw-detail-image { border: 1px solid var(--aw-border); border-radius: var(--aw-radius); overflow: hidden; background: #fff; box-shadow: var(--aw-shadow); margin-bottom: 16px; }
.aw-detail-image img { width: 100%; display: block; object-fit: cover; max-height: 420px; }
.aw-video { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--aw-radius); overflow: hidden; background: #0f172a; box-shadow: var(--aw-shadow); margin-bottom: 16px; }
.aw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.aw-detail-placeholder { min-height: 260px; display: grid; place-items: center; border-radius: var(--aw-radius); background: linear-gradient(135deg, var(--aw-primary), var(--aw-primary-dark)); color: white; font-size: 56px; font-weight: 950; box-shadow: var(--aw-shadow); }
.aw-detail-content { max-width: 900px; }
.aw-rich { padding: 26px; background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: var(--aw-radius); box-shadow: 0 12px 32px rgba(2,81,120,.08); margin-bottom: 18px; }
.aw-rich h2 { margin-top: 0; color: var(--aw-primary-dark); }
.aw-rich p, .aw-rich li { color: var(--aw-muted); line-height: 1.72; }
.aw-rich ul { padding-left: 20px; }
@media (max-width: 900px) { .aw-detail-grid { grid-template-columns: 1fr; } .aw-card-media img { height: 210px; } }

/* AW Product Showcase - software demo component */
.aw-product-showcase {
  background: linear-gradient(180deg, rgba(7,143,196,0.055), rgba(255,255,255,0));
}
.aw-product-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(2,81,120,.14);
  border-radius: var(--aw-radius, 24px);
  box-shadow: 0 20px 55px rgba(2,81,120,.10);
}
.aw-product-description {
  color: var(--aw-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 16px 0 0;
}
.aw-product-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}
.aw-product-feature {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(2,81,120,.12);
  background: #f8fcfe;
}
.aw-product-feature strong {
  display: block;
  color: var(--aw-primary-dark);
  font-size: 15px;
}
.aw-product-feature span {
  display: block;
  margin-top: 3px;
  color: var(--aw-muted);
  line-height: 1.45;
}
.aw-product-workflow {
  margin: 20px 0 0;
  padding-left: 21px;
  color: var(--aw-text);
  line-height: 1.7;
}
.aw-product-demo {
  min-width: 0;
}
.aw-product-media-stack {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(2,81,120,.16);
  background: #0b2435;
  box-shadow: 0 18px 45px rgba(2,81,120,.18);
}
.aw-product-media-item {
  display: none;
}
.aw-product-media-item.is-active {
  display: block;
}
.aw-product-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b2435;
}
.aw-product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.aw-product-image {
  background: #f7fbfd;
}
.aw-product-image img {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
}
.aw-product-caption {
  margin: 0;
  padding: 12px 16px;
  color: rgba(255,255,255,.84);
  background: rgba(11,36,53,.96);
  font-size: 14px;
}
.aw-product-mock {
  min-height: 330px;
  padding: 22px;
  background: linear-gradient(135deg, #eef8fc, #ffffff);
}
.aw-product-browser {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}
.aw-product-browser span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(7,143,196,.45);
}
.aw-product-lines {
  display: grid;
  gap: 14px;
}
.aw-product-lines b {
  display: block;
  min-height: 54px;
  border-radius: 18px;
  background: rgba(7,143,196,.12);
}
.aw-product-lines b:nth-child(1) { width: 78%; }
.aw-product-lines b:nth-child(2) { width: 92%; }
.aw-product-lines b:nth-child(3) { width: 64%; }
.aw-product-lines b:nth-child(4) { width: 86%; }
.aw-product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.aw-product-thumb {
  text-align: left;
  padding: 12px 13px;
  border: 1px solid rgba(2,81,120,.15);
  border-radius: 16px;
  background: #fff;
  color: var(--aw-primary-dark);
  font-weight: 800;
  cursor: pointer;
}
.aw-product-thumb span {
  display: block;
  margin-bottom: 3px;
  color: var(--aw-muted);
  font-size: 11px;
  letter-spacing: .06em;
}
.aw-product-thumb.is-active {
  background: rgba(7,143,196,.09);
  border-color: rgba(7,143,196,.38);
}
@media (max-width: 920px) {
  .aw-product-shell {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .aw-product-thumbs {
    grid-template-columns: 1fr;
  }
}

/* AW Website Builder page */
.aw-builder-app { padding: 8px; }
.aw-builder-hero { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:22px; border:1px solid #e5edf3; border-radius:18px; background:linear-gradient(135deg,#ffffff,#f2f8fb); margin-bottom:16px; }
.aw-builder-kicker { display:inline-block; padding:6px 10px; border-radius:999px; background:#e5f4fb; color:#025178; font-size:12px; font-weight:800; text-transform:uppercase; }
.aw-builder-hero h2 { margin:10px 0 6px; color:#025178; font-weight:800; }
.aw-builder-hero p { margin:0; color:#62748A; max-width:760px; }
.aw-builder-actions { display:flex; gap:8px; flex-wrap:wrap; }
.aw-builder-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0 0 14px; }
.aw-builder-steps div { background:#fff; border:1px solid #e5edf3; border-radius:14px; padding:12px; }
.aw-builder-steps b { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:10px; background:#078FC4; color:#fff; margin-right:6px; }
.aw-builder-steps span { font-weight:800; color:#025178; }
.aw-builder-steps small { display:block; color:#62748A; margin-top:5px; }
.aw-builder-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.aw-builder-panel { background:#fff; border:1px solid #e5edf3; border-radius:16px; padding:16px; min-height:190px; }
.aw-builder-wide { margin-top:14px; }
.aw-builder-panel h4 { margin:0 0 12px; color:#102A43; font-weight:800; }
.aw-builder-item { display:block; padding:11px 12px; border-radius:12px; background:#f7fafc; border:1px solid #edf3f7; margin-bottom:8px; cursor:pointer; }
.aw-builder-item:hover { background:#eef8fc; border-color:#cfe8f2; }
.aw-builder-item strong { display:block; color:#025178; }
.aw-builder-item span { display:block; color:#62748A; font-size:12px; margin-top:3px; }
.aw-guide-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.aw-builder-palettes { display:grid; gap:8px; }
.aw-builder-palette { padding:10px; border-radius:12px; border:1px solid #edf3f7; background:#f7fafc; }
.aw-builder-palette strong { display:block; color:#025178; }
.aw-builder-palette small { color:#62748A; }
.aw-palette-swatches { display:flex; gap:6px; margin-bottom:8px; }
.aw-palette-swatches span { width:24px; height:24px; border-radius:8px; border:1px solid rgba(0,0,0,.06); }
.aw-empty { color:#62748A; font-size:13px; }
@media(max-width:900px){ .aw-builder-grid,.aw-guide-list,.aw-builder-steps{ grid-template-columns:1fr; } .aw-builder-hero{ flex-direction:column; align-items:flex-start; } }
