:root {
  --bg: #f4efe6;
  --bg-accent: #fffaf3;
  --surface: rgba(255, 250, 243, 0.84);
  --surface-strong: #fffdf9;
  --line: rgba(105, 79, 53, 0.16);
  --text: #30251d;
  --muted: #6d5745;
  --brand: #d96c3b;
  --brand-deep: #a74925;
  --shadow: 0 24px 60px rgba(71, 40, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 108, 59, 0.18), transparent 30%),
    radial-gradient(circle at right 20%, rgba(204, 167, 116, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf6ed 0%, var(--bg) 100%);
  font-family: "Yu Gothic UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
  overflow-x: clip;
}

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

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

.site-shell {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  position: sticky;
  top: 12px;
  z-index: 10;
  background: rgba(255, 248, 239, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(93, 56, 33, 0.18);
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: rgba(217, 108, 59, 0.12);
  transform: translateY(-1px);
}

.hero,
.page-main {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px;
}

.hero-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(145deg, rgba(217, 108, 59, 0.2), rgba(255, 255, 255, 0.78)),
    var(--surface);
}

.hero-icon {
  width: min(72%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28%;
  box-shadow: 0 30px 60px rgba(84, 50, 28, 0.2);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1,
h2,
p,
li,
a {
  overflow-wrap: anywhere;
  word-break: normal;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.25;
}

.lead {
  margin-top: 22px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  max-width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  color: #fffaf5;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 30px rgba(167, 73, 37, 0.24);
}

.button-secondary {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(217, 108, 59, 0.18);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.panel {
  padding: 30px;
}

.panel p {
  margin-top: 14px;
  color: var(--muted);
}

.link-list {
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
}

.link-list li + li {
  margin-top: 10px;
}

.link-list a {
  color: var(--brand-deep);
}

.page-hero {
  padding: 22px 6px 10px;
}

.legal-copy {
  padding: 36px;
}

.legal-copy h2 + p,
.legal-copy p + h2 {
  margin-top: 16px;
}

.legal-copy > p + p,
.legal-copy > ul + p,
.legal-copy > p + ul,
.legal-copy > ul + h2 {
  margin-top: 16px;
}

.legal-list {
  margin-top: 12px;
  padding-left: 1.4rem;
  color: var(--muted);
}

.legal-list li + li {
  margin-top: 10px;
}

.legal-copy a {
  color: var(--brand-deep);
}

.site-footer {
  padding: 28px 8px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .panel,
  .legal-copy {
    padding: 26px;
  }

  .hero-card {
    min-height: 240px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .site-header {
    padding: 14px;
    border-radius: 20px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .site-nav {
    width: 100%;
    gap: 8px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-copy,
  .panel,
  .legal-copy {
    padding: 22px;
    border-radius: 24px;
  }

  .legal-list {
    padding-left: 1.15rem;
  }
}

@media (max-width: 380px) {
  .site-shell {
    width: min(100% - 16px, 1120px);
  }

  .site-header {
    gap: 12px;
    padding: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .hero-copy,
  .panel,
  .legal-copy {
    padding: 18px;
  }

  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }
}
