:root {
  color-scheme: light;
  --bg: #f8f3ec;
  --text: #1f1f1c;
  --muted: #5f564c;
  --accent: #b5893b;
  --accent-dark: #8a692c;
  --accent-soft: #eadcc0;
  --card: #fcf9f4;
  --border: #e3d6c6;
  --shadow: 0 24px 60px rgba(32, 28, 22, 0.12);
  --radius: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto auto auto;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(181, 137, 59, 0.16), transparent 70%);
}

body::after {
  bottom: -140px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 31, 28, 0.08), transparent 70%);
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Manrope", sans-serif;
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
}

section {
  padding: 80px 0;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 243, 236, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 16px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.logo-mark {
  width: 28px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(31, 31, 28, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu a:not(.button) {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-menu a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu a:not(.button):hover,
.nav-menu a:not(.button):focus-visible {
  color: var(--text);
}

.nav-menu a:not(.button):hover::after,
.nav-menu a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-menu a.is-active:not(.button) {
  color: var(--text);
}

.nav-menu a.is-active:not(.button)::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--accent);
  color: #1b1409;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px rgba(181, 137, 59, 0.2);
}

.button:hover,
.button:focus-visible {
  background: #c79a48;
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: #f0e5d3;
}

.button.small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(181, 137, 59, 0.45);
  outline-offset: 2px;
}

.hero {
  padding: 110px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.hero-subhead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 20px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.trust-strip span + span {
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: min(100%, 420px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  display: grid;
  gap: 16px;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(181, 137, 59, 0.14);
  z-index: 0;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 30px;
  width: 170px;
  height: 170px;
  border-radius: 36px;
  border: 1px solid rgba(31, 31, 28, 0.08);
  background: rgba(181, 137, 59, 0.08);
  transform: rotate(6deg);
  z-index: 0;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
}

.hero-panel--bottom {
  background: #fff7ea;
  display: grid;
  gap: 12px;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.hero-panel-dots {
  display: inline-flex;
  gap: 4px;
}

.hero-panel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel-title {
  font-weight: 600;
  color: var(--text);
}

.hero-panel-status {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--accent-dark);
  background: #fff;
}

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  position: relative;
}

.hero-flow::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12px;
  right: 12px;
  border-top: 1px dashed rgba(181, 137, 59, 0.5);
  z-index: 0;
}

.hero-node {
  position: relative;
  z-index: 1;
  background: #fff8ed;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 74px;
  box-shadow: 0 10px 18px rgba(31, 31, 28, 0.08);
}

.hero-node::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  justify-self: end;
}

.hero-node-label {
  font-weight: 600;
}

.hero-node-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  gap: 10px;
}

.hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 31, 28, 0.08);
  background: #fffaf0;
}

.hero-metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-metric-value {
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.hero-badge {
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  background: #fffdf6;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-subhead {
  color: var(--muted);
}

.fast-start-highlight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.fast-start-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fffaf1;
  box-shadow: 0 12px 26px rgba(31, 31, 28, 0.08);
}

.fast-start-content {
  display: grid;
  gap: 12px;
}

.fast-start-subtext {
  color: var(--muted);
  margin: 0;
}

.fast-start-fit {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.fast-start-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0;
}

.fast-start-list {
  margin: 0;
  padding-left: 18px;
}

.fast-start-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.fast-start-link {
  margin-top: 4px;
}

.fast-start-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.fast-start-badge {
  align-self: start;
}

@media (min-width: 900px) {
  .fast-start-panel {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  }

  .fast-start-actions {
    justify-items: start;
    align-content: start;
  }
}

.alt {
  background: #f6efe4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fffdf8;
  box-shadow: 0 12px 26px rgba(31, 31, 28, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(31, 31, 28, 0.12);
  border-color: rgba(181, 137, 59, 0.35);
}

.card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.8;
}

