:root {
  --ink: #14213d;
  --muted: #64748b;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d9e2ec;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --amber: #f59e0b;
  --coral: #e11d48;
  --navy: #0f172a;
  --green: #16a34a;
  --shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8fafc 0%, var(--paper) 42%, #eef4fb 100%);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #1d4ed8);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-weight: 600;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
  background: rgba(15, 118, 110, 0.09);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.74) 45%, rgba(15, 118, 110, 0.28) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 150px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--teal), #1d4ed8);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: linear-gradient(135deg, var(--teal-dark), #1e40af);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.btn.light {
  color: var(--teal-dark);
  border-color: rgba(15, 118, 110, 0.28);
  background: var(--white);
}

.btn.light:hover,
.btn.light:focus-visible {
  background: rgba(15, 118, 110, 0.09);
}

.btn.full {
  width: 100%;
  margin-top: 8px;
}

.quick-panel {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: 10px;
  overflow: hidden;
}

.quick-panel span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.quick-panel span:last-child {
  border-right: 0;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin-top: -1px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  border-radius: 10px;
  overflow: hidden;
}

.intro-item {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong,
.intro-item span {
  display: block;
}

.intro-item strong {
  font-size: 1.05rem;
  margin-bottom: 7px;
}

.intro-item span {
  color: var(--muted);
}

.app-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.86));
}

.app-copy {
  min-width: 0;
}

.app-copy h2 {
  margin: 0;
}

.app-copy p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.install-page {
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
}

.install-page h1 {
  color: var(--ink);
}

.install-page .hero-copy {
  color: var(--muted);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
}

.service-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(29, 78, 216, 0.12));
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card:nth-child(3n) .icon {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

.service-card:nth-child(4n) .icon {
  background: rgba(225, 29, 72, 0.1);
  color: #9f1239;
}

.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: auto 10px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 8px;
  color: #0f7a3b;
  background: rgba(22, 163, 74, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.service-action:hover,
.service-action:focus-visible {
  color: var(--white);
  background: #16a34a;
  border-color: #16a34a;
}

h3 {
  margin: 0 10px 10px;
  font-size: 1.1rem;
}

.service-card p,
.guide-card p,
.about-copy p,
.step p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.service-card p {
  margin: 0 10px 18px;
}

.guide-section {
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  min-height: 214px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.guide-card:nth-child(2n) {
  border-left-color: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.process {
  padding-top: 76px;
}

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

.step {
  padding: 28px;
  background: linear-gradient(145deg, #0f172a, #164e63);
  color: var(--white);
  border-radius: 10px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
}

.step p {
  color: rgba(255, 255, 255, 0.76);
}

.query-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.query-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.safe-note {
  padding: 16px;
  background: #fff8e6;
  border: 1px solid #ead39a;
  border-radius: 8px;
  font-weight: 700;
}

.query-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.query-form label {
  font-weight: 800;
  color: var(--ink);
}

.query-form input,
.query-form select,
.query-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.query-form textarea {
  resize: vertical;
}

.query-form input:focus,
.query-form select:focus,
.query-form textarea:focus {
  outline: 3px solid rgba(0, 122, 120, 0.16);
  border-color: var(--teal);
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 42px;
  align-items: start;
  padding-top: 30px;
}

.contact-copy p {
  margin-top: 18px;
  max-width: 640px;
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-card > div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card strong,
.contact-card a:not(.btn) {
  font-size: 1rem;
  font-weight: 800;
}

.contact-card a:not(.btn) {
  color: var(--teal-dark);
}

.notice-section {
  padding-top: 0;
}

.notice-box {
  padding: 34px;
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.notice-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.notice-box p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.policy-page {
  max-width: 900px;
}

.policy-page h1 {
  color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
}

.policy-date {
  margin: 16px 0 34px;
  color: var(--muted);
  font-weight: 700;
}

.policy-content {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-content h2 {
  margin-top: 10px;
  font-size: 1.35rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 28px 16px 40px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--teal-dark);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid,
  .split,
  .query-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .static-links {
    position: static;
    display: flex;
    flex-direction: row;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.66) 54%, rgba(15, 118, 110, 0.88) 100%),
      url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center / cover;
  }

  .hero-content {
    padding: 96px 0 260px;
  }

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

  .quick-panel span {
    min-height: 62px;
  }

  .intro-band,
  .app-band,
  .steps {
    grid-template-columns: 1fr;
  }

  .app-actions {
    justify-content: flex-start;
  }

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

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

  .section {
    padding: 58px 0;
  }

  .intro-band {
    padding: 0;
  }

  .service-card {
    min-height: auto;
  }

  .policy-content,
  .notice-box {
    padding: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
