:root {
  color-scheme: light;
  --ink: #12110f;
  --milk: #fff9ef;
  --paper: #ffffff;
  --muted: #6d675f;
  --line: rgba(18, 17, 15, 0.14);
  --salmon: #ff5a3d;
  --toro: #ff9a73;
  --blue: #086bff;
  --wasabi: #c7ff2e;
  --shadow: 0 22px 58px rgba(18, 17, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(18, 17, 15, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(8, 107, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 16%, rgba(199, 255, 46, 0.35), transparent 24%),
    radial-gradient(circle at 72% 94%, rgba(255, 90, 61, 0.2), transparent 32%),
    var(--milk);
  background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-header,
.site-footer,
.info-header {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header,
.info-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand,
.info-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
}

.brand img,
.info-brand img,
.footer-brand img {
  border-radius: 12px;
}

.nav,
.info-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.nav a,
.info-nav a,
.footer-nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--wasabi);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.button.secondary {
  background: var(--paper);
}

.button.disabled {
  cursor: default;
}

.hero,
.section,
.info-main {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 38px;
  align-items: center;
  padding: 36px 0 48px;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--wasabi);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 720;
}

.hero-copy > p {
  max-width: 700px;
  font-size: 21px;
  line-height: 1.38;
  font-weight: 820;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  min-height: 500px;
}

.stock-hero {
  min-height: 540px;
}

.canvas-card,
.message-card,
.widget-card,
.export-card,
.story-card {
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink), var(--shadow);
}

.canvas-card {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  background-image: url("/assets/background-square.jpg");
  background-position: center;
  background-size: cover;
}

.canvas-main {
  left: 8px;
  top: 22px;
  z-index: 2;
  width: min(380px, 74vw);
  aspect-ratio: 1;
  transform: rotate(-4deg);
}

.mini-label,
.message-card span,
.widget-card span,
.export-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--wasabi);
  color: var(--ink);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-label {
  position: absolute;
  left: 22px;
  top: 22px;
}

.stock-piece {
  position: absolute;
  display: block;
  filter: drop-shadow(0 12px 12px rgba(18, 17, 15, 0.22));
}

.hero-sashimi {
  left: 86px;
  top: 104px;
  width: 190px;
  transform: rotate(-8deg);
}

.hero-burst {
  right: 24px;
  top: 46px;
  width: 122px;
  transform: rotate(15deg);
}

.hero-tape {
  left: 22px;
  bottom: 76px;
  width: 180px;
  transform: rotate(-18deg);
}

.hero-photo {
  right: 38px;
  bottom: 24px;
  width: 128px;
  transform: rotate(8deg);
}

.hero-arrows {
  left: 42px;
  top: 70px;
  width: 120px;
  transform: rotate(12deg);
}

.message-card,
.widget-card {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border-radius: 20px;
}

.message-card {
  right: 2px;
  top: 76px;
  width: min(240px, 46vw);
  min-height: 210px;
  padding: 18px;
  background: var(--milk);
  transform: rotate(5deg);
}

.message-bubble {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px 20px 4px;
  background: #1677ff;
  color: white;
}

.message-bubble img {
  width: 118px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.2));
}

.message-bubble strong {
  color: white;
  font-size: 18px;
  font-weight: 1000;
}

.widget-card {
  right: 78px;
  bottom: 8px;
  width: min(260px, 52vw);
  aspect-ratio: 1.48;
  padding: 16px;
  background-image: url("/assets/background-widget.jpg");
  background-position: center;
  background-size: cover;
  transform: rotate(-2deg);
}

.widget-card img {
  position: absolute;
  display: block;
  filter: drop-shadow(0 10px 10px rgba(18, 17, 15, 0.24));
}

.widget-card img:first-of-type {
  left: 20px;
  bottom: 18px;
  width: 108px;
  transform: rotate(-8deg);
}

.widget-card img:last-of-type {
  right: 18px;
  bottom: 22px;
  width: 88px;
  transform: rotate(10deg);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

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

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

.card {
  min-height: 220px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(18, 17, 15, 0.08);
}

.feature-card {
  display: grid;
  grid-template-rows: 30px minmax(58px, auto) auto;
  align-content: start;
  row-gap: 12px;
}

.card h3,
.card p {
  margin: 0;
}

.card.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--milk);
}

