@font-face {
  font-family: "ABCNormal";
  src: url("/_next/static/media/ABCNormal_Normal-s.p.0tccuz.94_-aj.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABCNormal";
  src: url("/_next/static/media/ABCNormal_Book-s.p.0-z_8_yloathd.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABCNormal";
  src: url("/_next/static/media/ABCNormal_Neutral-s.p.02ny7_kjyx1mb.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  background: #ffffff;
  color: #151513;
  font-family: "ABCNormal", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---------- Page header ---------- */

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 21, 19, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #151513;
}

.page-header-wordmark {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.page-header-maker {
  display: inline-grid;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(21, 21, 19, 0.3);
  opacity: 0.68;
}

.page-header-maker span {
  display: block;
  font-size: 0.68rem;
  font-weight: 550;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.page-header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.page-header-nav a {
  font-size: 13px;
  font-weight: 450;
  color: #555555;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 140ms ease;
}

.page-header-nav a:hover {
  color: #151513;
}

.page-header-nav a.page-header-cta {
  color: #ffffff;
}

.page-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.72rem;
  color: #ffffff;
  background: #151513;
  border: 1px solid #151513;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 180ms ease;
}

.page-header-cta:hover {
  background: #333333;
  color: #ffffff;
}

.page-header-mobile-menu {
  position: relative;
  display: none;
}

.page-header-mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #151513;
  border: 1px solid rgba(21, 21, 19, 0.08);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

.page-header-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.page-header-mobile-menu svg {
  stroke-width: 1.25px;
}

.page-header-mobile-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(240px, calc(100vw - 32px));
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 21, 19, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(21, 21, 19, 0.12);
}

.page-header-mobile-panel a {
  padding: 0.75rem 0.8rem;
  color: #333333;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
}

.page-header-mobile-panel a:hover {
  color: #151513;
  background: #f5f7fa;
}

/* ---------- Container ---------- */

.page-container {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
}

.page-container-wide {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
}

/* ---------- Typography (matching homepage) ---------- */

.page-eyebrow {
  margin: 0 0 1rem;
  color: #777777;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-subtitle {
  margin: 1.25rem 0 0;
  max-width: 600px;
  color: #707070;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  background: #151513;
  border: 1px solid #151513;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  color: #151513;
  background: #f5f7fa;
  border: 1px solid rgba(21, 21, 19, 0.08);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn-secondary:hover {
  background: #eef0f4;
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */

.page-footer {
  padding: 2rem 0 3rem;
  color: #6d6d64;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  border-top: 1px solid rgba(21, 21, 19, 0.1);
  padding-top: 1.2rem;
}

.page-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-footer a {
  color: #3f3f3f;
  text-decoration: none;
}

.page-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Form elements ---------- */

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-label {
  font-size: 13px;
  font-weight: 450;
  color: #555555;
  letter-spacing: -0.01em;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  color: #151513;
  background: #ffffff;
  border: 1px solid rgba(21, 21, 19, 0.16);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 140ms ease;
}

.form-input:focus {
  border-color: #151513;
}

.form-input::placeholder {
  color: #aaaaaa;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23777' stroke-width='1.25' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}

/* ---------- Cards ---------- */

.info-card {
  padding: 1.25rem;
  background: #f7f7f7;
  border: 1px solid rgba(21, 21, 19, 0.06);
  border-radius: 8px;
}

.info-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 16px;
  font-weight: 450;
  letter-spacing: -0.02em;
}

.info-card p {
  margin: 0;
  color: #707070;
  font-size: 14px;
  line-height: 1.35;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .page-container {
    width: min(100% - 28px, 860px);
  }

  .page-container-wide {
    width: min(100% - 28px, 1100px);
  }

  .page-header {
    padding: 0 16px;
  }

  .page-header-nav > a:not(.page-header-cta) {
    display: none;
  }

  .page-header-mobile-menu {
    display: block;
  }
}

@media (max-width: 520px) {
  .page-title {
    font-size: 36px;
  }
}