.card h3 {
  margin-top: 18px;
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid .card {
    grid-column: span 2;
  }

  .card-grid .card:nth-child(4),
  .card-grid .card:nth-child(5) {
    grid-column: span 3;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  padding: 20px;
  border-left: 2px solid var(--accent);
  background: #fff7ea;
  border-radius: 12px;
}

.step-number {
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-block;
  margin-bottom: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.price-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(31, 31, 28, 0.08);
  display: grid;
  gap: 12px;
  align-content: start;
}

.price-card p {
  margin: 0;
}

.price-card__left {
  display: grid;
  gap: 16px;
}

.price-card__right {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 14px;
}

.price-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.price-list li {
  margin: 0;
}

.price-card__intro h3 {
  margin-bottom: 6px;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent-dark);
}

.price-promise {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

.price-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.price-desc {
  margin: 0;
  color: var(--muted);
}

.price-card--fast-start {
  border-color: rgba(181, 137, 59, 0.35);
  background: #fffaf1;
  align-items: start;
}

@media (min-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-card--fast-start {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 24px;
  }
}

.faq-grid {
  display: grid;
  gap: 16px;
}

details {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px 18px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] {
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
}

details p {
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-details {
  margin: 24px 0;
  display: grid;
  gap: 16px;
}

.contact-details span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(31, 31, 28, 0.08);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fffdf8;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(181, 137, 59, 0.4);
  border-color: var(--accent);
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(143, 59, 46, 0.2);
  background: rgba(143, 59, 46, 0.08);
  color: #8f3b2e;
}

.form-status[data-success="true"] {
  border-color: rgba(38, 102, 75, 0.3);
  background: rgba(38, 102, 75, 0.1);
  color: #27664b;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f7efe1;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.footer-brand p {
  margin: 0;
}

.footer-brand .logo-mark {
  width: 24px;
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  align-items: center;
  margin-left: auto;
  justify-content: flex-end;
}

.footer-links a {
  position: relative;
  transition: color 0.2s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a.is-active {
  color: var(--text);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.footer-links a.is-active::after {
  transform: scaleX(1);
}

.page-intro {
  padding-top: 96px;
  padding-bottom: 24px;
}

.intro-copy {
  max-width: 720px;
}

.home-teaser {
  padding-top: 56px;
  padding-bottom: 56px;
}

.compact-heading {
  margin-bottom: 28px;
}

.section-action {
  margin-top: 24px;
}

.callout {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: var(--card);
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
  display: grid;
  gap: 20px;
  align-items: center;
}

.contact-cta {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: var(--card);
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
  display: grid;
  gap: 18px;
  align-items: center;
}

.quick-links-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quick-link-card {
  grid-column: span 1;
}

.quick-link-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fffdf8;
  padding: 20px 18px 18px;
  box-shadow: 0 8px 18px rgba(31, 31, 28, 0.06);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-link-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
}

.quick-link-title {
  margin: 0;
  margin-top: 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.quick-link-sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.quick-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8f1e4;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.quick-link-button:hover,
.quick-link-button:focus-visible {
  background: #efdfc0;
  border-color: rgba(181, 137, 59, 0.45);
}

.quick-link-card:hover,
.quick-link-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(31, 31, 28, 0.11);
  border-color: rgba(181, 137, 59, 0.4);
}

.service-stack {
  display: grid;
  gap: 20px;
}

.service-detail-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(31, 31, 28, 0.08);
  display: grid;
  gap: 18px;
}

.service-detail-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.service-detail-head p {
  margin: 0;
  color: var(--muted);
}

.service-detail-columns {
  display: grid;
  gap: 18px;
}

.service-detail-columns h3 {
  margin-bottom: 8px;
}

.case-showcase {
  display: grid;
  gap: 18px;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fffaf1;
  box-shadow: 0 10px 24px rgba(31, 31, 28, 0.08);
  position: relative;
  overflow: hidden;
}

.case-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #d9c29c;
}

.case-row--admin::before {
  background: #b98a44;
}

