:root {
  --bg: #f3f3f4;
  --surface: #ffffff;
  --surface-2: #e8e8ea;
  --line: #d4d4d8;
  --text: #1c1c1f;
  --muted: #5f5f66;
  --accent: #3f3f46;
  --on-accent: #ffffff;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 4px 16px rgb(0 0 0 / 6%);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18181a;
    --surface: #222225;
    --surface-2: #2c2c30;
    --line: #3a3a3f;
    --text: #ececef;
    --muted: #a1a1aa;
    --accent: #d4d4d8;
    --on-accent: #18181a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 4px 16px rgb(0 0 0 / 30%);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: inherit; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}

@font-face {
  font-family: Metropolis;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/metropolis-600.woff2) format("woff2");
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Metropolis, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}

header nav { margin-left: auto; display: flex; gap: 4px; }

header nav a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

header nav a:hover, header nav a[aria-current] { background: var(--surface-2); color: var(--text); }

.logo { display: block; width: 32px; height: 32px; color: var(--text); }

.logo.big { width: 88px; height: 88px; }


.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 24px 0 16px; font-weight: 500; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0 0 28px; max-width: 34em; }

.phone {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.cycle img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}

.cycle { display: grid; }
.cycle img { grid-area: 1 / 1; animation: cycle 9s infinite; }
.cycle .dark { animation-delay: -6s; }
.cycle .black { animation-delay: -3s; }

@keyframes cycle {
  0%, 30% { opacity: 1; }
  36%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

.themes span { transition: color 0.3s; animation: pick 9s infinite; }
.themes .dark { animation-delay: -6s; }
.themes .black { animation-delay: -3s; }
.themes > span { animation: none; }

@keyframes pick {
  0%, 33% { color: var(--text); font-weight: 500; }
  34%, 100% { color: var(--muted); font-weight: 400; }
}

@media (prefers-reduced-motion: reduce) {
  .cycle img, .themes span { animation: none; }
  .cycle .dark, .cycle .black { opacity: 0; }
}

figure { margin: 0; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.wide { max-width: 760px; margin: 48px auto 0; }
.wide .cycle img { border-radius: 20px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn:active { transform: scale(0.97); }
.badge img { display: block; height: 78px; width: auto; margin: -11px -10px -11px -12px; }
.badge:active { transform: scale(0.97); }
.btn.filled { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn.outlined { border: 1px solid var(--line); }
.btn.outlined:hover { background: var(--surface-2); }

section { padding: 48px 0; }
section > h2 { font-size: 1.8rem; font-weight: 500; margin: 0 0 8px; }
section > .lead { color: var(--muted); margin: 0 0 32px; }

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 16px 0 6px; font-size: 1.1rem; font-weight: 500; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-2);
}

.ms {
  font-family: "Material Symbols Rounded";
  font-size: 24px;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

header nav a, .doc h2 { display: inline-flex; align-items: center; gap: 6px; }
header nav .ms { font-size: 20px; }
.btn .ms { font-size: 20px; }
.doc h2 { display: flex; gap: 10px; }
.doc h2 .ms { color: var(--muted); }
.doc .card > .ms { vertical-align: -6px; margin-right: 8px; }
.note .icon { margin: 0 auto 12px; }

.chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  vertical-align: middle;
}


.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li { padding: 3px 10px; border-radius: 8px; background: var(--surface-2); font-size: 0.85rem; }

.note { text-align: center; padding: 40px 24px; }
.note h2 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 500; }
.note p { max-width: 40em; margin: 0 auto; }

.doc { max-width: 720px; padding: 56px 0; }
.doc h1 { font-size: 2.4rem; font-weight: 500; margin: 0 0 4px; }
.doc h2 { font-size: 1.25rem; font-weight: 500; margin: 36px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc .card { margin: 24px 0; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 500; color: var(--muted); }

.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary .ms { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 24px 20px; color: var(--muted); }

.cta { text-align: center; padding: 48px 24px; }
.cta .logo { margin: 0 auto; }
.cta h2 { font-size: 1.8rem; font-weight: 500; margin: 20px 0 4px; }
.cta p { color: var(--muted); margin: 0 0 24px; }
.cta .badge { display: inline-block; }

footer { margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
footer .about p { margin: 12px 0 0; }
footer .brand { color: var(--text); }
footer nav { display: flex; flex-direction: column; gap: 8px; }
footer h4 { margin: 4px 0 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
footer nav a { color: var(--text); text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer nav span { font-size: 0.85rem; }
footer .legal { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; font-size: 0.8rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 24px; gap: 32px; }
  .phone { max-width: 220px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .formats, .grid { grid-template-columns: 1fr; }
  header nav a { padding: 8px 10px; }
  header nav .ms { display: none; }
  .doc table { display: block; overflow-x: auto; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .about { grid-column: 1 / -1; }
}
