:root {
  --ink: #18201f;
  --muted: #5a6664;
  --paper: #fbfaf6;
  --soft: #eef3ed;
  --line: #d9e1dc;
  --accent: #0f7b6c;
  --accent-dark: #07594e;
  --warm: #f4b85a;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(23, 35, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 225, 220, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions,
.hero-stats,
.price-box,
.support {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.site-nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  padding: 8px 18px;
  background: var(--accent);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(12, 24, 23, 0.82), rgba(12, 24, 23, 0.48) 52%, rgba(12, 24, 23, 0.2));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 52px clamp(18px, 7vw, 92px);
  color: var(--white);
}

.eyebrow,
.label,
.tag,
.plan-name {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.tag {
  color: var(--warm);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  border: 0;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 15px;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 123, 108, 0.26);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  min-width: 118px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.hero-stats dd {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.wide {
  width: min(940px, 100%);
}

.label {
  color: var(--accent);
}

.intro-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article,
.timeline article,
.support-panel,
.price-box,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 35, 34, 0.06);
}

.intro-grid article {
  padding: 26px;
}

.intro-grid article,
.work-card,
.timeline article,
.support-panel,
.price-box,
.faq details,
.contact-inner,
.button,
.nav-cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.intro-grid article:hover,
.work-card:hover,
.timeline article:hover,
.faq details:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(23, 35, 34, 0.12);
}

.icon {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.color-band {
  background: var(--soft);
}

.work-list {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-card:hover img {
  transform: scale(1.045);
}

.work-card div {
  padding: 24px;
}

.timeline {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.timeline article {
  position: relative;
  padding: 24px 24px 24px 84px;
}

.timeline span {
  position: absolute;
  left: 22px;
  top: 26px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.support {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 34px;
}

.support-copy,
.support-panel {
  flex: 1;
}

.support-panel {
  padding: 28px;
}

.support-panel ul,
.price-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-panel li,
.price-box li {
  position: relative;
  padding-left: 28px;
}

.support-panel li::before,
.price-box li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.price-box {
  width: min(920px, 100%);
  margin: 0 auto;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 44px);
}

.price-value {
  margin-bottom: 10px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1;
  font-weight: 900;
}

.price-value span {
  margin-left: 8px;
  font-size: 15px;
}

.contact-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #e7f0ea;
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(23, 35, 34, 0.08);
}

.contact-inner > p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c5d4cc;
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f9089;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-widget {
  min-height: 65px;
}

.faq-list {
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 70px);
  background: #101817;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
  color: var(--white);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin: 0 auto 36px;
  }

  .intro-grid,
  .work-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .support,
  .price-box,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .timeline article {
    padding-left: 24px;
  }

  .timeline span {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding-inline: 14px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-stats div {
    flex: 1 1 100px;
  }
}
