:root {
  --bg: #f7faf9;
  --bg-soft: #fbfdfc;
  --surface: #ffffff;
  --border: #e2ecea;
  --border-strong: #cde3df;
  --primary: #4f9a94;
  --primary-hover: #3f827c;
  --primary-tint: #e8f4f2;
  --secondary: #7ea8be;
  --secondary-tint: #edf4f8;
  --ink: #24343b;
  --muted: #5d7078;
  --notice-bg: #f0f7f6;
  --notice-border: #cde3df;
  --notice-ink: #386b67;
  --footer-bg: #eef5f4;
  --footer-border: #dce8e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
.modal-dialog:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 253, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

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

.nav-links .nav-download {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(79, 154, 148, 0.18);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-links .nav-download:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(63, 130, 124, 0.22);
}

/* Hero Section */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(232, 244, 242, 0.95), transparent 44%),
    radial-gradient(circle at 18% 82%, rgba(237, 244, 248, 0.85), transparent 45%),
    linear-gradient(155deg, #eef7f5 0%, #f4f8fb 52%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.4;
  background: radial-gradient(rgba(79, 154, 148, 0.16) 1px, transparent 1px) 0 0 / 28px 28px;
  mask-image: linear-gradient(to right, transparent 12%, #000 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 32px;
  min-height: 580px;
  padding-block: 64px 72px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--notice-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
}

.hero-copy h1,
.section-heading h2,
.cta-block h2 {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 680px;
  margin: 22px 0 20px;
  font-size: clamp(3rem, 5vw, 5.1rem);
  font-weight: 900;
}

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

.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(79, 154, 148, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 24px rgba(63, 130, 124, 0.24);
}

.btn-secondary {
  color: var(--notice-ink);
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: 0 4px 12px rgba(36, 52, 59, 0.04);
}

.btn-secondary:hover {
  background: var(--primary-tint);
  border-color: #b7d7d2;
}

/* Hero Gallery */
.hero-gallery {
  position: relative;
  width: min(100%, 475px);
  height: 445px;
  margin: 0 auto;
}

.hero-gallery::before {
  content: "";
  position: absolute;
  inset: 34px 4px 10px;
  border-radius: 48% 52% 44% 56%;
  background: radial-gradient(
    circle at 46% 42%,
    rgba(232, 244, 242, 0.95),
    rgba(218, 234, 242, 0.72) 64%,
    rgba(126, 168, 190, 0.14)
  );
  filter: blur(4px);
}

.promo-card {
  position: absolute;
  width: 192px;
  padding: 7px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 22px 38px rgba(36, 52, 59, 0.1),
    0 3px 10px rgba(36, 52, 59, 0.05);
}

.promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

.promo-card-one {
  top: 14px;
  left: 42px;
  transform: rotate(-8deg);
}

.promo-card-two {
  top: 60px;
  right: 34px;
  transform: rotate(8deg);
}

.gallery-sparkle {
  position: absolute;
  z-index: 2;
  color: var(--primary);
  opacity: 0.45;
}

.sparkle-one {
  top: 8px;
  right: 26px;
  font-size: 2.4rem;
}

.sparkle-two {
  bottom: 20px;
  left: 16px;
  color: var(--secondary);
  font-size: 1.9rem;
}

/* About Section */
.about-section {
  padding: 88px 0 92px;
  background: var(--bg-soft);
}

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

.section-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.15rem, 3.9vw, 3.2rem);
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.about-item {
  min-height: 232px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(36, 52, 59, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px rgba(79, 154, 148, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 15px;
}

.feature-icon-sage {
  color: var(--primary-hover);
  background: var(--primary-tint);
}

.feature-icon-sky {
  color: #54839c;
  background: var(--secondary-tint);
}

.about-item h3 {
  margin: 0 0 9px;
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.about-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* CTA Section */
.cta-section {
  padding: 20px 0 88px;
  background: var(--bg-soft);
}

.cta-block {
  position: relative;
  overflow: hidden;
  padding: 64px 30px;
  border-radius: 32px;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.85), transparent 36%),
    radial-gradient(circle at 12% 85%, rgba(232, 244, 242, 0.9), transparent 40%),
    linear-gradient(120deg, #e8f4f2 0%, #eef5f9 55%, #f4faf8 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 36px rgba(79, 154, 148, 0.07);
}

.cta-block .section-kicker {
  color: var(--notice-ink);
}

.cta-block h2 {
  margin: 14px 0 12px;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 900;
}

.cta-block p {
  margin: 0 auto 28px;
  max-width: 540px;
  color: var(--muted);
  font-size: 1.04rem;
}

/* Footer */
.footer {
  padding: 60px 0 28px;
  color: var(--ink);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.65fr 0.95fr;
  gap: 32px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer .footer-note {
  margin-top: 6px;
  font-size: 0.84rem;
}

.footer h3 {
  margin: 4px 0 14px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.footer a {
  display: block;
  margin: 0 0 10px;
  color: var(--notice-ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.footer address {
  color: var(--muted);
  font-size: 0.91rem;
  font-style: normal;
  line-height: 1.7;
}

.footer address strong {
  color: var(--ink);
}

.copyright {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--footer-border);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 52, 59, 0.34);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 48px rgba(36, 52, 59, 0.16);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.16s ease, color 0.16s ease;
}

.modal-close:hover {
  background: var(--primary-tint);
  color: var(--ink);
}

.modal-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  color: var(--notice-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-dialog h2 {
  margin: 14px 0 10px;
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.modal-dialog p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.modal-dialog p a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-btn {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 950px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 5.4vw, 4.1rem);
  }

  .promo-card {
    width: 162px;
  }

  .promo-card-one {
    left: 16px;
  }

  .promo-card-two {
    right: 8px;
  }

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

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

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 550px);
  }

  .nav-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 13px;
  }

  .nav-links {
    justify-content: center;
    gap: 8px 16px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-links .nav-download {
    padding: 7px 14px;
    font-size: 0.84rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
    padding-block: 52px 44px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    margin-block: 20px 15px;
    font-size: clamp(2.55rem, 9.6vw, 3.8rem);
  }

  .hero-copy p {
    margin-inline: auto;
    font-size: 1rem;
  }

  .btn-group {
    justify-content: center;
    margin-top: 26px;
  }

  .hero-gallery {
    height: 375px;
    max-width: 360px;
  }

  .hero-gallery::before {
    inset: 25px 8px 0;
  }

  .promo-card {
    width: 158px;
  }

  .promo-card-one {
    top: 12px;
    left: 16px;
  }

  .promo-card-two {
    top: 50px;
    right: 12px;
  }

  .about-section {
    padding-block: 64px;
  }

  .cta-section {
    padding: 8px 0 64px;
  }

  .cta-block {
    padding: 48px 20px;
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.55rem;
  }

  .logo img {
    width: 33px;
    height: 33px;
  }

  .nav-links {
    gap: 6px 13px;
  }

  .nav-links a,
  .nav-links .nav-download {
    font-size: 0.8rem;
  }

  .eyebrow {
    font-size: 0.69rem;
  }

  .btn-group {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-gallery {
    height: 325px;
    max-width: 300px;
  }

  .promo-card {
    width: 140px;
    padding: 5px;
    border-radius: 19px;
  }

  .promo-card img {
    border-radius: 15px;
  }

  .promo-card-one {
    left: 10px;
  }

  .promo-card-two {
    right: 8px;
    top: 40px;
  }

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

  .about-item {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .about-item,
  .nav-links .nav-download {
    transition: none;
  }
}
