:root {
  color-scheme: light;
  --page: #f4eee5;
  --surface: rgba(255, 253, 248, 0.76);
  --surface-solid: #fbf8f2;
  --ink: #292826;
  --muted: #6f6b65;
  --line: rgba(74, 67, 58, 0.13);
  --gold: #b78c4f;
  --graphite: #303133;
  --shadow: 0 28px 80px rgba(62, 48, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, 0.95), transparent 30rem),
    radial-gradient(circle at 86% 27%, rgba(197, 163, 112, 0.17), transparent 31rem),
    linear-gradient(145deg, #f8f4ed 0%, var(--page) 52%, #eee6da 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(52, 45, 36, 0.16);
}

.platform-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

nav a,
.links a,
footer a,
.content-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero {
  min-height: min(820px, calc(100vh - 80px));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 7vw, 94px);
  padding: 48px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 680;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  margin: 14px 0 4px;
  font-size: 1.12rem;
}

.lead {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.facts span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: #5d5851;
  font-size: 0.88rem;
}

.phone-shot,
.visual-pair figure {
  margin: 0;
  border-radius: 44px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.phone-shot {
  width: min(100%, 390px);
  justify-self: center;
  transform: rotate(1.3deg);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.phone-shot img,
.visual-pair img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(74px, 11vw, 136px) 0;
}

.section-lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.material-grid article,
.interaction,
.quiet-card,
.content-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(61, 48, 33, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.material-grid article {
  min-height: 210px;
  padding: 26px;
  border-radius: 28px;
}

.material-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.dot {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.dot.sand { background: radial-gradient(circle at 35% 30%, #f4e7cd 0 20%, #c8a970 23% 31%, #e0c796 34% 48%, #b89a65 51%); }
.dot.gold { border-radius: 38% 62% 51% 49%; background: linear-gradient(145deg, #f1d17a, #b9791f 65%, #f3db96); }
.dot.cloud { width: 52px; border-radius: 48% 56% 43% 60%; background: linear-gradient(145deg, #f5f0e4, #e0e7d8 55%, #f3dcd8); }
.dot.bubble { background: rgba(194, 220, 217, 0.24); border: 3px solid #b8d9d8; box-shadow: inset -6px -5px 13px rgba(226, 170, 185, 0.45); }
.dot.jelly { border-radius: 55% 46% 59% 42%; background: linear-gradient(145deg, #f5a991, #c3afd9); }
.dot.pearl { background: radial-gradient(circle at 33% 27%, #fff 0 11%, #d7e3e8 17% 49%, #a9c3d0 70%); }

.visual-pair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: clamp(18px, 5vw, 54px);
  padding: 28px 0 clamp(76px, 11vw, 142px);
}

.visual-pair figure:first-child {
  transform: translateY(30px) rotate(-1deg);
}

.visual-pair figure:last-child {
  transform: rotate(1deg);
}

.visual-pair figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.interaction {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(36px, 6vw, 72px);
  border-radius: 42px;
}

.interaction p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.interaction ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.interaction li {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.interaction li:last-child {
  border-bottom: 0;
}

.interaction li span {
  color: var(--muted);
}

.quiet-card,
.content-card {
  margin: clamp(76px, 11vw, 144px) 0;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 42px;
}

.quiet-card {
  text-align: center;
}

.quiet-card > p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 22px;
}

.content-card {
  max-width: 860px;
  margin-inline: auto;
}

.content-card h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin-bottom: 28px;
}

.content-card h2 {
  margin-top: 46px;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
}

.content-card h3 {
  margin-top: 30px;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card .updated {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.language-divider {
  margin: 64px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

footer {
  min-height: 110px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .facts {
    justify-content: center;
  }

  .phone-shot {
    width: min(84vw, 390px);
    transform: none;
  }

  .material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-pair {
    grid-template-columns: repeat(2, minmax(0, 340px));
  }

  .interaction {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    padding: 16px 0;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 4px 14px;
  }

  .hero {
    padding-top: 42px;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

  .material-grid article {
    min-height: 0;
  }

  .visual-pair {
    grid-template-columns: 1fr;
  }

  .visual-pair figure:first-child,
  .visual-pair figure:last-child {
    width: min(88vw, 390px);
    justify-self: center;
    transform: none;
  }

  .interaction,
  .quiet-card,
  .content-card {
    border-radius: 28px;
  }

  .interaction li {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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