:root {
  color-scheme: only light;
  --brand: #30d0d0;
  --brand-deep: #1fb8bb;
  --brand-dark: #0e6e72;
  --accent: #f8600a;
  --accent-hover: #ff7a28;
  --text: #0a2a2c;
  --text-on-brand: #ffffff;
  --muted: #3d6a6c;
  --bg: #f3fbfb;
  --bg-elevated: #ffffff;
  --surface: #dff7f7;
  --line: rgba(10, 42, 44, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --radius: 1.25rem;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: only light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo img,
.brand-mark,
.footer-brand img {
  forced-color-adjust: none;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(48, 208, 208, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}

.logo img {
  width: 48px;
  height: 48px;
  display: block;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.logo:hover {
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.65rem;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: clip;
  padding: 3rem 0 4rem;
  color: var(--text-on-brand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 90% 15%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 88%, rgba(248, 96, 10, 0.22), transparent 55%),
    linear-gradient(155deg, #3ad8d8 0%, #30d0d0 42%, #22bfc2 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.brand-mark {
  width: clamp(120px, 18vw, 168px);
  height: auto;
  margin: 0 0 1.25rem;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  filter: drop-shadow(0 12px 24px rgba(10, 42, 44, 0.18));
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(248, 96, 10, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(248, 96, 10, 0.42);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(300px, 70vw);
  filter: drop-shadow(0 28px 50px rgba(10, 42, 44, 0.28));
  animation: float-phone 5.5s var(--ease) infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.steps {
  background:
    linear-gradient(180deg, #ffffff, var(--surface));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.steps-list li {
  padding-top: 0.25rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.steps-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.steps-list p {
  color: var(--muted);
  margin: 0;
}

.about {
  background: var(--bg);
}

.about-copy {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}

.about-copy p {
  color: var(--muted);
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.features li {
  text-align: center;
}

.features img {
  width: min(220px, 100%);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 18px 30px rgba(10, 42, 44, 0.16));
}

.features h3 {
  font-size: 1.2rem;
}

.features p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.contact {
  background: var(--brand-deep);
  color: var(--text-on-brand);
  border-top: none;
}

.contact h2 {
  color: #fff;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.contact-block {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  max-width: 28rem;
}

.contact-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-company {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff !important;
  margin-bottom: 0.35rem !important;
}

.contact-block a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-block a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Legal pages */
.page-legal {
  padding: 3.5rem 0 5rem;
  max-width: 40rem;
  margin-inline: auto;
}

.page-legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.page-legal p {
  color: var(--muted);
}

.page-legal .contact-block {
  margin-top: 2rem;
  border-top-color: var(--line);
}

.page-legal .contact-block p {
  color: var(--muted);
}

.page-legal .contact-company {
  color: var(--text) !important;
}

.page-legal .contact-block a {
  color: var(--accent);
}

.page-legal .contact-block a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.legal-meta {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2rem 0 2.5rem;
  background: #14999d;
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.footer-brand {
  margin: 0;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(10, 42, 44, 0.16));
  box-shadow: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-visual img {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(220px, 55vw);
  }

  .steps-list,
  .features {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .features li {
    text-align: left;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.25rem 1.25rem;
    align-items: center;
  }

  .features img {
    grid-row: span 2;
    margin: 0;
    width: 120px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1120px, calc(100% - 1.75rem));
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(31, 184, 187, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero {
    padding-top: 2rem;
    min-height: auto;
  }

  .section {
    padding: 3.5rem 0;
  }

  .features li {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features img {
    margin: 0 auto 1rem;
    width: min(180px, 55vw);
  }
}
