:root {
  --bg: #d1efef;
  --accent: #2d9ead;
  --accent2: #f4c62d;
  --text: #0f2347;
  --muted: #567a8e;
  --card: rgba(255, 255, 255, 0.92);
  --radius: 16px;
  --pad: 22px;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #eef8f8 40%, #fff 100%);
  line-height: 1.55;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) 64px;
}

.margin-dots {
  position: fixed;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.margin-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 35, 71, 0.2);
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.margin-dots .dot.is-active,
.margin-dots .dot:focus-visible {
  background: var(--accent);
  transform: scale(1.15);
}

.hero {
  text-align: center;
  margin-bottom: 56px;
}

.hero-art {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 auto;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  margin-bottom: 56px;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.intro-left {
  text-align: left;
}

.intro-right {
  text-align: right;
}

.bento {
  display: grid;
  gap: 14px;
}

.tile {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid rgba(45, 158, 173, 0.15);
}

.tile-wide {
  grid-column: 1 / -1;
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

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

.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.phones figure {
  margin: 0;
  text-align: center;
}

.phones img {
  width: min(200px, 42vw);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 35, 71, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.phones figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(45, 158, 173, 0.25);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.panel {
  display: none;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(45, 158, 173, 0.12);
}

.panel.is-visible {
  display: block;
}

.panel h2 {
  margin-top: 0;
}

.panel a {
  color: var(--accent);
}

.site-foot {
  text-align: center;
  padding: 24px var(--pad) 40px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 560px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .margin-dots {
    right: 8px;
  }

  .intro-right {
    text-align: left;
  }
}
