@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/Inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f4f1;
  --bg-warm: #efe9e1;
  --ink: #111111;
  --text: #46423d;
  --muted: #8a847c;
  --line: #ebe6df;
  --beige: #cdbba6;
  --beige-ink: #a39584;
  --champagne: #b89b72;
  --champagne-ink: #8a6f49;
  --dark: #0f0f0f;

  --wrap: 90rem;
  --pad: 1.5rem;

  --r-sm: .625rem;
  --r-md: .875rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .05), 0 1px 3px rgba(17, 17, 17, .04);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, .07), 0 1px 4px rgba(17, 17, 17, .04);
  --shadow-lg: 0 18px 48px rgba(17, 17, 17, .10), 0 2px 8px rgba(17, 17, 17, .04);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --ph-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E");
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

@media (min-width: 1100px) {
  html { font-size: max(100%, .8333vw); }
}

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body:not(.nm-admin) {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body:not(.nm-admin) img {
  -webkit-user-drag: none;
  user-drag: none;
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--bg-warm); color: var(--ink); }

section[id] { scroll-margin-top: 6rem; }

html.no-scroll {
  overflow: hidden;
  padding-right: var(--lock-pad, 0px);
}

.icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sec { padding: 3.5rem 0; }
.sec--soft { background: var(--bg-soft); }

.sec--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
}

.sec__head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--champagne-ink);
}

.sec--dark .eyebrow { color: var(--champagne); }

.sec__title {
  margin-top: .75rem;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}

.sec--dark .sec__title { color: #fff; }

.sec__lead {
  margin-top: 1rem;
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}

.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .ic { width: 1.125rem; height: 1.125rem; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b2b2b; }

.btn--ghost { border-color: var(--line); background: var(--bg); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-warm); }

.btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }

.btn--block { width: 100%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.round-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.round-btn:hover { border-color: var(--ink); }
.round-btn .ic { width: 1.25rem; height: 1.25rem; }

.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 15%, #fbfaf8 0%, #efe9e1 55%, #e5dccf 100%);
  color: var(--beige);
}

.ph::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  background: currentColor;
  -webkit-mask: var(--ph-icon) center / contain no-repeat;
  mask: var(--ph-icon) center / contain no-repeat;
}

.ph::after {
  content: attr(data-ph);
  position: absolute;
  left: 1rem;
  bottom: .875rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

.ph--dark {
  background: radial-gradient(120% 90% at 70% 15%, #2a2826 0%, #1a1918 60%, #121212 100%);
  color: #3d3a37;
}

.ph--dark::after { color: rgba(255, 255, 255, .35); }

.credit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--muted);
}

.credit svg {
  width: .875rem;
  height: .875rem;
  color: #2e7d32;
}

.credit a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
  color: #11823b;
  transition: color .2s var(--ease);
}

.credit a:hover { color: var(--ink); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  :root { --pad: 1rem; }
  .sec { padding: 2.5rem 0; }
  .sec__head { margin-bottom: 1.25rem; }
  .sec__title { font-size: 1.875rem; }
  .sec__lead { font-size: 1rem; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@view-transition { navigation: auto; }
