/* Shared across every page: variables, reset, header/nav, buttons, footer */

:root {
  --dm-bg: #FFFDF9;
  --dm-surface: #FFFFFF;
  --dm-surface-soft: #FFF8FB;
  --dm-surface-hover: #FFF7FA;
  --dm-text: #281923;
  --dm-muted: #7D6672;
  --dm-muted-2: #A08C96;
  --dm-border: #EFE2E9;
  --dm-mallow-pink: #FF6FA8;
  --dm-mallow-hover: #F0478F;
  --dm-mallow-strong: #B64072;
  --dm-mallow-soft: #FFD9E8;
  --dm-mallow-wash: #FFEAF3;
  --dm-mallow-line: #FFD2E2;
  --dm-mint: #9BE7C3;
  --dm-mint-wash: #F2FFF8;
  --dm-success: #176747;
  --dm-success-bg: #EAFBF2;
  --dm-warning: #8A5A00;
  --dm-warning-bg: #FFF4D7;
  --dm-info: #245B88;
  --dm-info-bg: #EAF5FF;
  --dm-shadow-soft: 0 12px 34px rgba(49, 31, 42, 0.07);
  --dm-shadow-strong: 0 18px 55px rgba(49, 31, 42, 0.11);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dm-bg);
  color: var(--dm-text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--dm-border) 80%, transparent);
  background: color-mix(in srgb, var(--dm-bg) 94%, transparent);
  backdrop-filter: blur(18px);
}
.nav-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex: 0 0 auto;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--dm-text);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--dm-muted);
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:not(.nav-cta):hover { color: var(--dm-text); }

.nav-cta, .btn-primary, .btn-secondary, .btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 14px;
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.nav-cta, .btn-primary {
  color: #fff;
  background: var(--dm-mallow-pink);
  box-shadow: 0 12px 24px rgba(255, 111, 168, 0.18);
}
.nav-cta:hover, .btn-primary:hover { background: var(--dm-mallow-hover); transform: translateY(-1px); }
.btn-secondary {
  background: var(--dm-surface);
  color: var(--dm-text);
  border: 1px solid var(--dm-border);
}
.btn-secondary:hover { background: var(--dm-surface-hover); border-color: var(--dm-mallow-line); }
.btn-soft {
  height: 40px;
  background: var(--dm-mallow-wash);
  border: 1px solid var(--dm-mallow-line);
  color: var(--dm-text);
}
.btn-soft:hover { background: var(--dm-mallow-soft); }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

footer {
  border-top: 1px solid var(--dm-border);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dm-mallow-soft) 42%, transparent), transparent 34%),
    var(--dm-surface-soft);
  padding: 48px 0 28px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 550;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.55fr));
  gap: 32px;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex: 0 0 auto;
}
.footer-brand-name {
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--dm-text);
}
.footer-copy {
  max-width: 330px;
  color: var(--dm-muted);
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--dm-text);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
}
.footer-links a,
.footer-contact a,
.footer-social-icons a {
  color: var(--dm-muted);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--dm-text);
}
.footer-address {
  color: var(--dm-muted);
  line-height: 1.55;
  margin-top: 2px;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
}
.footer-social-icons a:hover {
  color: var(--dm-text);
  border-color: var(--dm-mallow-line);
  background: var(--dm-mallow-wash);
  transform: translateY(-1px);
}
.footer-social-icons svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--dm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dm-muted-2);
  font-size: 12.5px;
}
.footer-bottom a { color: var(--dm-muted); }
.footer-bottom a:hover { color: var(--dm-text); }

@media (max-width: 980px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-shell { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
  .nav-links { width: 100%; gap: 12px; overflow-x: auto; padding-bottom: 2px; }
  .nav-links a { flex: 0 0 auto; }
  .nav-cta { height: 38px; padding: 0 14px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  footer { padding-top: 38px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
