:root {
  color-scheme: light;
  --ink: #2b2330;
  --muted: #6f6170;
  --paper: #fffaf2;
  --paper-strong: #fff5e6;
  --line: #ead7c5;
  --rose: #d84262;
  --rose-dark: #8f263e;
  --plum: #4b2a43;
  --gold: #d6923a;
  --green: #2f7565;
  --shadow: 0 20px 60px rgba(83, 36, 58, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: #fffdf7;
  background: rgba(54, 32, 52, .58);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--rose-dark);
  background: #fff1c9;
  border-radius: 50%;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  opacity: .92;
  white-space: nowrap;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fffdf7;
  padding: 120px clamp(22px, 6vw, 90px) 72px;
  background: #4b2a43;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(38, 24, 40, .88) 0%, rgba(70, 35, 56, .64) 45%, rgba(80, 42, 60, .2) 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: #ffe6b6;
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(52px, 9vw, 118px);
}

.hero-lead {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 253, 247, .91);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #4a2638;
  background: #ffe6aa;
}

.button.secondary {
  color: #fffdf7;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 42px;
}

.fact {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .17);
}

.fact strong {
  display: block;
  color: #ffe8b9;
  font-size: 20px;
  line-height: 1.25;
}

.fact span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 253, 247, .82);
  font-size: 13px;
}

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

.section.alt {
  background: #fff3ea;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #fff3ea;
}

.showcase-copy {
  max-width: 460px;
}

.showcase-copy h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.showcase-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1.1fr .82fr .82fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
  border: 1px solid rgba(75, 42, 67, .18);
  box-shadow: 0 22px 52px rgba(75, 42, 67, .18);
  background: #fffaf2;
}

.featured-shot {
  grid-row: span 2;
}

.featured-shot img {
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(75, 42, 67, .24);
}

.phone-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

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

.section-header h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 36px rgba(84, 36, 56, .08);
}

.card h3 {
  font-size: 20px;
}

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

.card p {
  margin: 12px 0 0;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: #fff;
  border-radius: 50%;
  background: var(--rose);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.feature-list li {
  padding-left: 22px;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.notice-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 8px;
  color: #fffdf7;
  background: #4b2a43;
  box-shadow: var(--shadow);
}

.notice-band h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.notice-band p {
  max-width: 780px;
  margin: 12px 0 0;
  color: rgba(255, 253, 247, .82);
}

.legal-hero {
  padding: 142px clamp(20px, 5vw, 72px) 56px;
  color: #fffdf7;
  background: #4b2a43;
}

.legal-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
}

.legal-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 253, 247, .86);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 42px clamp(20px, 5vw, 72px) 84px;
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-doc {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 42px rgba(84, 36, 56, .08);
}

.legal-doc h2 {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 26px;
}

.legal-doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-doc h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-doc p {
  margin: 12px 0 0;
}

.legal-doc ul {
  padding-left: 1.3em;
}

.legal-doc table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.legal-doc th,
.legal-doc td {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-doc th {
  background: #fff1df;
  text-align: left;
}

.draft-note {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff5df;
  color: #6a5136;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 253, 247, .86);
  background: #2b2330;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 253, 247, .9);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffe6aa;
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 164px;
  }

  .hero::after {
    background: rgba(47, 30, 45, .74);
  }

  .hero-facts,
  .grid,
  .app-showcase,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .featured-shot {
    grid-row: span 1;
  }

  .toc {
    position: static;
  }

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

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    white-space: normal;
  }

  .legal-doc {
    padding: 20px 16px;
  }

  .phone-grid {
    display: flex;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .phone-shot {
    flex: 0 0 74%;
    scroll-snap-align: center;
  }

  .phone-shot img,
  .featured-shot img {
    border-radius: 26px;
  }
}
