@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,620;9..144,700&family=Outfit:wght@430;560;680&display=swap");
:root {
  --ink: #16141f;
  --muted: #5c5870;
  --line: rgba(22, 20, 31, 0.08);
  --paper: #f7f4ef;
  --white: #fffcf8;
  --indigo: #3c3dcc;
  --indigo-deep: #2a2b8f;
  --peach: #ffd7c2;
  --mint: #c9f3e4;
  --violet: #ddd6ff;
  --sun: #ffe7a3;
  --shadow: 0 18px 50px rgba(42, 43, 143, 0.08);
  --sans: Outfit, Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
}
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(255, 215, 194, 0.95), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(201, 243, 228, 0.9), transparent 55%),
    radial-gradient(700px 500px at 70% 18%, rgba(221, 214, 255, 0.55), transparent 50%),
    var(--paper);
  font: 17px/1.65 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a.signup { font: inherit; }
.top {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
h1, h2, .price .amount { font-family: var(--display); }
h1, h2, h3, [id] { scroll-margin-top: 148px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; color: var(--ink); font-weight: 680; letter-spacing: -0.04em; }
.brand span { font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; transition: transform 180ms ease; }
.brand:hover img { transform: scale(1.08); }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.drop { position: relative; }
.drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.drop > button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.drop > button[aria-expanded="true"], .drop:hover > button, .drop:focus-within > button { background: rgba(60, 61, 204, 0.1); transform: translateY(-1px); }
.panel {
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.drop.is-open .panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.menu .drop:nth-child(n+3) .panel { left: auto; right: 0; }
@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; transform: none; }
}
.panel a {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 180ms ease, transform 180ms ease;
}
.panel a:hover { background: #efeaff; transform: translateX(4px); }
.panel strong { display: block; font-size: 14px; }
.panel span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.signup {
  position: relative;
  z-index: 1;
  text-decoration: none;
  background: var(--indigo);
  color: white;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  display: inline-block;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.signup:hover { background: #5556e6; transform: scale(1.05); box-shadow: 0 10px 24px rgba(60, 61, 204, 0.28); }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(60, 61, 204, 0.08); }
.lang a { text-decoration: none; padding: 6px 8px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.lang a[aria-current="true"] { background: white; color: var(--indigo-deep); }
.nav-toggle { display: none; }
.hero, .band { width: min(1180px, calc(100% - 28px)); margin: 22px auto; max-width: 100%; }
body > main, body > .page, body > .page-sheet { flex: 1 0 auto; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy, .sheet, .price, .tile, .step, .faq details {
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 800; color: var(--indigo); }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: 0.96; letter-spacing: -0.05em; margin: 12px 0 16px; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 12px; }
h3 { margin: 0 0 8px; letter-spacing: -0.03em; }
.lede, .who, .muted { color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ghost {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 700;
  display: inline-block;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.ghost:hover { background: #f4f0ff; border-color: rgba(60, 61, 204, 0.25); transform: scale(1.04); }
.hero-art {
  border-radius: 28px;
  min-height: 520px;
  background: #efe7df url("/brand/hero.png") center/cover no-repeat;
}
.band { padding: 8px 0 18px; }
.band-head { max-width: 760px; margin-bottom: 18px; }
.grid-3, .grid-2, .pricing { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.pricing { grid-template-columns: 1fr 1fr; }
.tile, .step, .price, .sheet, .faq details { transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease; }
.tile:hover, .step:hover, .price:hover, .sheet:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 22px 40px rgba(42, 43, 143, 0.14); filter: brightness(1.03); }
.tile, .step, .price, .faq details { padding: 22px; }
.tile:nth-child(1) { background: linear-gradient(180deg, rgba(255, 215, 194, 0.85), rgba(255, 252, 248, 0.9)); }
.tile:nth-child(2) { background: linear-gradient(180deg, rgba(201, 243, 228, 0.9), rgba(255, 252, 248, 0.9)); }
.tile:nth-child(3) { background: linear-gradient(180deg, rgba(221, 214, 255, 0.9), rgba(255, 252, 248, 0.9)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step b { display: block; font-size: 28px; letter-spacing: -0.04em; color: var(--indigo-deep); }
.price h3 { font-size: 15px; font-weight: 700; }
.price .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 8px; }
.price-meta { display: grid; gap: 1px; margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.price-meta b { color: var(--ink); font-weight: 650; }
.price .who { margin: 0 0 12px; font-size: 14px; line-height: 1.4; }
.price ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.price li { margin: 7px 0; }
.price.featured { outline: 2px solid var(--indigo); }
.faq details { margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 750; border-radius: 12px; transition: background 180ms ease; }
.faq summary:hover { background: rgba(60, 61, 204, 0.06); }
.page {
  width: 100%;
  margin: 0;
  padding: 22px 28px 40px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  min-height: calc(100vh - 88px);
}
.contents {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid var(--line);
}
.contents a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 560;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  transition: color 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.contents a:hover { color: var(--indigo-deep); background: #f4f0ff; border-color: rgba(60, 61, 204, 0.28); transform: translateX(3px); }
.article {
  background: rgba(255, 252, 248, 0.9);
  border-radius: 24px;
  padding: 28px 36px 56px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.page-sheet { width: min(1180px, calc(100% - 36px)); margin: 22px auto 40px; }
.cover {
  height: 240px;
  border-radius: 22px;
  margin-bottom: 22px;
  background: #efe7df url("/brand/guide.png") center/cover no-repeat;
}
.article h2 { margin-top: 36px; font-size: 32px; }
.note { background: linear-gradient(90deg, var(--violet), var(--mint)); border-radius: 16px; padding: 14px 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.foot {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  padding: 20px 28px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  background: linear-gradient(90deg, rgba(255, 215, 194, 0.55), rgba(221, 214, 255, 0.45) 50%, rgba(201, 243, 228, 0.55));
}
.foot nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
.foot a { text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.foot nav a {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 560;
  white-space: nowrap;
}
.foot nav a:hover { color: var(--indigo-deep); background: #f4f0ff; border-color: rgba(60, 61, 204, 0.28); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 980px) {
  .hero, .grid-3, .grid-2, .steps, .pricing, .page { grid-template-columns: 1fr; }
  .menu { flex-wrap: wrap; width: 100%; }
  .top { width: calc(100% - 20px); }
  .top { position: sticky; flex-wrap: wrap; border-radius: 24px; }
  .hero { min-height: auto; }
  .hero-art, .cover { min-height: 280px; height: 280px; }
}
