/* 2026-12-02: shared shell for the standalone Download and Pricing pages.
   Type scale, paper, card fill and capsule buttons follow the guide and
   "How moAI works" pages; the header and footer come from the shared files. */
@font-face {
  font-family: "Pretendard Variable";
  src: url("guide/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --paper: #f2f2ee;
  --rp-ink: #20221f;
  --rp-copy: #494d47;
  --rp-muted: #60655e;
  --rp-rule: #d1d3cb;
  --rp-card: #e8ebe5;
  --rp-card-tint: #dce8de;
  --rp-card-ink: #232c26;
  --rp-card-muted: #525e56;
  --rp-card-rule: rgb(35 44 38 / .13);
  --rp-band: #20231f;
  --rp-gutter: clamp(24px, 6vw, 96px); /* footer side margin */
  --rp-gap: clamp(14px, 1.5vw, 22px);
  --rp-radius: 13px;
  --rp-section-space: clamp(72px, 7.6vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--site-header-height, 104px) + 16px); }
body.rp-page {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--rp-ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html:lang(ko) .rp-main { word-break: keep-all; }

.rp-skip {
  position: absolute;
  z-index: 20;
  inset-inline-start: 16px;
  inset-block-start: 8px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--rp-ink);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
}
.rp-skip:focus { transform: none; outline: 2px solid var(--product-text); outline-offset: 2px; }

.rp-main { display: block; }
.rp-main:focus { outline: none; }
/* Zero-specificity resets so component rules and the shared capsule button always win. */
:where(.rp-main) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.rp-main) :where(ul, ol) { padding: 0; list-style: none; }
:where(.rp-main) :where(a) { color: inherit; }
.rp-main :is(a, button, summary):focus-visible {
  outline: 2px solid var(--product-text);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rp-measure { width: min(1120px, calc(100% - 2 * var(--rp-gutter))); margin-inline: auto; }

/* Page opening */
.rp-intro { padding-block: clamp(32px, 5vw, 76px) clamp(40px, 4.6vw, 64px); }
.rp-intro h1 {
  font-size: clamp(35px, 3.16vw, 48px);
  font-weight: 680;
  letter-spacing: -.054em;
  line-height: 1.21;
}
.rp-lead {
  max-width: 38em;
  margin-top: 20px;
  color: var(--rp-copy);
  font-size: clamp(17px, 1.32vw, 20px);
  line-height: 1.7;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
html:lang(ko) .rp-lead { max-width: 31em; }
.rp-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Small status labels: "coming soon", "in preparation". */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--rp-card);
  color: var(--rp-card-muted);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.status-tag--live { background: var(--rp-card-tint); color: var(--product-text); }
.status-tag--live::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: 0 0 0 3px rgb(80 185 101 / .2);
}

/* Section headings */
.rp-section { padding-top: var(--rp-section-space); }
.rp-section-head h2 {
  font-size: clamp(25px, 2.2vw, 33px);
  font-weight: 660;
  letter-spacing: -.045em;
  line-height: 1.25;
}
.rp-section-head p {
  max-width: 44em;
  margin-top: 10px;
  color: var(--rp-copy);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Capsule buttons. Active links reuse guide-actions.css with the product accent circle. */
.rp-page a.guide-action b {
  background: var(--product-accent);
  color: #121812;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
}
.rp-page a.guide-action:is(:hover, :focus-visible) b { background: var(--product-accent-hover); }
.rp-page a.guide-action:active b { background: var(--product-accent-pressed); }
.rp-main a.guide-action:focus-visible { outline-color: var(--rp-ink); }

/* Unavailable capsule: same shape, no href, not focusable, aria-disabled. */
.rp-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85em;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: 6px 7px 6px 18px;
  border-radius: 999px;
  background: #d9ddd5;
  color: #5b6158;
  font-size: 14px;
  font-weight: 640;
  line-height: 1.35;
  text-align: start;
  cursor: not-allowed;
  user-select: none;
  -webkit-user-select: none;
}
.rp-disabled b {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #eceee8;
  color: #80867d;
}
.rp-disabled svg { display: block; width: 15px; height: 15px; }

/* Cards share the handbook stage-card fill and radius. */
.rp-card {
  border-radius: var(--rp-radius);
  background: var(--rp-card);
  color: var(--rp-card-ink);
}

/* Closing band, as in the handbook's contact chapter. */
.rp-band {
  margin-top: var(--rp-section-space);
  padding-block: clamp(48px, 6vw, 88px);
  background: var(--rp-band);
  color: #f4f5ef;
}
.rp-band h2 {
  font-size: clamp(25px, 2.2vw, 33px);
  font-weight: 660;
  letter-spacing: -.045em;
  line-height: 1.25;
}
.rp-band p {
  max-width: 40em;
  margin-top: 12px;
  color: #d0d3ca;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.rp-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 24px;
}
.rp-band a.guide-action { background: #f3f4ee; color: #181a17; }
.rp-band a.guide-action:is(:hover, :focus-visible) { background: #fff; }
.rp-band a.guide-action:focus-visible { outline-color: #f3f4ee; }
.rp-band-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e8e8e8;
  font-size: 15px;
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: rgb(232 232 232 / .45);
  text-underline-offset: 5px;
}
.rp-band-link:hover { text-decoration-color: currentColor; }
.rp-main .rp-band-link:focus-visible { outline-color: #f3f4ee; }

@media (max-width: 740px) {
  .rp-intro { padding-block: 26px 36px; }
  .rp-intro h1 { font-size: clamp(30px, 8.04vw, 36px); letter-spacing: -.053em; line-height: 1.24; }
  .rp-lead { margin-top: 14px; line-height: 1.65; }
  .rp-status { margin-top: 18px; }
  .rp-section-head h2 { font-size: 25px; }
  .rp-section-head p { font-size: 15px; }
}

@media (forced-colors: active) {
  .rp-card, .rp-disabled, .status-tag { outline: 1px solid CanvasText; }
}
/* 2026-12-02: every page column uses the footer column (same width and side margins as the footer and the home page). */
@media (max-width: 660px) { :root { --rp-gutter: 24px; } }
@media (max-width: 370px) { :root { --rp-gutter: 18px; } }
