@import url("/css/tokens.css");
.header-inner {
  position: relative;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% - 5px);
  z-index: 40;
  min-width: 180px;
  max-width: calc(100vw - 40px);
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-menu a,
.account-menu button {
  display: block;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  font-size: 13px;
  color: var(--ink);
}
.account-menu a:hover,
.account-menu button:hover {
  background: var(--brand-soft);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.18;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -1.1px;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 24px;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
  flex-shrink: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #73a780;
  outline-offset: 4px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.section {
  padding-block: 88px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-top: 18px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}
.section-head p {
  max-width: 420px;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.btn.secondary {
  background: transparent;
  color: var(--brand);
}
.btn.secondary:hover {
  background: var(--brand-soft);
}
.btn.small {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13px;
}
.btn.neutral {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  font-weight: 500;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
}
.badge.warm {
  background: var(--accent);
  color: #755919;
}
.badge.gray {
  background: var(--canvas);
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.wordmark {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.wordmark span {
  display: block;
  font-family: var(--body-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--brand);
  line-height: 1.6;
}
.header-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.header-links a:hover {
  color: var(--brand);
}
.header-login {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.header-links + .header-login {
  margin-left: 0;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  padding: 10px 24px 24px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}
.site-footer {
  background: var(--canvas);
  padding: 42px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 16px;
}
.field input:focus {
  border-color: var(--brand);
}
.form-note {
  font-size: 11px;
  color: var(--muted);
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 16px 0 22px;
}
.check-label input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.form-error {
  color: var(--danger);
  font-size: 13px;
  margin: 12px 0;
}
.form-success {
  color: var(--brand);
  font-size: 13px;
  margin: 12px 0;
}
.dialog {
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 30px;
  box-shadow: 0 18px 100px #0003;
}
.dialog::backdrop {
  background: #15231899;
  backdrop-filter: blur(3px);
}
.dialog h2 {
  font-size: 29px;
  padding-right: 28px;
  margin-bottom: 8px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  border: 0;
  background: var(--canvas);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
.dialog .btn {
  width: 100%;
}
.dialog-price {
  font-size: 21px;
  font-family: var(--heading-font);
  margin-bottom: 22px;
  color: var(--brand);
}
.empty-state {
  padding: 50px 26px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  color: var(--muted);
}
.empty-state h3 {
  font-size: 25px;
  color: var(--ink);
  margin-bottom: 12px;
}
.empty-state p {
  max-width: 480px;
  margin: 0 auto 20px;
}
.alert {
  padding: 16px 20px;
  background: var(--accent);
  color: #645325;
  border-radius: 6px;
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.page-heading {
  padding-block: 48px 30px;
}
.page-heading h1 {
  font-size: 38px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 12px;
}
.loading {
  padding: 50px;
  color: var(--muted);
  text-align: center;
}
.photo-dialog {
  width: min(1000px, calc(100% - 28px));
  padding: 36px 12px 12px;
}
.photo-dialog img {
  max-height: 80dvh;
  margin: auto;
  object-fit: contain;
}
.status-text {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 68px;
    gap: 15px;
  }
  .wordmark {
    font-size: 19px;
  }
  .wordmark span {
    font-size: 8px;
  }
  .header-links {
    display: none;
  }
  .header-login,
  .header-links + .header-login {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .section {
    padding-block: 54px;
  }
  .section-head {
    display: block;
    margin-bottom: 26px;
  }
  .section-head p {
    margin-top: 14px;
  }
  .lead {
    font-size: 15px;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-nav {
    gap: 16px;
  }
  .dialog {
    padding: 24px 20px;
  }
  .dialog h2 {
    font-size: 25px;
  }
  .dialog-price {
    font-size: 19px;
  }
  .field {
    margin-bottom: 12px;
  }
  .check-label {
    margin-block: 12px 16px;
  }
  .page-heading {
    padding-top: 32px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 380px) {
  .site-header .wordmark span {
    display: none;
  }
  .site-header .wordmark {
    font-size: 18px;
  }
  .header-inner {
    gap: 10px;
    height: 64px;
  }
  .header-login {
    white-space: nowrap;
    font-size: 12px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}
/* Visible only when the server explicitly reports the closed staging mode. */
.preview-notice {
  padding: 10px 20px;
  background: #fff1cf;
  color: #55421a;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