.card.dark p,
.card.dark li {
  color: rgba(255, 249, 239, 0.78);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.export-preview {
  display: grid;
  grid-template-columns: 0.72fr 0.92fr 1.2fr;
  gap: 18px;
  align-items: end;
  justify-self: end;
  width: min(520px, 100%);
}

.export-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 260px;
  padding: 16px;
  background-position: center;
  background-size: cover;
}

.story-format-card {
  background-image: url("/assets/background-story.jpg");
}

.wallpaper-card {
  min-height: 340px;
  background-image: url("/assets/background-dark-square.jpg");
}

.widget-format-card {
  min-height: 190px;
  background-image: url("/assets/background-widget.jpg");
}

.export-card img {
  position: absolute;
  display: block;
  filter: drop-shadow(0 10px 10px rgba(18, 17, 15, 0.24));
}

.story-format-card img:first-of-type {
  left: 22px;
  bottom: 32px;
  width: 94px;
  transform: rotate(-10deg);
}

.story-format-card img:last-of-type {
  right: 8px;
  top: 82px;
  width: 108px;
  transform: rotate(16deg);
}

.wallpaper-card img:first-of-type {
  left: 30px;
  top: 110px;
  width: 150px;
  transform: rotate(-5deg);
}

.wallpaper-card img:last-of-type {
  right: 20px;
  bottom: 34px;
  width: 112px;
  transform: rotate(12deg);
}

.widget-format-card img:first-of-type {
  left: 22px;
  bottom: 22px;
  width: 94px;
  transform: rotate(-8deg);
}

.widget-format-card img:last-of-type {
  right: 24px;
  bottom: 26px;
  width: 82px;
  transform: rotate(12deg);
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq-list h3,
.faq-list p {
  max-width: 820px;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 28px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-snap-type: x mandatory;
}

.story-gallery figure {
  min-width: 190px;
  margin: 0;
  scroll-snap-align: start;
}

.story-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.story-gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
}

.scene-art {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--milk);
}

.scene-img {
  position: absolute;
  display: block;
  filter: drop-shadow(0 10px 10px rgba(18, 17, 15, 0.24));
}

.sticker-scene .scene-art {
  background-image: url("/assets/background-square.jpg");
  background-position: center;
  background-size: cover;
}

.sticker-scene .sashimi {
  left: 30px;
  top: 82px;
  width: 132px;
  transform: rotate(-10deg);
}

.sticker-scene .label {
  right: 16px;
  bottom: 24px;
  width: 118px;
  transform: rotate(8deg);
}

.message-scene .scene-art {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
  background: #f4f8ff;
}

.chat-line {
  width: fit-content;
  max-width: 150px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.chat-line.incoming {
  background: white;
}

.chat-line.outgoing {
  justify-self: end;
  background: #1677ff;
  border-color: #1677ff;
}

.chat-line img {
  width: 104px;
}

.collage-scene .scene-art {
  background-image: url("/assets/background-dark-square.jpg");
  background-position: center;
  background-size: cover;
}

.collage-scene .booth {
  left: 34px;
  top: 42px;
  width: 122px;
  transform: rotate(-8deg);
}

.collage-scene .tape {
  right: 8px;
  bottom: 36px;
  width: 138px;
  transform: rotate(16deg);
}

.collage-scene .pin {
  right: 34px;
  top: 32px;
  width: 72px;
  transform: rotate(8deg);
}

.stock-scene .scene-art {
  background: #fff0f6;
}

.stock-scene .burst {
  left: 14px;
  top: 30px;
  width: 146px;
  transform: rotate(-8deg);
}

.stock-scene .flower {
  right: 24px;
  bottom: 38px;
  width: 102px;
  transform: rotate(12deg);
}

.emoji-piece {
  position: absolute;
  left: 46px;
  bottom: 42px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--wasabi);
  color: var(--ink);
  font-size: 28px;
  font-weight: 1000;
  transform: rotate(10deg);
}

.export-scene .scene-art {
  background-image: url("/assets/background-story.jpg");
  background-position: center;
  background-size: cover;
}

.phone-frame {
  position: absolute;
  left: 48px;
  top: 26px;
  width: 92px;
  height: 190px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  transform: rotate(-4deg);
}

.export-scene .shell {
  right: 18px;
  top: 58px;
  width: 94px;
  transform: rotate(10deg);
}

.export-scene .citrus {
  left: 78px;
  bottom: 18px;
  width: 108px;
  transform: rotate(-10deg);
}

