/* YURIU shared chrome — only rules used by every page */
.yuriu_renew_page {
  min-width: 0;
  background: var(--y-color-surface-warm);
  color: #000;
}

/* Shared YURIU pill button — Figma button/default.
   Kept here because every page loads common.css. Section CSS should only set contextual color/state. */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  overflow: hidden;
  border: 0;
  background: var(--y-palette-muted);
  color: #ffffff;
  font-family: "Pretendard", sans-serif;
  font-style: normal;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-height: clamp(35px, calc(27.667px + .95486vw), 46px);
  padding: 0 clamp(18px, calc(14.667px + .43403vw), 23px);
  border-radius: 359.986px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.btn > span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: inherit;
}

/* Shared YURIU outline action, used by the line showcase and contact form. */
.btn.btn_brand_outline {
  --button-blue: var(--home-blue, #0b328b);
  border: .5px solid currentColor;
  border-radius: 359.986px;
  background: transparent;
  color: var(--button-blue);
  transition: color 420ms cubic-bezier(.16, 1, .3, 1), border-color 420ms cubic-bezier(.16, 1, .3, 1);
}

.btn.btn_brand_outline::before { background: var(--button-blue); }

.btn.btn_brand_outline:hover,
.btn.btn_brand_outline:focus-visible { color: #fff; border-color: transparent; }

/* Reusable inverse action: exactly the same size/type/shape as the outline
   button, with a white fill and brand-blue label when active. */
.btn.btn_brand_outline.btn_white_fill { color: var(--y-color-text-on-dark); }
.btn.btn_brand_outline.btn_white_fill::before { background: var(--y-color-surface-default); }
.btn.btn_brand_outline.btn_white_fill:hover,
.btn.btn_brand_outline.btn_white_fill:focus-visible {
  color: var(--y-color-text-accent);
  border-color: var(--y-color-text-on-dark);
}
.btn.btn_brand_outline.btn_white_fill:focus-visible::before { bottom: -68%; }

/* Shared footer action layout — identical on every page. */
.contact_actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin-top: clamp(18px, 1.5vw, 28px);
  gap: 8px;
}

.contact_actions .btn {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0;
}

.contact_actions .form_status {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  color: var(--renew_surface_quaternary, #4c5b78);
  font-size: var(--type-fine);
  line-height: 1.3;
  text-align: right;
}

.contact_actions .form_status:empty { display: none; }
.contact_actions .form_status.is_error { color: #9a6666; }

@media (max-width: 1024px) {
  .contact_actions { margin-top: 16px; }
  .contact_actions .form_status { font-size: 12px; }
}

/* Keep viewport width stable when overlays lock scrolling (intro/menu). */
html:has(> body.yuriu_renew_page) {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* CONTACT/US is not attached to a named Figma text style in the reference frame;
   these are the layer's own Figma values, kept in one place only. */

.name_company_wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.field_error {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  color: #9a6666;
  opacity: 0;
  pointer-events: none;
}
.field_error:not(:empty) { opacity: 1; }

@media (max-width: 1919px) {
  .name_company_wrap { width: 100%; gap: 16px; }
}

@media (max-width: 1024px) {
  .name_company_wrap { gap: 14px; }
}

@media (max-width: 768px) {
  .name_company_wrap { width: 100%; }
}

@media (max-width: 390px) {
  .name_company_wrap { gap: 12px; }
}

