/* FROM — base: brand tokens (from the app's theme), type, layout, buttons. The header is in header.css. */

:root {
  /* Brand, as in the app (src/theme/colors.ts). */
  --orange: #ff6b00;
  --orange-deep: #d45900;
  --orange-ink: #aa4700;
  --orange-wash: #fff5ee;
  --orange-tint: #ffe1cc;
  --ember: #331500;
  --ink: #070d17;
  --ink-2: #344054;
  --ink-3: #667185;
  --line: #e4e7ec;
  --paper: #ffffff;
  --paper-warm: #fbf8f5;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-card: 0 1px 2px rgba(7, 13, 23, 0.06), 0 18px 40px -12px rgba(7, 13, 23, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

figure,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-deep);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: #1d2739;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  height: 52px;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

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