:root {
  --bg: #fff8fb;
  --paper: #fff;
  --ink: #302632;
  --muted: #584b5a;
  --line: #eadfe8;
  --brand: #a94d78;
  --brand-strong: #793852;
  --green: var(--brand);
  --green-dark: var(--brand-strong);
  --blue: var(--brand);
  --blue-dark: var(--brand-strong);
  --accent: #d9c7dc;
  --pale: #f8e9f1;
  --shadow: 0 16px 48px rgba(67, 37, 58, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--brand-strong);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-strong);
  background: var(--paper);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

.guide-page .container {
  width: min(1050px, calc(100% - 40px));
}

.app-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 251, 0.94);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.logo-wordmark {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.logo-wordmark span:first-child {
  color: var(--brand-strong);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 3px;
}

.logo-wordmark span:last-child {
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: 2px;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 22px);
  color: #514552;
  font-size: 14px;
}

.public-nav a {
  white-space: nowrap;
  text-decoration: none;
}

.public-nav a:hover {
  color: var(--brand);
}

.site-header-cta {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--brand-strong);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle-icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: 0.18s ease;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(121, 56, 82, 0.2);
}

.button-primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.button-quiet {
  border: 1px solid var(--line);
  color: var(--brand-strong);
  background: transparent;
}

.button-quiet:hover {
  border-color: #d6bdce;
  background: #fff;
}

.page-intro {
  padding: 66px 0 40px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  width: 24px;
  height: 1px;
  background: var(--brand);
  content: "";
}

h1 {
  margin: 17px 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -2.8px;
}

h1 em {
  color: var(--brand);
  font-family: Georgia, serif;
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #584b5a;
  font-size: 13px;
}

.footer-main {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding: 29px 0;
}

.guide-page .footer-main {
  width: min(1050px, calc(100% - 40px));
}

.footer-brand .logo {
  color: var(--ink);
}

.footer-brand p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.footer-contact {
  display: grid;
  gap: 5px;
}

.footer-contact>span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-action {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-action {
  white-space: nowrap;
}

.footer-bottom {
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.guide-page .footer-bottom {
  padding-inline: max(20px, calc((100% - 1050px) / 2));
}

@media (max-width: 620px) {
  .app-header {
    height: 62px;
    padding: 0 15px;
  }

  .container {
    width: min(100% - 30px, 500px);
  }

  .page-intro {
    padding: 48px 0 27px;
  }

  .footer-main {
    width: min(100% - 30px, 500px);
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 23px 0;
  }

  .footer-links {
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px 30px;
  }

  .footer-bottom {
    padding: 12px 15px;
  }

  .guide-page .container {
    width: min(100% - 30px, 520px);
  }

  .guide-page .footer-main {
    width: min(100% - 30px, 520px);
  }
}

@media (max-width: 900px) {
  .app-header {
    height: 68px;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .public-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 15px;
    left: 15px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .public-nav.is-open {
    display: flex;
  }

  .public-nav a:not(.button) {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .public-nav a:not(.button):hover {
    background: var(--pale);
  }

  .site-header-cta {
    width: 100%;
    margin-top: 6px;
  }
}

@media (max-width: 380px) {
  .app-header {
    padding-inline: 10px;
  }

  .app-header>.button {
    padding: 10px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
