:root {
  color-scheme: light;
  --ink: #07152b;
  --navy: #081a33;
  --navy-2: #102951;
  --blue: #1d4ed8;
  --blue-bright: #2f6df6;
  --blue-soft: #eef4fb;
  --ivory: #f7f3e8;
  --gold: #d9a441;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --display: "Hiragino Mincho ProN", "Yu Mincho", "BIZ UDPMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ivory);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--slate-200);
  background: color-mix(in srgb, var(--ivory) 96%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  position: relative;
  display: inline-flex;
  width: 6.2rem;
  min-height: 48px;
  align-items: center;
  flex: none;
  overflow: hidden;
}

.brand-link img {
  position: absolute;
  top: -0.72rem;
  left: -1rem;
  width: 14.5rem;
  height: auto;
  max-width: none;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.9rem;
  list-style: none;
}

.site-nav a,
.footer-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--slate-600);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--ink);
}

.site-nav .invite-link {
  color: var(--blue);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 56px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-art,
.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0 34%, rgb(8 26 51 / 92%) 46%, rgb(8 26 51 / 34%) 70%, rgb(8 26 51 / 8%) 100%);
}

.hero-inner {
  display: flex;
  min-height: calc(100svh - 56px);
  align-items: center;
  padding-block: 3.5rem;
}

.hero-copy {
  width: min(100%, 38rem);
}

.hero-logo {
  width: clamp(18rem, 30vw, 24rem);
  max-width: none;
  margin-left: -1rem;
  clip-path: inset(0 48% 0 0);
}

.kicker {
  margin: 0;
  color: var(--blue);
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .kicker {
  margin-top: 1.7rem;
  color: #bfdbfe;
}

.signal {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: #60a5fa;
  vertical-align: 0.05em;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-feature-settings: "palt" 1, "kern" 1;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-wrap: balance;
}

.hero h1 {
  max-width: 34rem;
  margin-top: 1.2rem;
  font-size: clamp(2.15rem, 4.1vw, 3.3rem);
  line-height: 1.34;
}

.hero h1 span {
  display: block;
  color: #93c5fd;
}

.lead {
  max-width: 35rem;
  margin: 1.25rem 0 0;
  color: #e2e8f0;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.9;
}

.note {
  margin: 0.55rem 0 0;
  color: #c7d3e5;
  font-size: 0.82rem;
}

.actions,
.auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.actions {
  margin-top: 1.55rem;
}

.auth-links {
  margin-top: 0.75rem;
  gap: 0 1.5rem;
}

.button,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.button {
  min-height: 56px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button-light {
  background: var(--ivory);
  color: var(--ink);
}

.button-light:hover {
  background: var(--white);
}

.button-outline {
  border-color: rgb(255 255 255 / 54%);
  color: var(--white);
}

.button-outline:hover {
  background: rgb(255 255 255 / 10%);
}

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

.text-link {
  color: #bfdbfe;
  text-underline-offset: 0.28em;
}

.section {
  padding-block: clamp(3.8rem, 8vw, 6.5rem);
  background: var(--white);
}

.section-ivory {
  background: var(--ivory);
}

.section-blue {
  background: var(--blue-soft);
}

.section-dark {
  background: var(--navy-2);
  color: var(--white);
}

.section-heading {
  max-width: 48rem;
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-intro {
  max-width: 46rem;
  margin: 1.15rem 0 0;
  color: var(--slate-700);
  line-height: 1.85;
}

.rule-list {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  list-style: none;
}

.rule-list li {
  display: grid;
  min-height: 5.2rem;
  padding-block: 1rem;
  align-items: center;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--slate-300);
  font-weight: 800;
}

.number {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.value-map {
  display: grid;
  margin-top: 2.4rem;
  padding-block: 1.4rem;
  align-items: stretch;
  grid-template-columns: 1fr auto 0.9fr auto 1.2fr;
  gap: 0.85rem;
  border-block: 1px solid var(--slate-300);
}

.value-stage {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
}

.value-stage-review {
  border-color: rgb(217 164 65 / 70%);
  background: #fbf7ed;
}

.value-stage-public {
  border-color: #bfdbfe;
  background: var(--blue-soft);
}

.value-stage h3 {
  margin: 0;
  font-size: 1rem;
}

.value-stage p {
  margin: 0.7rem 0 0;
  color: var(--slate-600);
  font-size: 0.82rem;
}

.stage-art {
  position: relative;
  min-height: 9rem;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgb(16 41 81 / 18%);
  background: var(--blue-soft);
}

.paper {
  position: absolute;
  display: block;
  width: 38%;
  height: 56%;
  border: 1px solid rgb(16 41 81 / 22%);
  background: var(--white);
  box-shadow: 0.25rem 0.25rem 0 rgb(16 41 81 / 10%);
}

.paper::after {
  position: absolute;
  content: "";
  inset: 23% 14%;
  background: repeating-linear-gradient(to bottom, var(--slate-300) 0 2px, transparent 2px 9px);
}

.paper-one {
  top: 28%;
  left: 8%;
  transform: rotate(-7deg);
}

.paper-two {
  top: 15%;
  left: 32%;
  transform: rotate(2deg);
  background: var(--ivory);
}

.paper-three {
  top: 31%;
  right: 8%;
  transform: rotate(7deg);
}

.review-art .paper-one {
  top: 13%;
  left: 21%;
  width: 58%;
  height: 70%;
  transform: rotate(-2deg);
}

.review-art::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 28%;
  height: 58%;
  border-radius: 999px 999px 0 0;
  background: var(--navy-2);
  content: "";
}

.mini-site {
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgb(29 78 216 / 30%);
  background: var(--white);
  box-shadow: 0.35rem 0.35rem 0 rgb(16 41 81 / 12%);
}

.mini-site-bar {
  height: 1.15rem;
  background: var(--navy);
}

.mini-site-hero {
  height: 4.2rem;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
}

.mini-site-copy {
  display: grid;
  height: 4rem;
  padding: 0.8rem;
  gap: 0.35rem;
}

.mini-site-copy span {
  display: block;
  height: 0.25rem;
  background: var(--slate-300);
}

.mini-site-copy span:first-child {
  width: 68%;
  height: 0.45rem;
  background: var(--navy-2);
}

.arrow {
  place-self: center;
  color: var(--blue);
  font-size: 1.7rem;
}

.feature-grid,
.flow-grid,
.sample-grid {
  display: grid;
  margin-top: 2.5rem;
  gap: 2rem 2.5rem;
}

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

.feature {
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue);
}

.feature h3,
.flow-step h3,
.info-card h3,
.sample-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.45;
}