.widget-scene .scene-art {
  background-image: url("/assets/background-widget.jpg");
  background-position: center;
  background-size: cover;
}

.widget-tile {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.widget-tile.wide {
  left: 24px;
  top: 54px;
  width: 148px;
  height: 82px;
}

.widget-tile.square {
  right: 24px;
  bottom: 34px;
  width: 88px;
  height: 88px;
}

.widget-scene .clip {
  left: 54px;
  bottom: 46px;
  width: 92px;
  transform: rotate(-8deg);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-list > div {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-list ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 8px;
}

.quote {
  margin: 0;
  padding: 30px;
  border-left: 10px solid var(--wasabi);
  background: var(--ink);
  color: var(--milk);
  font-size: 26px;
  line-height: 1.28;
  font-weight: 950;
}

.site-footer {
  padding: 42px 0 54px;
  border-top: 3px solid var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  max-width: 520px;
  margin: 14px 0 0;
}

.info-page {
  background: var(--milk);
}

.info-main {
  max-width: 880px;
  padding: 54px 0 80px;
}

.info-hero {
  padding-bottom: 36px;
  border-bottom: 3px solid var(--ink);
}

.info-hero h1 {
  font-size: clamp(42px, 7vw, 82px);
}

.info-section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.info-section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.info-section ul {
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .site-header,
  .info-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .info-nav,
  .footer-nav {
    flex-wrap: wrap;
  }

  .hero,
  .grid,
  .grid.two,
  .feature-grid,
  .feature-list,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 620px;
  }

  .story-gallery {
    grid-template-columns: repeat(6, minmax(210px, 72vw));
  }

  .export-preview {
    justify-self: start;
    grid-template-columns: minmax(110px, 0.7fr) minmax(130px, 0.9fr) minmax(180px, 1.2fr);
    overflow-x: auto;
    padding: 0 0 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 16px;
    padding: 24px 0 34px;
  }

  .site-header {
    gap: 16px;
  }

  .nav .button.disabled {
    display: none;
  }

  h1 {
    font-size: 34px;
    line-height: 0.94;
  }

  h2 {
    font-size: 38px;
    line-height: 0.98;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.38;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .hero-art {
    min-height: 540px;
  }

  .canvas-card,
  .message-card,
  .widget-card,
  .export-card,
  .story-card {
    border-width: 2px;
    box-shadow: 6px 6px 0 var(--ink), var(--shadow);
  }

  .canvas-main {
    left: 0;
    top: 16px;
    width: 245px;
    border-radius: 18px;
  }

  .mini-label,
  .message-card span,
  .widget-card span,
  .export-card span {
    min-height: 24px;
    padding: 0 9px;
    font-size: 10px;
  }

  .hero-sashimi {
    left: 58px;
    top: 92px;
    width: 118px;
  }

  .hero-burst {
    right: 18px;
    top: 48px;
    width: 84px;
  }

  .hero-tape {
    left: 16px;
    bottom: 54px;
    width: 126px;
  }

  .hero-photo {
    right: 30px;
    bottom: 18px;
    width: 78px;
  }

  .hero-arrows {
    left: 28px;
    top: 58px;
    width: 82px;
  }

  .message-card {
    left: 170px;
    right: auto;
    top: 210px;
    width: 150px;
    min-height: 160px;
    padding: 12px;
    transform: rotate(3deg);
  }

  .message-bubble {
    margin-top: 16px;
    padding: 12px;
    border-radius: 16px 16px 4px;
  }

  .message-bubble img {
    width: 82px;
  }

  .message-bubble strong {
    font-size: 14px;
  }

  .widget-card {
    left: 48px;
    right: auto;
    bottom: 0;
    width: min(260px, calc(100vw - 86px));
    padding: 12px;
    transform: rotate(-2deg);
  }

  .widget-card img:first-of-type {
    width: 78px;
  }

  .widget-card img:last-of-type {
    width: 66px;
  }

  .export-card {
    min-width: 118px;
    min-height: 220px;
    border-radius: 18px;
  }

  .wallpaper-card {
    min-height: 280px;
  }

  .widget-format-card {
    min-width: 180px;
    min-height: 160px;
  }

  .scene-art {
    min-height: 220px;
  }

  .feature-card {
    grid-template-rows: 30px auto auto;
  }

  .card {
    min-height: auto;
  }

  .section {
    padding: 36px 0 48px;
  }
}
