/*
 * SkySoft Solutions — skysoft.lk
 *
 * Brand colours, taken from the SkySoft logo (navy and sky blue on white).
 * They were matched by eye from the logo image; adjust here if you have the
 * exact values.
 */
:root {
  --brand: #1e5aa0;          /* logo navy: buttons, links, highlights */
  --brand-dark: #153f72;     /* hover / pressed */
  --brand-light: #e7f2fc;    /* tinted backgrounds */
  --accent: #8ec8ef;         /* logo sky blue */
  --navy: #0f2a4d;           /* dark sections, footer */

  --text: #1b2733;
  --text-muted: #5a6875;
  --border: #dfe5ec;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(12, 31, 51, 0.08);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}

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

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

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  margin-left: 10px;
  white-space: nowrap;
}

.logo-text span {
  font-weight: 500;
  color: var(--brand);
}

/* In the dark footer the emblem sits on a white tile so its navy stays visible */
.logo-footer img {
  height: 44px;
  padding: 4px 6px;
  border-radius: 8px;
  background: #fff;
}

.site-footer .logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-links .btn {
  color: #fff;
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

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

/* Hero: one slide per service */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(142, 200, 239, 0.35), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 60%, var(--brand) 100%);
}

.hero-slider .slider-track {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-slide {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 8px 0;
}

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

.hero h1,
.hero h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-copy > p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 30px;
}

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

.hero-points {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.hero-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-actions .btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.hero-actions .btn-primary:hover {
  background: var(--brand-light);
}

.hero-visual {
  width: 100%;
  height: auto;
}

.hero-collage {
  position: relative;
  aspect-ratio: 4 / 3;
}

/* Keep each slide's picture inside its own slide while the next one is in view */
.hero-slide {
  overflow: hidden;
}

.hero-collage img {
  position: absolute;
  width: 66%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(2, 12, 27, 0.4);
}

.hero-collage img:nth-child(1) {
  top: 4%;
  right: 3%;
  transform: rotate(3deg);
}

.hero-collage img:nth-child(2) {
  top: 26%;
  left: 3%;
  transform: rotate(-3deg);
}

.hero-collage img:nth-child(3) {
  bottom: 4%;
  right: 10%;
}

.hero .slider-controls {
  margin-top: 36px;
}

.hero .slider-tab,
.hero .slider-arrow {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero .slider-tab:hover,
.hero .slider-arrow:hover {
  border-color: #fff;
  color: #fff;
}

.hero .slider-tab[aria-current="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--brand-dark);
}

/* Products slider */
.slider {
  position: relative;
}

.slider-track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  scroll-snap-align: start;
}

/* The picture fills a wrapper box rather than sizing itself: Safari resolves an
   image's height: 100% against the whole slide, which made it cover the text */
.slide-media {
  position: relative;
  align-self: stretch;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-body {
  padding: 36px 44px;
}

.slide-body h3 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.slide-body > p:not(.product-tag) {
  color: var(--text-muted);
}

.slide .ticks {
  margin-bottom: 24px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.slider-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.slider-tab,
.slider-arrow {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.slider-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.slider-tab:hover,
.slider-arrow:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.slider-tab[aria-current="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.slider-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-tag {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 14px;
}

.editions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.editions li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand-dark);
}

.editions li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.edition-web {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E");
}

.editions .edition-desktop {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E");
  background: #eef2f6;
  color: #334155;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 0.95rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Pipeline banner */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 32px 36px;
  border: 2px dashed var(--brand);
  border-radius: var(--radius);
  background: var(--brand-light);
}

.pipeline h3 {
  font-size: 1.3rem;
}

.pipeline p {
  margin: 0;
  max-width: 680px;
  color: var(--text-muted);
}

/* Custom software development */
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(142, 200, 239, 0.18), transparent 40%),
    var(--navy);
}

.section-dark .eyebrow {
  color: var(--accent);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

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

.strength {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.strength h3 {
  font-size: 1.25rem;
}

.strength p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.strength-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--navy);
}

