:root {
  --ink: #16233b;
  --muted: #5c6a80;
  --sky: #54b8ee;
  --sky-deep: #1979c4;
  --lime: #75d83e;
  --yellow: #ffc92e;
  --paper: #f8fbff;
  --line: #dce8f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 89, 151, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(220, 232, 245, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

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

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -0.025em; }

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 4px;
  overflow: hidden;
  border-radius: 12px;
  background: #e9f7ff;
  box-shadow: inset 0 0 0 1px rgba(25, 121, 196, 0.15);
}

.brand-mark span { border-radius: 5px; }
.brand-mark span:nth-child(1) { background: #ff6d65; }
.brand-mark span:nth-child(2) { background: var(--lime); }
.brand-mark span:nth-child(3) { background: var(--yellow); }
.brand-mark span:nth-child(4) { background: #7a72e9; }

.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; font-weight: 700; }
.nav-links a { color: #40506a; text-decoration: none; }
.nav-links a:hover { color: var(--sky-deep); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 0 72px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.88) 0 12%, transparent 25%),
    radial-gradient(circle at 84% 8%, rgba(226, 255, 206, 0.82) 0 10%, transparent 23%),
    linear-gradient(135deg, #d9f4ff 0%, #b4e3ff 44%, #dfffc6 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto -6% -210px auto;
  width: 480px;
  height: 480px;
  content: "";
  border-radius: 44% 56% 55% 45%;
  background: rgba(255, 205, 57, 0.36);
  filter: blur(4px);
  transform: rotate(18deg);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr); align-items: center; gap: 70px; }

.eyebrow { margin: 0 0 14px; color: var(--sky-deep); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 20px; font-size: clamp(2.7rem, 6.2vw, 5.25rem); line-height: 0.98; letter-spacing: -0.065em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.045em; }
h3 { margin-bottom: 8px; font-size: 1.15rem; }

.hero-copy { max-width: 570px; color: #334563; font-size: clamp(1.04rem, 2vw, 1.25rem); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 0;
  border-radius: 15px;
  color: var(--white);
  background: var(--sky-deep);
  box-shadow: 0 10px 22px rgba(25, 121, 196, 0.25);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 25px rgba(25, 121, 196, 0.3); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,0.82); box-shadow: inset 0 0 0 1px rgba(25, 121, 196, 0.18); }

.phone-frame {
  width: min(100%, 315px);
  margin: 0 auto;
  padding: 9px;
  overflow: hidden;
  border: 7px solid #17283e;
  border-radius: 42px;
  background: #17283e;
  box-shadow: 0 28px 55px rgba(12, 74, 124, 0.25);
  transform: rotate(5deg);
}

.phone-frame img { display: block; width: 100%; border-radius: 27px; }

section { padding: 88px 0; }
.section-heading { max-width: 620px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 12px 24px rgba(45, 94, 139, 0.06); }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 19px; border-radius: 15px; color: var(--sky-deep); background: #e5f7ff; font-size: 1.35rem; font-weight: 900; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.gallery-wrap { overflow: hidden; background: #ecf8ff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(174px, 1fr)); gap: 20px; align-items: end; overflow-x: auto; padding: 4px 1px 18px; scrollbar-color: var(--sky) transparent; }
.shot { overflow: hidden; min-width: 174px; border: 5px solid #17283e; border-radius: 24px; background: #17283e; box-shadow: var(--shadow); }
.shot:nth-child(even) { transform: translateY(20px); }
.shot img { display: block; width: 100%; aspect-ratio: 1284 / 2778; object-fit: cover; }

.support-band { padding: 72px 0; color: var(--white); background: linear-gradient(115deg, #1783ca, #4fbded 60%, #82db55); }
.support-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.support-band h2 { margin-bottom: 9px; }
.support-band p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,0.9); }
.support-band .button { flex: 0 0 auto; color: var(--sky-deep); background: var(--white); box-shadow: none; }

.legal-page { padding: 70px 0 92px; }
.legal-card { max-width: 820px; padding: clamp(26px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 18px 40px rgba(33, 82, 130, 0.08); }
.legal-card h1 { margin-bottom: 14px; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.legal-card h2 { margin: 42px 0 13px; font-size: 1.45rem; }
.legal-card p, .legal-card li { color: #40506a; }
.legal-card li + li { margin-top: 9px; }
.date { color: var(--muted); font-size: 0.96rem; }
.notice { padding: 17px 19px; border-left: 4px solid var(--yellow); border-radius: 11px; background: #fff9e4; color: #625022; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--sky-deep); }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1120px); }
  .nav { min-height: 65px; }
  .nav-links { gap: 13px; font-size: 0.86rem; }
  .hero { padding: 59px 0 62px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-art { display: none; }
  section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-band .shell, .footer-row { align-items: flex-start; flex-direction: column; }
}