.case-row--ai::before {
  background: #8f6f36;
}

.case-row--portal::before {
  background: #c39b5f;
}

.case-copy h2 {
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  margin-bottom: 10px;
}

.case-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

.case-copy p {
  margin-bottom: 10px;
}

.case-copy ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.case-copy li + li {
  margin-top: 8px;
}

.work-demos {
  padding-top: 28px;
}

.demo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.demo-card {
  display: grid;
  gap: 8px;
}

.demo-card h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.browser-frame {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 10px 22px rgba(31, 31, 28, 0.09);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: #f5ecdf;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9b28a;
}

.browser-viewport {
  --demo-zoom-width: 110%;
  height: clamp(400px, 56vh, 640px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 105, 44, 0.5) #f3eadc;
}

.browser-viewport::-webkit-scrollbar {
  width: 10px;
}

.browser-viewport::-webkit-scrollbar-thumb {
  background: rgba(138, 105, 44, 0.45);
  border-radius: 999px;
  border: 2px solid #f7efe3;
}

.browser-viewport::-webkit-scrollbar-track {
  background: #f7efe3;
}

.browser-viewport img {
  display: block;
  width: var(--demo-zoom-width);
  max-width: none;
  height: auto;
  margin-left: calc((100% - var(--demo-zoom-width)) / 2);
}

.browser-viewport:focus-visible {
  outline: 2px solid rgba(181, 137, 59, 0.45);
  outline-offset: -2px;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-page .page-intro {
  padding-bottom: 8px;
}

.faq-page .faq-section {
  padding-top: 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 6px 18px;
  transition: box-shadow 0.2s ease;
}

.faq-item h2 {
  margin: 0;
}

.faq-item.is-open {
  box-shadow: 0 12px 24px rgba(31, 31, 28, 0.08);
}

.faq-question {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  color: var(--text);
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-question::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer-inner {
  color: var(--muted);
  padding: 0 0 16px;
}

.faq-answer-inner p {
  margin: 0;
}

.price-card h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.price-card--fast-start h2 {
  font-size: 2rem;
}

.price-card--fast-start .price {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 8px;
}

@media (min-width: 900px) {
  .callout,
  .contact-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-detail-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .teaser-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .teaser-services-grid .card {
    grid-column: span 1;
  }

  .teaser-services-grid .card:nth-child(4),
  .teaser-services-grid .card:nth-child(5) {
    grid-column: span 1;
  }

  .quick-links-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .quick-links-grid .quick-link-card {
    grid-column: span 2;
  }

  .quick-links-grid .quick-link-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a:not(.button) {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }

  .case-row {
    padding: 18px;
    border-radius: 16px;
  }

  .case-copy h2 {
    font-size: 1.34rem;
  }

  .browser-viewport {
    --demo-zoom-width: 108%;
    height: clamp(340px, 52vh, 520px);
  }

  .page-intro {
    padding-top: 82px;
    padding-bottom: 12px;
  }

  .hero {
    padding-top: 90px;
  }

  .callout .button,
  .contact-cta .button {
    width: 100%;
  }

  .quick-links-grid {
    gap: 12px;
  }

  .quick-link-card {
    padding: 16px 16px 14px;
  }

  .quick-link-title {
    font-size: 1.02rem;
  }

  .quick-link-sub {
    font-size: 0.9rem;
  }

  .fast-start-highlight {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .fast-start-panel {
    padding: 22px;
  }

  .fast-start-actions {
    justify-items: stretch;
  }

  .fast-start-actions .button {
    width: 100%;
  }

  .price-card--fast-start .price-card__right {
    justify-items: stretch;
  }

  .price-card--fast-start .price-card__right .button {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-panel-header {
    flex-wrap: wrap;
  }

  .hero-panel-status {
    margin-left: 0;
  }

  .hero-flow {
    grid-template-columns: 1fr;
  }

  .hero-flow::before {
    display: none;
  }

  .hero-node {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
