/* ============================================================
   OwnSite — Web Studio Stylesheet
   Light slate-blue web-studio palette
   ============================================================ */

:root {
  --mist: #F5F8FB;
  --ink: #1E2A38;
  --slate: #5E7FA3;
  --slate-dark: #4E6B8C;
  --deep: #2C4257;
  --pale: #DCE6EF;
  --sand: #EDE5D8;
  --card: #FFFFFF;
  --line: #D8E2EC;
  --muted: #5A6B7D;
  --shadow: 0 12px 32px rgba(30, 42, 56, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--mist);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: var(--deep);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background-color: var(--slate);
  color: #FFFFFF;
  border-color: var(--slate);
}

.btn-primary:hover {
  background-color: var(--slate-dark);
  border-color: var(--slate-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--deep);
  border-color: var(--slate);
}

.btn-outline:hover {
  background-color: var(--pale);
  transform: translateY(-2px);
}

/* ============================================================
   Pixel navigation
   ============================================================ */

.pixel-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow 0.25s ease;
}

.pixel-nav.scrolled {
  box-shadow: 0 6px 18px rgba(30, 42, 56, 0.10);
}

.pixel-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
}

.brand-mark span {
  width: 9px;
  height: 9px;
  background-color: var(--slate);
}

.brand-mark span:nth-child(1) { border-top-left-radius: 2px; }
.brand-mark span:nth-child(2) { border-top-right-radius: 2px; }
.brand-mark span:nth-child(3) { border-bottom-left-radius: 2px; }
.brand-mark span:nth-child(4) { border-bottom-right-radius: 2px; }

.brand-word {
  font-size: 20px;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--slate);
}

.nav-links a.active {
  color: var(--slate);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--slate);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate);
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--slate);
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--slate-dark);
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero — wireframe split
   ============================================================ */

.wireframe-hero {
  padding: 150px 0 90px;
  background-color: var(--mist);
}

.wireframe-hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  flex: 1 1 50%;
}