.feature p,
.flow-step p,
.info-card p,
.sample-card p {
  margin: 0.65rem 0 0;
  color: var(--slate-700);
}

.info-rail {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--slate-200);
  background: var(--slate-300);
  gap: 1px;
}

.info-card {
  min-width: 0;
  padding: 1.5rem;
  background: var(--white);
}

.info-card .number {
  display: block;
  margin-bottom: 1rem;
}

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

.flow-visual {
  position: relative;
  min-height: 9rem;
  margin-bottom: 1.15rem;
  overflow: hidden;
  border: 1px solid rgb(16 41 81 / 18%);
  background: var(--ivory);
}

.flow-visual-organize .paper {
  top: 22%;
  width: 38%;
  height: 58%;
}

.flow-visual-organize .paper-one {
  left: 11%;
  transform: rotate(-7deg);
}

.flow-visual-organize .paper-two {
  top: 14%;
  left: 31%;
  background: var(--white);
  transform: rotate(1deg);
}

.flow-visual-organize .paper-three {
  right: 10%;
  transform: rotate(7deg);
}

.flow-visual-review .paper-one {
  top: 16%;
  left: 23%;
  width: 54%;
  height: 68%;
  transform: none;
}

.flow-visual-review::before {
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 1rem;
  height: 3px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
  transform-origin: right center;
}

.flow-visual-review::after {
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 1.7rem;
  height: 1.7rem;
  border: 3px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.publish-window {
  position: absolute;
  inset: 14% 17% 18%;
  overflow: hidden;
  border: 1px solid rgb(16 41 81 / 25%);
  background: var(--white);
  box-shadow: 0.28rem 0.28rem 0 rgb(16 41 81 / 10%);
}

.publish-window::before {
  position: absolute;
  height: 18%;
  background: var(--navy);
  content: "";
  inset: 0 0 auto;
}

.publish-window::after {
  position: absolute;
  top: 31%;
  left: 10%;
  width: 45%;
  height: 31%;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  content: "";
}

.publish-window span {
  position: absolute;
  top: 34%;
  right: 10%;
  width: 29%;
  height: 32%;
  background: repeating-linear-gradient(to bottom, var(--slate-300) 0 2px, transparent 2px 8px);
}

.flow-visual-publish::after {
  position: absolute;
  right: 10%;
  bottom: 9%;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  content: "✓";
  font-size: 0.95rem;
  font-weight: 900;
}

.self-use {
  max-width: 54rem;
  padding-left: clamp(1.2rem, 4vw, 2.2rem);
  border-left: 5px solid var(--blue);
}

.self-use p {
  color: var(--slate-700);
}

.owner-grid,
.future-grid {
  display: grid;
  margin-top: 1.2rem;
  align-items: start;
  gap: 2rem;
}

.owner-grid {
  grid-template-columns: 1.05fr 0.7fr 1fr;
}

.owner-portrait {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--slate-200);
  background: var(--ivory);
  aspect-ratio: 1;
}

.owner-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.owner-copy {
  padding-top: 1.2rem;
  border-top: 1px solid var(--slate-300);
  color: var(--slate-700);
}

.owner-copy a {
  display: inline-flex;
  min-height: 48px;
  margin-top: 0.7rem;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 0.28em;
}

