:root {
  --ink: #15202b;
  --ink-soft: #3a4a58;
  --paper: #e8f2f8;
  --paper-warm: #f7f1ea;
  --blue: #5bb2f1;
  --blue-deep: #2f8fd6;
  --orange: #f39233;
  --orange-deep: #d97818;
  --accent: var(--orange);
  --accent-deep: var(--orange-deep);
  --line: rgba(21, 32, 43, 0.12);
  --max: 56rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  min-height: 100svh;
  color: var(--ink);
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  line-height: 1.45;
  background:
    radial-gradient(ellipse 90% 70% at 12% -10%, rgba(243, 146, 51, 0.16), transparent 55%),
    radial-gradient(ellipse 80% 60% at 92% 8%, rgba(91, 178, 241, 0.28), transparent 50%),
    linear-gradient(165deg, var(--paper) 0%, #dceaf3 42%, var(--paper-warm) 100%);
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(21, 32, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 43, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-deep); }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 0.75rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.topbar-brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  font: 600 0.84rem/1 "Figtree", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #fff;
  border-color: rgba(21, 32, 43, 0.22);
  color: var(--ink);
}

.nav-btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #f5f0ea;
}

.nav-btn.primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

.nav-btn.active {
  border-color: var(--blue);
  background: rgba(91, 178, 241, 0.18);
}

.page {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0 0.85rem;
  min-height: 0;
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.sub {
  justify-content: flex-start;
  padding-top: 1.25rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
}

.hero-brand img {
  width: clamp(2.75rem, 7vw, 3.75rem);
  height: clamp(2.75rem, 7vw, 3.75rem);
  object-fit: contain;
}

.brand {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
}

h1 {
  margin: 0 0 0.45rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lede {
  margin: 0 0 1rem;
  max-width: 30rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.prices {
  margin: 0 0 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px);
}

.prices h2 {
  margin: 0 0 0.65rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.price-list li:last-child { border-bottom: none; padding-bottom: 0; }
.price-list li:first-child { padding-top: 0; }

.price-list .title { color: var(--ink); }
.price-list .amount {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.price-list .amount.free { color: var(--orange-deep); }

.panel {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  max-width: 28rem;
}

.panel h1 {
  margin-bottom: 0.9rem;
}

.contact-grid {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  color: var(--ink-soft);
}

.contact-grid a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--blue-deep) 40%, transparent);
}

.contact-grid a:hover { border-bottom-color: var(--orange); }

.contact-grid .label {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.contact-grid .value {
  color: var(--ink);
  font-weight: 600;
}

footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 0.9rem;
}

.legal {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.legal .name {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .topbar { padding: 0.6rem 0; }
  .topbar-brand span { display: none; }
  .topbar-brand img { width: 2.15rem; height: 2.15rem; }
  .nav-btn { padding: 0.45rem 0.6rem; font-size: 0.78rem; }
  .page { justify-content: flex-start; padding-top: 0.55rem; }
  .brand { font-size: clamp(2.1rem, 12vw, 3rem); }
  .price-list li { font-size: 0.86rem; gap: 0.5rem; }
}

@media (max-height: 720px) and (min-width: 721px) {
  .brand { font-size: clamp(2.1rem, 5.5vh, 3.2rem); }
  h1 { font-size: 1.15rem; }
  .lede { margin-bottom: 0.75rem; font-size: 0.92rem; }
  .prices { padding: 0.7rem 0.85rem; }
  .price-list li { padding: 0.28rem 0; font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page { animation: none; }
}