.hero-eyebrow {
  display: inline-block;
  background-color: var(--sand);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-copy h1 span {
  color: var(--slate);
}

.hero-copy p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Wireframe panel */
.wf-panel {
  width: 100%;
  max-width: 440px;
  background-color: var(--pale);
  border: 2px solid var(--slate);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.wf-topbar {
  height: 16px;
  border: 2px solid var(--slate);
  border-radius: 4px;
}

.wf-body {
  display: flex;
  gap: 12px;
}

.wf-col-left {
  width: 34%;
  height: 150px;
  border: 2px solid var(--slate);
  border-radius: 6px;
}

.wf-col-right {
  width: 66%;
  height: 150px;
  border: 2px solid var(--slate);
  border-radius: 6px;
}

.wf-col-left.filled {
  background-color: var(--slate);
  border-color: var(--slate);
}

.wf-bottombar {
  height: 16px;
  border: 2px solid var(--slate);
  border-radius: 4px;
}

/* Cursor arrow next to the panel */
.wf-cursor {
  position: absolute;
  right: -6px;
  bottom: 8px;
  width: 0;
  height: 0;
  border-left: 18px solid var(--sand);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  filter: drop-shadow(2px 2px 0 rgba(44, 66, 87, 0.25));
}

.wf-cursor::before {
  content: "";
  position: absolute;
  left: -38px;
  top: -9px;
  width: 20px;
  height: 18px;
  background-color: var(--sand);
  border-radius: 2px;
  transform: rotate(-8deg);
}

/* ============================================================
   Statement band
   ============================================================ */

.statement-band {
  padding: 90px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-band .container {
  max-width: 900px;
  text-align: center;
}

.statement-band .section-tag {
  background-color: var(--pale);
  color: var(--deep);
}

.statement-band h2 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.statement-band p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ============================================================
   Section shared
   ============================================================ */

.section {
  padding: 90px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  background-color: var(--sand);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
}

/* ============================================================
   Page rows
   ============================================================ */

.page-rows {
  padding: 90px 0;
  background-color: var(--mist);
}

.page-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.page-row:last-child {
  border-bottom: none;
}

.page-row .row-marker {
  flex: 0 0 40px;
  height: 40px;
  background-color: var(--slate);
  border-radius: 6px;
}

.page-row .row-body {
  flex: 1;
}

.page-row .row-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.page-row .row-body p {
  font-size: 16px;
  color: var(--muted);
}

.page-row .row-tag {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: var(--pale);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================================
   Stack grid
   ============================================================ */

.stack-grid-section {
  padding: 90px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.stack-card {
  background-color: var(--mist);
  border-top: 3px solid var(--slate);
  border-radius: 10px;
  padding: 30px 28px;
  box-shadow: 0 4px 14px rgba(30, 42, 56, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stack-card .card-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}

.stack-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.stack-card p {
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   Launch band
   ============================================================ */

.launch-band {
  padding: 90px 0;
  background-color: var(--deep);
}

.launch-band .section-title {
  color: #FFFFFF;
}

.launch-band .section-sub {
  color: var(--pale);
}

.launch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.launch-stat {
  border-bottom: 3px solid var(--slate);
  padding-bottom: 20px;
}

.launch-stat .stat-num {
  font-size: 54px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.launch-stat .stat-label {
  font-size: 15px;
  color: var(--pale);
  font-weight: 500;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-section {
  padding: 90px 0;
  background-color: var(--mist);
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question .faq-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--slate);
  transition: transform 0.2s ease;
}

.faq-question .faq-icon::before {
  top: 11px;
  left: 2px;
  width: 20px;
  height: 2px;
}

.faq-question .faq-icon::after {
  top: 2px;
  left: 11px;
  width: 2px;
  height: 20px;
}

.faq-item.open .faq-icon::after {
  transform: scaleY(0);
}

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

.faq-answer p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  padding: 90px 0;
  background-color: var(--slate);
}

.cta-band .container {
  text-align: center;
}

.cta-band h2 {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.cta-band p {
  font-size: 17px;
  color: var(--pale);
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta-band .btn-primary {
  background-color: #FFFFFF;
  color: var(--deep);
  border-color: #FFFFFF;
}

.cta-band .btn-primary:hover {
  background-color: var(--sand);
  border-color: var(--sand);
}

/* ============================================================
   Host footer
   ============================================================ */

.host-footer {
  background-color: var(--ink);
  color: var(--pale);
}

.host-footer .footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .brand-square {
  width: 40px;
  height: 40px;
  background-color: var(--slate);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-square::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #FFFFFF;
  border-radius: 3px;
}

.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand p {
  font-size: 14px;
  color: var(--pale);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--pale);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--slate);
}

.host-footer .footer-legal {
  border-top: 1px solid rgba(220, 230, 239, 0.15);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--pale);
}

.host-footer .footer-legal a {
  color: var(--slate);
  font-weight: 600;
}

/* ============================================================
   Inner pages (services / contact)
   ============================================================ */

.page-hero {
  padding: 150px 0 70px;
  background-color: var(--mist);
}

.page-hero .container {
  max-width: 780px;
}

.page-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.page-hero h1 span {
  color: var(--slate);
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
}

/* Services */
.service-block {
  padding: 90px 0;
}

.service-block.alt {
  background-color: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 20px;
}

.service-card {
  background-color: var(--mist);
  border-top: 3px solid var(--slate);
  border-radius: 10px;
  padding: 30px 28px;
  box-shadow: 0 4px 14px rgba(30, 42, 56, 0.05);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.process-step {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}

.process-step .step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.contact-section {
  padding: 90px 0;
}

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

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.contact-info p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail .detail-icon {
  flex: 0 0 40px;
  height: 40px;
  background-color: var(--slate);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

.contact-detail .detail-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-detail .detail-body p,
.contact-detail .detail-body a {
  font-size: 15px;
  color: var(--muted);
}

.contact-detail .detail-body a:hover {
  color: var(--slate);
}

.hours-list {
  background-color: var(--pale);
  border-radius: 10px;
  padding: 20px 22px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 66, 87, 0.12);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span {
  color: var(--muted);
}

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--slate);
}

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

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.form-success {
  display: none;
  background-color: var(--pale);
  color: var(--deep);
  border: 1px solid var(--slate);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.mini-faq {
  margin-top: 50px;
}

.mini-faq h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.mini-faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.mini-faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.mini-faq-item p {
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .wireframe-hero .container {
    flex-direction: column;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .launch-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .host-footer .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .service-list,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .pixel-nav .nav-inner {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .pixel-nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 22px;
    gap: 14px;
    align-items: flex-start;
  }

  .pixel-nav.mobile-open .nav-cta {
    display: inline-flex;
    margin-left: 0;
  }

  .wireframe-hero {
    padding: 120px 0 60px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .section-title,
  .statement-band h2,
  .cta-band h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .stack-grid,
  .service-list,
  .process-steps,
  .host-footer .footer-cols {
    grid-template-columns: 1fr;
  }

  .launch-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .launch-stat .stat-num {
    font-size: 40px;
  }

  .page-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
