:root {
  color-scheme: light;
  /* Provisional palette: the final brand colors are still open. */
  --field: #f4e84b;
  --ink: #171714;
  --muted: #4d4d45;
  --rule: #171714;
  --paper: #fffdf3;
  --blue: #a7cdec;
  --coral: #efaa9a;
  --green: #d0dfa9;
  --content: 1240px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--field); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.muted { color: var(--muted); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--field); background: var(--ink); }

.site-header,
main,
.site-footer { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 1.15rem; font-weight: 900; letter-spacing: .2em; text-decoration: none; }
.accent-dot { color: #e25238; }
.site-nav { display: flex; flex-wrap: wrap; gap: 30px; }
.site-nav a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .text-link:hover { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.eyebrow { margin: 0 0 18px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.text-link { display: inline-flex; align-items: center; gap: .28em; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 800; text-decoration: none; }
.text-link:hover { border-bottom-width: 2px; }

.home-hero { position: relative; min-height: 620px; display: flex; align-items: center; border-bottom: 1px solid var(--rule); }
.hero-copy { max-width: 790px; padding: 88px 0 100px; }
.hero-copy h1 { margin: 0; font-size: clamp(2.6rem, 6.5vw, 5.8rem); font-weight: 800; line-height: 1.22; letter-spacing: -.075em; }
.hero-lead { margin: 26px 0 26px; font-size: 1.06rem; font-weight: 600; }
.hero-note { position: absolute; top: 18%; right: 9%; }
.paper-note { position: relative; width: fit-content; margin: 0; padding: 18px 22px; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.55; }
.paper-note::before { content: ""; position: absolute; top: -8px; left: 50%; width: 66px; height: 14px; transform: translateX(-50%) rotate(-2deg); background: rgba(255,255,255,.52); }
.paper-note--blue { background: var(--blue); transform: rotate(4deg); }
.paper-note--coral { background: var(--coral); transform: rotate(-3deg); }
.hero-stamp { position: absolute; right: 4%; bottom: 13%; width: 105px; height: 105px; display: grid; place-content: center; border: 1px solid var(--ink); border-radius: 50%; text-align: center; font-size: .7rem; font-weight: 800; line-height: 1.15; letter-spacing: .12em; transform: rotate(9deg); }
.hero-stamp span { font-size: .9rem; }

.home-page { position: relative; overflow-x: clip; }
@media (min-width: 901px) {
  .home-dashboard,
  .home-page .site-footer { width: min(calc(100% - 58px), var(--content)); }
}
.home-page .site-header,
.home-dashboard,
.home-page .site-footer { position: relative; z-index: 2; }
.desk-sprinkles { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100svh; overflow: hidden; pointer-events: none; }
.desk-prop { position: absolute; display: block; height: auto; }
.desk-prop--pencil { top: 18.5%; left: 67%; width: 205px; transform: translateX(var(--desk-drift, 0px)) rotate(122deg); }
.desk-prop--ruler { top: 62.2%; right: -9%; width: clamp(245px, 27vw, 350px); transform: translateX(var(--desk-drift, 0px)) rotate(2deg); }
.desk-prop--eraser { top: 23%; left: 39%; width: 68px; transform: translateX(var(--desk-drift, 0px)) rotate(-11deg); }
.desk-prop--scissors { top: 40.5%; left: -4.3%; width: 180px; transform: translateX(var(--desk-drift, 0px)) rotate(105deg); }
.desk-prop--keyboard { bottom: -115px; left: 40%; width: 390px; transform: translateX(var(--desk-drift, 0px)) rotate(-3deg); }
.desk-prop--mouse { top: 24%; left: 52%; width: 60px; transform: translateX(var(--desk-drift, 0px)); }
.home-dashboard { min-height: calc(100svh - 157px); display: grid; grid-template-columns: 1fr; align-items: start; padding: 18px 0 10px; }
.home-dashboard .products-section { position: relative; min-width: 0; padding: 0; border: 0; }
.home-dashboard .section-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 0 2px; }
.home-dashboard .section-heading .eyebrow { margin-bottom: 5px; }
.home-dashboard .section-heading h2 { max-width: 940px; font-size: clamp(1.55rem, 2.7vw, 2.05rem); line-height: 1.2; }
.home-dashboard .section-heading > div:first-child > p:nth-of-type(2) { margin: 6px 0 12px; font-size: .78rem; }
.carousel-controls { position: static; display: flex; gap: 10px; margin-top: 12px; }
.carousel-controls[hidden] { display: none; }
.carousel-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--field); font: inherit; font-size: 1.2rem; cursor: pointer; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.carousel-button[hidden] { display: none; }
.carousel-button:hover:not(:disabled) { color: var(--field); background: var(--ink); transform: translateX(2px); }
.carousel-button:disabled { opacity: .34; cursor: default; }
.product-carousel-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-inline: contain; padding: 0; }
.product-carousel-viewport::-webkit-scrollbar { display: none; }
.home-dashboard .product-grid { position: relative; z-index: 1; display: flex; width: 100%; max-width: none; gap: clamp(40px, 5vw, 64px); margin: 0; padding: 0; }
.home-dashboard .product-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex: 0 0 calc((100% - clamp(40px, 5vw, 64px)) / 2); min-width: 0; scroll-snap-align: start; }
.home-dashboard .product-card--kiri .disk-link { width: min(74%, 300px); margin: 0 auto; }
.home-dashboard .disk-link { width: min(74%, 300px); margin-inline: auto; }
.home-dashboard .disk-name { font-size: clamp(1.2rem, 2vw, 1.8rem); }
.home-dashboard .disk-label { gap: 2px; }
.home-dashboard .disk-app-icon { width: clamp(56px, 5vw, 68px); }
.home-dashboard .disk-label--galactica .disk-name { font-size: clamp(.9rem, 1.6vw, 1.35rem); line-height: .98; text-align: center; }
.home-dashboard .product-meta { margin: 0 0 4px; font-size: .59rem; }
.home-dashboard .product-copy h3 { margin: 0 0 5px; font-size: 1.28rem; line-height: 1.1; }
.home-dashboard .product-card--game .product-copy h3 { font-size: clamp(.95rem, 1.45vw, 1.25rem); }
.home-dashboard .product-description { min-height: 2.8em; font-size: .79rem; line-height: 1.5; }
.home-dashboard .product-copy .text-link { margin-top: 8px; font-size: .75rem; }
.home-page .site-footer { grid-template-columns: auto 1fr auto; min-height: 79px; }
.home-page .site-footer small { justify-self: end; }

