:root {
  color-scheme: light;
  --ink: #202326;
  --sub: #626a70;
  --line: #d8ddd8;
  --paper: #fbfaf6;
  --soft: #eef3ed;
  --white: #ffffff;
  --green: #24584a;
  --green-dark: #16382f;
  --red: #b94b3f;
  --gold: #b98a3f;
  --shadow: 0 18px 44px rgba(32, 35, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(216, 221, 216, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--red);
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--sub);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.76) 44%, rgba(251, 250, 246, 0.12) 72%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.9) 0%, rgba(251, 250, 246, 0) 26%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding: clamp(34px, 7vw, 96px) clamp(22px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11em;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 10px;
  color: #343a3d;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 500;
}

.tc {
  font-family: "Noto Sans TC", "Noto Sans JP", system-ui, sans-serif;
  color: #465057;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.64);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro-copy,
.story-panel,
.contact > div {
  max-width: 720px;
}

.muted {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(32, 35, 38, 0.06);
}

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.feature-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 1.08rem;
}

.feature-list span {
  color: var(--sub);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  display: flex;
  gap: 16px;
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.contact {
  background: var(--green-dark);
  color: var(--white);
}

.contact .eyebrow {
  color: #f1c36b;
}

.contact p,
.contact .tc {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f1c36b;
  outline: 3px solid rgba(241, 195, 107, 0.24);
}

.contact-form .button {
  width: 100%;
  border-color: #f1c36b;
  background: #f1c36b;
  color: var(--green-dark);
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--sub);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    gap: 12px;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
    padding-top: 0;
    align-items: end;
  }

  .hero img {
    height: 52%;
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(251, 250, 246, 1) 0%, rgba(251, 250, 246, 0.96) 54%, rgba(251, 250, 246, 0.16) 82%),
      linear-gradient(90deg, rgba(251, 250, 246, 0.6), rgba(251, 250, 246, 0.08));
  }

  .hero-content {
    padding-top: 310px;
  }

  .intro,
  .split,
  .contact,
  .product-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .hero {
    min-height: 668px;
  }

  .hero-content {
    padding-inline: 20px;
    padding-top: 250px;
  }

  .button {
    width: 100%;
  }

  .product-card,
  .flow-list li,
  .contact-form {
    padding: 20px;
  }

  .site-footer {
    display: block;
  }
}
