/* ASTAGE common: design tokens, reset, header, footer, shared navigation and buttons. */

:root {
  --ink: #14171d;
  --muted: #6d7280;
  --line: #e8e2dc;
  --paper: #ffffff;
  --warm: #ffffff;
  --sun: #ffe27a;
  --mint: #dff3ec;
  --peach: #ffe1cf;
  --orange: #ff5c00;
  --orange-deep: #d84b00;
  --blue: #8ec7d7;
  --green: #5b806f;
  --charcoal: #24332e;
}

.astage-site-chrome {
  min-height: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 23, 29, 0.06);
  backdrop-filter: blur(14px);
}

.site-header br,
.site-header > p {
  display: none;
}

body.admin-bar .astage-home .site-header {
  top: 32px;
}

@media (max-width: 782px) {
body.admin-bar .astage-home .site-header {
    top: 46px;
  }
}

.brand img {
  width: 158px;
  height: auto;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  color: #2d3036;
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 4px 0;
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  min-width: 210px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 23, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 23, 29, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.main-nav .sub-menu a {
  padding: 10px 12px;
  color: #2d3036;
  white-space: nowrap;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus {
  color: var(--orange-deep);
}

.menu-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle .menu-toggle__line {
  position: absolute;
  left: 10px;
  display: block !important;
  width: 28px;
  height: 3px;
  margin: 0;
  background: currentColor;
  border-radius: 0;
  content: "";
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle::before {
  top: 12px;
}

.menu-toggle .menu-toggle__line {
  top: 20px;
}

.menu-toggle::after {
  top: 28px;
}

.eyebrow,
.section-label {
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-copy h1,
.intro h2,
.section-heading h2,
.feature-content h2,
.flow h2,
.faq h2,
.contact h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.08;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--orange);
}

.button.ghost {
  color: var(--orange-deep);
  background: rgba(255, 255, 255, 0.68);
}

.section-label {
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.intro .section-label {
  margin-bottom: 22px;
  padding-top: 18px;
}

.contact {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 56px max(26px, calc((100vw - 1120px) / 2)) 44px;
  color: var(--ink);
  background: #f6f5f2;
  border-top: 1px solid var(--line);
}

.contact-main {
  max-width: 450px;
}

.contact-logo {
  display: inline-flex;
  margin-bottom: 18px;
  line-height: 0;
}

.contact-logo img {
  width: 178px;
  height: auto;
}

.contact-main p {
  margin: 0 0 8px;
  color: #76716c;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact h2 {
  color: var(--ink);
  font-size: 2.6rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-main .contact-note {
  display: grid;
  gap: 2px;
  max-width: 520px;
  margin: 18px 0 0;
  color: #6c6762;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-note span {
  display: block;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(220px, 1fr) minmax(260px, 1.35fr);
  gap: 44px;
  width: min(920px, 100%);
  margin-top: 34px;
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: #8b8580;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-details .contact-value {
  display: block;
  margin: 0 !important;
  color: var(--orange);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.45;
}

.contact-details .contact-value a {
  display: inline;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
}

.footer-word {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  width: 100%;
  margin: 52px 0 0;
  color: rgba(255, 92, 0, 0.16);
  font-size: clamp(6.4rem, 12.5vw, 10rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  filter: none;
}

.mobile-sticky-cta {
  display: none;
}

@media (min-width: 1200px) {
.footer-word {
    margin-top: 34px;
  }
}

@media (max-width: 860px) {
body {
    padding-bottom: 76px;
  }

.site-header {
    position: relative;
    top: auto;
    z-index: 10;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding: 18px 20px;
  }

.menu-toggle {
    display: flex;
  }

.site-header.is-menu-open .menu-toggle::before {
    transform: translateY(9px) rotate(45deg);
  }

.site-header.is-menu-open .menu-toggle__line {
    opacity: 0;
  }

.site-header.is-menu-open .menu-toggle::after {
    transform: translateY(-9px) rotate(-45deg);
  }

.main-nav {
    display: grid;
    flex: 0 0 100%;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 220ms ease,
      margin-top 220ms ease,
      opacity 160ms ease;
  }

.site-header.is-menu-open .main-nav {
    max-height: 700px;
    margin-top: 16px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

.main-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

.main-nav .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

.main-nav a {
    padding: 14px 2px;
    border-top: 1px solid var(--line);
    font-size: 0.96rem;
  }

.main-nav .sub-menu a {
    padding: 12px 2px;
    color: var(--muted);
    font-size: 0.9rem;
    white-space: normal;
  }

.contact {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 38px;
  }

.contact-logo {
    margin-bottom: 16px;
  }

.contact-logo img {
    width: 156px;
  }

.contact h2 {
    font-size: 2.02rem;
  }

.contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

.mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 0;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

.mobile-sticky-cta a {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 950;
    line-height: 1;
    text-align: center;
  }

.mobile-sticky-call {
    grid-column: 1;
    grid-row: 1;
  }

.mobile-sticky-form {
    grid-column: 2;
    grid-row: 1;
  }

.mobile-sticky-call {
    color: var(--orange-deep);
    background: #fff;
    border: 1px solid var(--orange);
  }

.mobile-sticky-form {
    color: #fff;
    background: var(--orange);
    border: 1px solid var(--orange);
  }

.footer-word {
    bottom: auto;
    margin: 38px 0 0;
    font-size: 4.2rem;
  }
}

@media (max-width: 460px) {
.brand img {
    width: 132px;
  }
}

/* Mobile readability baseline */
@media (max-width: 860px) {
  html {
    font-size: 16px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .main-nav .sub-menu a {
    font-size: 0.94rem;
  }

  .button {
    font-size: 0.94rem;
  }

  .contact-main p,
  .contact-details p {
    font-size: 1rem;
  }

  .mobile-sticky-cta a {
    font-size: 0.9rem;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 16px;
  }

  .button {
    font-size: 0.96rem;
  }

  .mobile-sticky-cta a {
    font-size: 0.92rem;
  }
}

.back-to-top {
  display: none;
}

@media (max-width: 860px) {
  .back-to-top {
    position: fixed;
    right: 14px;
    bottom: 88px;
    z-index: 35;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: rgba(20, 23, 29, 0.72);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 120px;
  }

  .mobile-sticky-cta {
    right: 12px;
    bottom: 8px;
    left: 12px;
  }

  .back-to-top {
    right: 10px;
    bottom: 112px;
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
}