.products-section { padding: 86px 0 108px; border-bottom: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; margin-bottom: 56px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .about-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.25; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 340px; margin: 0 0 4px; font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 72px clamp(28px, 5vw, 76px); }
.product-card { display: flex; flex-direction: column; align-items: stretch; gap: 26px; min-width: 0; }
.product-card--kiri .disk-link { width: min(100%, 410px); margin: 8px auto 0; }
.disk-link { display: block; text-decoration: none; }
.disk-tilt { position: relative; display: block; transform: rotate(-4deg); transition: transform .22s ease; }
.disk-link:hover .disk-tilt { transform: rotate(0deg); }
.disk-image { width: 100%; height: auto; }
.disk-label { position: absolute; top: 45.5%; left: 17.2%; width: 65.5%; height: 43%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.kiri-mark { width: 44px; height: 35px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.kiri-mark span { width: 5px; background: var(--ink); }
.kiri-mark span:nth-child(1) { height: 14px; }
.kiri-mark span:nth-child(2) { height: 30px; }
.kiri-mark span:nth-child(3) { height: 20px; }
.disk-app-icon { width: 68px; aspect-ratio: 1; display: block; flex: 0 0 auto; overflow: hidden; border-radius: 5px; }
.disk-app-icon img { width: 100%; height: 100%; object-fit: contain; }
.disk-app-icon--kiri { background: #f8f3ec; }
.disk-name { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; }
.product-meta { margin: 0 0 7px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.product-meta span { padding-inline: 5px; }
.product-copy h3 { margin: 0 0 12px; font-size: 2.6rem; line-height: 1; letter-spacing: -.06em; }
.product-for { margin: 0 0 9px; font-weight: 800; }
.product-description { margin: 0; max-width: 34em; font-size: .92rem; }
.maker-note { width: fit-content; max-width: 100%; margin: 20px 0 24px; padding: 8px 12px; background: var(--coral); font-size: .82rem; font-weight: 700; transform: rotate(-1deg); }
.product-copy .text-link { font-size: .83rem; }
.product-card--game .product-copy h3 { font-size: clamp(2rem, 4vw, 2.6rem); }
.maker-note--blue { background: var(--blue); }
.desk-note { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.product-grid > .desk-note { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
.desk-note-caption { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.8; }
.desk-note-index { padding-top: 12px; border-top: 1px solid var(--rule); font-size: .64rem; font-weight: 800; letter-spacing: .16em; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 86px 0 104px; }
.about-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.about-copy { max-width: 600px; font-size: .98rem; }
.about-copy > p { margin: 0 0 18px; }
.operator-info { margin: 36px 0 0; border-top: 1px solid var(--rule); font-size: .82rem; }
.operator-info div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.operator-info dt { font-weight: 700; }
.operator-info dd { margin: 0; }
.about-main section { margin-top: 42px; }
.about-manifesto { margin: 24px 0 32px; padding: 15px 18px; background: var(--blue); font-weight: 800; }
.about-principles { display: grid; gap: 0; margin: 18px 0 22px; padding: 0; list-style: none; }
.about-principles li { padding: 12px 0; border-top: 1px solid var(--rule); font-weight: 700; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px; min-height: 86px; border-top: 1px solid var(--rule); }
.site-footer p, .site-footer small { margin: 0; font-size: .75rem; line-height: 1.2; }
.site-footer > a:not(.wordmark) { font-size: .78rem; font-weight: 700; }

.product-page main { padding-bottom: 100px; }
.breadcrumb { margin: 24px 0; font-size: .76rem; }
.breadcrumb a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; min-height: 490px; padding: 32px 4% 72px; border-bottom: 1px solid var(--rule); }
.product-hero h1 { margin: 0 0 20px; font-size: clamp(3.2rem, 7vw, 6rem); line-height: .95; letter-spacing: -.08em; }
.product-hero .lead { max-width: 540px; margin: 0 0 24px; font-size: 1.08rem; font-weight: 600; }
.status-label { display: inline-block; padding: 5px 10px; border: 1px solid var(--rule); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.product-visual { width: min(100%, 300px); margin: auto; }
.product-visual .disk-label { gap: 2px; }
.product-visual .disk-app-icon { width: clamp(56px, 5vw, 68px); }
.product-visual .disk-name { font-size: clamp(1.2rem, 2vw, 1.8rem); }
.product-visual .disk-label--galactica .disk-name { font-size: clamp(.9rem, 1.6vw, 1.35rem); line-height: .98; text-align: center; }
.detail-section { padding: 76px 0; border-bottom: 1px solid var(--rule); }
.detail-section h2 { margin: 0 0 24px; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.05em; }
.detail-intro { max-width: 720px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; margin-top: 36px; }
.feature { padding: 22px 0; border-top: 1px solid var(--rule); }
.feature h3 { margin: 0 0 8px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: .9rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.step { padding-top: 14px; border-top: 1px solid var(--rule); }
.step b { display: block; margin-bottom: 14px; font-size: .78rem; letter-spacing: .12em; }
.step h3 { margin: 0 0 8px; font-size: 1rem; }
.step p { margin: 0; font-size: .87rem; }
.screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.screenshot { margin: 0; }
.screenshot-zoom { display: block; width: min(100%, 240px); margin: 0 auto; cursor: zoom-in; }
.screenshot-zoom img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); transition: transform .18s ease; }
.screenshot-zoom:hover img { transform: scale(1.015); }
.screenshot-hint { margin: -12px 0 24px; color: var(--muted); font-size: .78rem; }
.screenshot figcaption { margin-top: 12px; text-align: center; font-size: .82rem; }
.price-line { padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 1.1rem; font-weight: 800; }
.detail-note { max-width: 760px; margin-top: 18px; padding: 17px 20px; background: var(--paper); font-size: .88rem; }
.back-link { display: inline-block; margin-top: 42px; font-size: .86rem; font-weight: 800; }

.legal-main { width: min(calc(100% - 64px), 760px); margin-inline: auto; padding: 68px 0 88px; }
.legal-main h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.15; letter-spacing: -.07em; }
.legal-main h2 { margin: 38px 0 10px; font-size: 1.2rem; }
.legal-main p { margin: 0 0 16px; }
.legal-main a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-footer { padding-top: 16px; }

@media (max-width: 900px) {
  .site-header, main, .site-footer { width: min(calc(100% - 40px), var(--content)); }
  .legal-main { width: min(calc(100% - 40px), 760px); }
  .home-hero { min-height: 570px; }
  .home-dashboard { padding-block: 8px; }
  .home-dashboard .product-grid { gap: clamp(42px, 6vw, 64px); }
  .home-dashboard .product-card { flex-basis: min(78vw, 760px); grid-template-columns: minmax(250px, .9fr) minmax(0, 1fr); }
  .hero-note { top: 10%; right: 4%; }
  .hero-stamp { right: 2%; bottom: 8%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; }
  .product-card { max-width: none; }
  .desk-note { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .desk-note-index { flex-basis: 100%; }
  .about-section { gap: 36px; }
  .product-hero { gap: 30px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .site-header, main, .site-footer { width: min(calc(100% - 32px), var(--content)); }
  .legal-main { width: min(calc(100% - 32px), 760px); padding: 48px 0 64px; }
  .site-header { min-height: 70px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding: 14px 0; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .74rem; }
  .home-hero { min-height: 580px; align-items: flex-start; }
  .home-dashboard { min-height: 0; gap: 50px; padding: 50px 0 62px; }
  .home-dashboard .section-heading { margin-bottom: 30px; }
  .home-dashboard .section-heading h2 { font-size: 1.45rem; }
  .home-dashboard .product-grid { grid-template-columns: 1fr; gap: 42px; }
  .desk-sprinkles { display: none; }
  .home-dashboard .product-card { grid-template-columns: 1fr; gap: 12px; flex-basis: 82vw; max-width: 560px; margin-inline: 0; }
  .home-dashboard .product-card--kiri .disk-link,
  .home-dashboard .disk-link { width: min(100%, 310px); margin-inline: auto; }
  .home-dashboard .product-card--kiri .disk-link { transform: none; }
  .home-dashboard .product-meta { font-size: .66rem; }
  .home-dashboard .product-copy h3,
  .home-dashboard .product-card--game .product-copy h3 { font-size: 1.55rem; }
  .home-dashboard .product-description { min-height: 0; font-size: .88rem; }
  .home-dashboard .product-copy .text-link { font-size: .83rem; }
  .hero-copy { padding: 86px 0 142px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero-lead { font-size: .9rem; }
  .hero-note { top: auto; right: 4%; bottom: 24px; }
  .paper-note { padding: 14px 17px; font-size: .82rem; }
  .hero-stamp { right: auto; left: 0; bottom: 23px; width: 76px; height: 76px; font-size: .56rem; }
  .products-section { padding: 62px 0 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
  .section-heading h2 { font-size: 2rem; }
  .section-heading > p:last-child { font-size: .84rem; }
  .product-card { grid-template-columns: 1fr; gap: 12px; max-width: 420px; margin-inline: auto; }
  .product-grid { grid-template-columns: 1fr; gap: 54px; }
  .product-grid > .desk-note { grid-column: auto; }
  .product-card { display: flex; max-width: 420px; }
  .disk-tilt { width: min(82%, 310px); margin-inline: auto; }
  .disk-name { font-size: 2rem; }
  .product-copy { padding: 0 8px; }
  .desk-note { gap: 16px; }
  .desk-note-caption { font-size: .82rem; }
  .about-section { grid-template-columns: 1fr; gap: 24px; padding: 62px 0 72px; }
  .about-heading h2 { font-size: 2.15rem; }
  .about-copy { font-size: .88rem; }
  .operator-info div { grid-template-columns: 92px 1fr; gap: 12px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 18px 0; }
  .home-page .site-footer { grid-template-columns: auto 1fr; align-items: center; }
  .home-page .site-footer p { grid-column: 2; grid-row: 1; justify-self: start; }
  .home-page .site-footer small { grid-column: 2; grid-row: 2; justify-self: start; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a:not(.wordmark) { justify-self: end; }
  .site-footer small { justify-self: end; grid-column: 2; grid-row: 3; }
  .product-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 52px; }
  .product-hero h1 { font-size: 4.2rem; }
  .product-hero .lead { font-size: .95rem; }
  .product-visual { width: min(100%, 300px); }
  .detail-section { padding: 56px 0; }
  .feature-grid, .screenshots { grid-template-columns: 1fr; }
  .feature-grid { gap: 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
}

@media (max-width: 760px) and (min-width: 621px) {
  .home-dashboard { align-content: center; gap: 28px; padding-block: 34px; }
  .desk-prop--keyboard { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
