:root {
  color-scheme: light;
  --ink: #1b1f23;
  --muted: #5f6873;
  --line: #dfe3e8;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --gold: #b7791f;
  --rose: #b44d59;
  --shadow: 0 22px 60px rgba(27, 31, 35, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.header-contact {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.header-contact:hover,
.header-contact:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.hero {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(183, 121, 31, 0.06) 48%, rgba(180, 77, 89, 0.05)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 28px;
  color: #3d4650;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-details {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: #2f3740;
  font-size: 15px;
}

.hero-details strong {
  color: var(--ink);
}

.hero-details a {
  color: var(--teal-dark);
  font-weight: 700;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--teal-dark);
  outline: none;
}

.service-visual {
  position: relative;
  min-height: 430px;
}

.browser-preview {
  position: absolute;
  inset: 8px 0 auto auto;
  width: min(100%, 520px);
  border: 1px solid rgba(27, 31, 35, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-bottom: 1px solid var(--line);
  background: #f1f3f5;
  padding: 0 14px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

.browser-dot:nth-child(2) {
  background: var(--gold);
}

.browser-dot:nth-child(3) {
  background: var(--teal);
}

.browser-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 20px;
  padding: 28px;
}

.visual-block,
.visual-line,
.visual-pill,
.visual-card,
.phone-preview {
  border-radius: 8px;
}

.visual-block {
  height: 154px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(183, 121, 31, 0.18)),
    #eef4f3;
}

.visual-line {
  height: 12px;
  margin-top: 16px;
  background: #dce3e6;
}

.visual-line.short {
  width: 68%;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.visual-card {
  min-height: 72px;
  background: #f4f5f6;
  border: 1px solid #e5e8ec;
}

.visual-pill {
  width: 54px;
  height: 12px;
  margin: 18px;
  background: rgba(15, 118, 110, 0.45);
}

.phone-preview {
  position: absolute;
  right: 28px;
  bottom: 8px;
  width: 176px;
  height: 286px;
  border: 9px solid #20252b;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(27, 31, 35, 0.18);
  overflow: hidden;
}

.phone-preview::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin: 12px auto 18px;
  border-radius: 999px;
  background: #d7dce1;
}

.phone-screen {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.phone-hero {
  height: 70px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(180, 77, 89, 0.16)),
    #eef4f3;
}

.phone-line {
  height: 10px;
  border-radius: 8px;
  background: #dfe5e9;
}

.phone-line:nth-child(3) {
  width: 70%;
}

.phone-button {
  width: 78px;
  height: 24px;
  border-radius: 8px;
  background: var(--teal);
}

.section {
  padding: clamp(54px, 7vw, 86px) 0;
}

.section.alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.copy-stack {
  max-width: 860px;
  display: grid;
  gap: 16px;
}

.copy-stack p {
  margin-bottom: 0;
  color: #38414a;
  font-size: 1.04rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-item {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  font-weight: 750;
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(27, 31, 35, 0.04);
}

.service-item::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 4px;
  background: var(--gold);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(22px, 3vw, 30px);
}

.policy-panel h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.3;
}

.policy-panel p {
  margin-bottom: 0;
  color: #404852;
}

.contact-section {
  background: #1f2429;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 12px;
}

.contact-section p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.contact-details strong {
  color: #ffffff;
}

.contact-details a {
  color: #ffffff;
  font-weight: 700;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 13px 18px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
  border-color: #ffffff;
  outline: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f2429;
  color: rgba(255, 255, 255, 0.68);
  padding: 24px 0;
  font-size: 14px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .service-visual {
    min-height: 360px;
  }

  .browser-preview {
    left: 0;
    right: auto;
  }

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

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    padding: 16px 0;
  }

  .header-contact {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-inner {
    padding-top: 52px;
  }

  .service-visual {
    min-height: 300px;
  }

  .browser-preview {
    width: 100%;
  }

  .browser-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .phone-preview {
    right: 10px;
    bottom: 0;
    width: 132px;
    height: 214px;
    border-width: 7px;
  }

  .phone-preview::before {
    margin-bottom: 12px;
  }

  .phone-screen {
    gap: 8px;
    padding: 0 10px 10px;
  }

  .phone-hero {
    height: 50px;
  }

  .services-grid,
  .policy-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: 92px;
  }

  .contact-email {
    width: 100%;
  }
}