.strength-icon svg {
  width: 26px;
  height: 26px;
}

.steps-title {
  margin: 64px 0 22px;
  font-size: 1.3rem;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border-top: 3px solid var(--accent);
}

.steps .step-day {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.steps strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.1rem;
}

.steps li > span:last-child {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.custom-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}

.btn-light:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* Technology */
.tech-groups {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tech-group {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
}

.tech-group + .tech-group {
  border-top: 1px solid var(--border);
}

.tech-group h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 10px;
  background: var(--surface-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.tech-list img {
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 7px;
  background: #fff;
}

/* Product pages */
.page-hero {
  padding: 36px 0 80px;
  background: linear-gradient(180deg, var(--brand-light), var(--surface));
}

.breadcrumb {
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span[aria-current] {
  color: var(--text);
  font-weight: 600;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.page-hero .product-tag {
  font-size: 1.1rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.page-hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(12, 31, 51, 0.16);
}

.h1-sub {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand);
}

.overview-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.overview-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.overview-grid p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.page-hero-dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(142, 200, 239, 0.3), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 60%, var(--brand) 100%);
}

.page-hero-dark .breadcrumb,
.page-hero-dark .breadcrumb a,
.page-hero-dark .breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-dark .eyebrow {
  color: var(--accent);
}

.page-hero-dark h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.page-hero-dark .lead {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero-art {
  box-shadow: none;
  border-radius: 0;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 18px;
}

.service-links a {
  color: var(--accent);
  font-weight: 600;
}

.service-links a:hover {
  color: #fff;
}

.see-also {
  margin: 28px 0 0;
  text-align: center;
  color: var(--text-muted);
}

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

.feature {
  position: relative;
  padding: 24px 24px 24px 58px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.feature::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5aa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.edition-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.edition-col {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.edition-col h3 {
  font-size: 1.3rem;
}

.edition-col .ticks {
  margin: 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: how;
}

.how-steps li {
  counter-increment: how;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.how-steps li::before {
  content: counter(how);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.how-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.how-steps span {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.audience {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.audience h3 {
  margin: 0;
  font-size: 1rem;
}

.chips-light li {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.faq-wrap h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq-wrap > div > p {
  color: var(--text-muted);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.cta .product-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
}

.other-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other-product {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}

.other-product:hover {
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.other-product img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}

.other-product span {
  display: block;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.other-product strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.about p {
  color: var(--text-muted);
}

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

.stat {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--brand-light);
}

.stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* CTA band */
.cta {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-list a,
.contact-list address {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.form {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--brand-light);
  border-color: var(--brand);
}

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

.form-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 36px;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 22px;
}

.legal ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  text-decoration: underline;
}

.legal address {
  font-style: normal;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 960px) {
  .strengths,
  .feature-grid,
  .other-products {
    grid-template-columns: 1fr 1fr;
  }

  .slide,
  .page-hero-grid,
  .overview-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .slide {
    align-items: start;
  }

  /* One column: the picture takes its own 16:10 shape */
  .slide .slide-media {
    align-self: start;
  }

  .hero-slide {
    gap: 32px;
  }

  .hero-visual {
    max-width: 520px;
  }

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

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

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

/* The menu has five items, so it folds into the menu button below 1040px */
@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .nav-links li a {
    display: block;
    padding: 12px 0;
  }

  .nav-links .btn {
    margin-top: 8px;
    text-align: center;
  }
}

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

  .hero {
    padding: 48px 0 32px;
  }

  .hero-visual {
    display: none;
  }

  .strengths,
  .feature-grid,
  .other-products,
  .edition-compare,
  .tech-group,
  .steps,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 24px;
  }

  .slide-body {
    padding: 24px 22px 28px;
  }

  .slide-body h3 {
    font-size: 1.6rem;
  }

  .slider-tab {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .slider-arrow {
    display: none;
  }
}