.status-copy {
  max-width: 48rem;
  margin-top: 1.4rem;
  color: var(--slate-700);
}

.future-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.future-art {
  overflow: hidden;
  border: 1px solid rgb(16 41 81 / 20%);
  background: var(--navy);
}

.future-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.caption {
  display: flex;
  margin-top: 0.6rem;
  justify-content: space-between;
  gap: 1rem;
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 700;
}

.final-copy {
  max-width: 48rem;
}

.final-copy .kicker,
.final-copy p {
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--ivory);
}

.footer-inner {
  display: flex;
  padding-block: 2.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copy {
  max-width: 40rem;
}

.footer-copy img {
  width: 88px;
}

.footer-copy p {
  margin: 0.8rem 0 0;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.subhero {
  padding-block: clamp(3.4rem, 7vw, 5.5rem);
  background: var(--navy);
  color: var(--white);
}

.subhero .kicker {
  color: #93c5fd;
}

.subhero h1 {
  max-width: 54rem;
  margin-top: 0.8rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
}

.subhero p:last-child {
  max-width: 46rem;
  margin: 1.25rem 0 0;
  color: var(--slate-300);
}

.status-list {
  margin: 2rem 0 0;
  border-block: 1px solid var(--slate-300);
}

.status-row {
  display: grid;
  padding-block: 1rem;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--slate-200);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row dt {
  color: var(--slate-500);
  font-weight: 800;
}

.status-row dd {
  margin: 0;
  font-weight: 800;
}

.plain-list {
  max-width: 48rem;
  margin: 2rem 0 0;
  padding: 0;
  border-block: 1px solid var(--slate-200);
  list-style: none;
}

.plain-list li {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-600);
}

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

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

.sample-card {
  min-width: 0;
  padding-top: 1.25rem;
  border-top: 3px solid var(--sample-accent, var(--blue));
}

.sample-card:nth-child(5) {
  grid-column: 1 / -1;
  width: calc(50% - 1.25rem);
}

.sample-browser {
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--slate-300);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 1rem 2.5rem rgb(7 21 43 / 9%);
}

.sample-browser-bar {
  display: flex;
  min-height: 2.1rem;
  padding-inline: 0.8rem;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.sample-browser-bar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--slate-300);
}

.sample-preview {
  display: grid;
  min-height: 13rem;
  padding: 1.2rem;
  align-content: end;
  background:
    radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--sample-accent, var(--blue)) 65%, white) 0 1.8rem, transparent 1.85rem),
    linear-gradient(145deg, color-mix(in srgb, var(--sample-accent, var(--blue)) 14%, white), var(--white));
}

.sample-preview strong {
  max-width: 15rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.3;
}

.sample-preview span {
  width: 5rem;
  height: 0.45rem;
  margin-top: 0.8rem;
  background: var(--sample-accent, var(--blue));
}

.sample-disclaimer {
  margin-top: 2.5rem;
  padding: 1.4rem;
  border-left: 4px solid var(--gold);
  background: var(--ivory);
  color: var(--slate-700);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 560ms ease-out both;
  }

  .hero-art {
    animation: settle 720ms ease-out 80ms both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .owner-grid {
    grid-template-columns: 1fr 0.72fr;
  }

  .owner-copy {
    grid-column: 1 / -1;
  }

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

  .value-map {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 680px) {
  :root {
    font-size: 17px;
  }

  .header-inner,
  .footer-inner,
  .container {
    width: min(100% - 1.4rem, 1120px);
  }

  .brand-link img {
    top: -0.45rem;
    left: -0.8rem;
    width: 12.25rem;
  }

  .site-nav ul {
    gap: 0.15rem;
  }

  .site-nav a {
    padding-inline: 0.25rem;
    font-size: clamp(0.68rem, 3.1vw, 0.82rem);
    line-height: 1.3;
    white-space: nowrap;
  }

  .hero-art {
    object-position: 68% center;
    opacity: 0.36;
  }

  .hero-wash {
    background: linear-gradient(90deg, var(--navy) 0%, rgb(8 26 51 / 94%) 58%, rgb(8 26 51 / 62%) 100%);
  }

  .hero-inner {
    padding-block: 2.3rem;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.45;
  }

  .actions,
  .auth-links {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-links {
    align-items: start;
  }

  .rule-list,
  .feature-grid,
  .flow-grid,
  .sample-grid,
  .owner-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .info-rail {
    overflow-x: auto;
    grid-auto-columns: minmax(15rem, 88%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }

  .info-card {
    scroll-snap-align: start;
  }

  .sample-card:nth-child(5) {
    width: auto;
    grid-column: auto;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .footer-nav ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 0.8rem);
    gap: 0.25rem;
  }

  .brand-link {
    width: 5.15rem;
  }

  .brand-link img {
    width: 12.25rem;
  }

  .site-nav ul {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 0.18rem;
    font-size: 0.6rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .button:hover {
    transform: none;
  }
}
