/*
 * fonts.css: the @font-face rules of the original page (biz.camfit.co.kr/Pricing), moved as-is.
 * Paths are relative to this file (site/assets/css/) and point to ../fonts/.
 * Licenses (SIL OFL 1.1) sit next to the files: ../fonts/OFL-pretendard.txt, OFL-manrope.txt, OFL-inter.txt,
 * OFL-radley.txt.
 *
 * Only two things differ from the original rules:
 *   1) src points to local files.
 *   2) src has format("woff2") (the original Pretendard rules had none; no behavior change).
 * Family names, weights, styles, unicode-range and font-display are unchanged.
 *
 * Note: the four Pretendard faces have no font-weight / font-style on purpose (as in the original),
 *   so all four register as "400 normal". A <strong> (weight 700) inside "Pretendard Medium" text is
 *   drawn by the browser as synthetic bold from the Medium face. The original looks like that, so do
 *   not add weights here. Pick the weight by family name and keep font-weight 400 (strong 700).
 *
 * Files drawn when the Pricing page opens: 5 (Pretendard 700/600/500/400 + Manrope 600 latin).
 * The home page draws the same 5 plus Radley 400 latin (one partner logo text).
 * Inter 600 latin draws the submit button labels. "Thank you" (success) does show in the original:
 * after a successful send it is visible for 0 to about 1.25 s, and the file is fetched only then.
 * "Something went wrong" (error) never shows in the original. Keep Inter while the
 * Thank you state is kept.
 */

/* -- Pretendard v1.309 (SIL OFL 1.1) -------------------------------------- */

@font-face {
  font-family: "Pretendard Bold";
  src: url("../fonts/pretendard-700.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Pretendard SemiBold";
  src: url("../fonts/pretendard-600.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Pretendard Medium";
  src: url("../fonts/pretendard-500.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Pretendard Regular";
  src: url("../fonts/pretendard-400.woff2") format("woff2");
  font-display: swap;
}

/* -- Manrope 600 latin (SIL OFL 1.1, Google Fonts v19) ---------------------- */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600-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;
}

/* -- Placeholder faces ----------------------------------------------------
 * Until a web font arrives, Arial is stretched to the web font's metrics so the layout does not
 * jump. Values are the original ones. On devices without Arial (most Linux and Android) the face
 * is empty and the stack moves on to sans-serif. The original behaves the same.
 */
@font-face {
  font-family: "Manrope Placeholder";
  src: local("Arial");
  ascent-override: 102.74%;
  descent-override: 28.91%;
  line-gap-override: 0%;
  size-adjust: 103.76%;
}

@font-face {
  font-family: "Pretendard Bold Placeholder";
  src: local("Arial");
  ascent-override: 88.93%;
  descent-override: 22.53%;
  line-gap-override: 0%;
  size-adjust: 107.07%;
}

@font-face {
  font-family: "Pretendard SemiBold Placeholder";
  src: local("Arial");
  ascent-override: 90.47%;
  descent-override: 22.92%;
  line-gap-override: 0%;
  size-adjust: 105.25%;
}

@font-face {
  font-family: "Pretendard Medium Placeholder";
  src: local("Arial");
  ascent-override: 92.08%;
  descent-override: 23.33%;
  line-gap-override: 0%;
  size-adjust: 103.4%;
}

@font-face {
  font-family: "Pretendard Regular Placeholder";
  src: local("Arial");
  ascent-override: 93.76%;
  descent-override: 23.75%;
  line-gap-override: 0%;
  size-adjust: 101.55%;
}

/* -- Submit button labels: Inter 600 latin (SIL OFL 1.1, Framer build v3.019) --
 * "Thank you" (success) shows in the original and needs this face.
 * "Something went wrong" (error) never shows in the original.
 * The file is fetched only when one of those labels is first drawn.
 */

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

@font-face {
  font-family: "Inter Placeholder";
  src: local("Arial");
  ascent-override: 89.79%;
  descent-override: 22.36%;
  line-gap-override: 0%;
  size-adjust: 107.89%;
}

/* -- Radley 400 latin (SIL OFL 1.1, Google Fonts v23) ------------------------
 * Home page only: one partner logo text ("HYGGE FOREST") is set in Radley.
 * A page without Radley text never fetches the file (unicode-range + no use).
 * The original also loads Roboto 700 there, but it wraps only a line break and draws no glyph,
 * so Roboto is not shipped.
 */

@font-face {
  font-family: Radley;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/radley-400-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: "Radley Placeholder";
  src: local("Times New Roman");
  ascent-override: 89.4%;
  descent-override: 27.87%;
  line-gap-override: 0%;
  size-adjust: 107.75%;
}
