:root {
  --bg: #f4f1eb;
  --ink: #161718;
  --muted: #696a6b;
  --line: rgba(22, 23, 24, 0.14);
  --accent: #6c55e1;
  --card: rgba(255, 255, 255, 0.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.background-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.glow-one { width: 430px; height: 430px; top: -190px; right: -90px; background: radial-gradient(circle, rgba(206,190,255,.55), transparent 68%); }
.glow-two { width: 500px; height: 500px; bottom: -280px; left: -180px; background: radial-gradient(circle, rgba(255,197,139,.46), transparent 68%); }
.page-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; }
.site-header nav { display: flex; gap: 32px; color: var(--muted); font-size: .91rem; font-weight: 600; }
.site-header nav a, footer a { transition: color .2s ease; }
.site-header nav a:hover, footer a:hover { color: var(--accent); }
.hero { min-height: 660px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: clamp(60px, 9vw, 120px); align-items: center; padding: 90px 0; }
.eyebrow, .section-label { margin: 0 0 20px; color: var(--accent); font-size: .77rem; font-weight: 700; letter-spacing: .18em; }
h1 { margin: 0; max-width: 100%; white-space: nowrap; font-size: clamp(4.7rem, 10vw, 8.8rem); line-height: .82; letter-spacing: -.08em; }
.headline { max-width: 690px; margin: 44px 0 18px; white-space: pre-line; font-size: clamp(1.55rem, 3vw, 2.55rem); font-weight: 600; line-height: 1.38; letter-spacing: -.04em; }
.intro { max-width: 610px; margin: 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .98rem; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 100px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); }
.button-secondary { background: rgba(255,255,255,.28); }
.profile-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: var(--card); box-shadow: 0 22px 70px rgba(45,38,30,.1); backdrop-filter: blur(18px); transform: rotate(2deg); }
.profile-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -80px; border-radius: 50%; background: rgba(108,85,225,.13); }
.avatar { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 24px; overflow: hidden; border-radius: 20px; color: rgba(255,255,255,.92); background: linear-gradient(145deg, #1c1d22, #7765e7 125%); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -.08em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { margin: 0 0 3px; font-size: 1.1rem; font-weight: 700; }
.profile-handle { margin: 0; color: var(--muted); font-size: .88rem; }
.status { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .74rem; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: #43ad72; box-shadow: 0 0 0 5px rgba(67,173,114,.12); }
.status p { margin: 0; }
.content-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 120px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 18px; }
.section-number { margin: 3px 0 0; color: var(--muted); font-size: .72rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.17; letter-spacing: -.055em; }
.about-content > p { margin: 0; color: #454647; font-family: "Noto Sans JP", sans-serif; font-size: 1.02rem; line-height: 2.2; }
.skill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 38px; }
.skill-list span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.35); font-size: .78rem; font-weight: 600; }
.product-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { --product-accent: #6c55e1; display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.42); transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--product-accent) 45%, transparent); background: rgba(255,255,255,.76); }
.product-card-visual { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; color: white; background: linear-gradient(145deg, #1c1d22, var(--product-accent)); font-size: 2.6rem; font-weight: 700; letter-spacing: -.08em; }
.product-card-visual::after { content: ""; position: absolute; width: 170px; height: 170px; right: -65px; top: -80px; border-radius: 50%; background: rgba(255,255,255,.12); }
.product-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-card-copy { display: flex; min-height: 180px; padding: 20px; flex-direction: column; }
.product-card-meta { color: var(--product-accent); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-status { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; top: 14px; right: 14px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.46); border-radius: 100px; color: #202221; background: rgba(255,255,255,.86); box-shadow: 0 5px 18px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: "DM Sans", sans-serif; font-size: .61rem; font-weight: 700; line-height: 1; letter-spacing: .045em; }
.product-status::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; }
.product-status.released::before { background: #3c9b64; box-shadow: 0 0 0 3px rgba(60,155,100,.14); }
.product-status.unreleased::before { background: #d3942e; box-shadow: 0 0 0 3px rgba(211,148,46,.14); }
.product-card-copy strong { margin-top: 15px; font-family: "Noto Sans JP", sans-serif; font-size: 1.1rem; line-height: 1.5; }
.product-card-summary { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .75rem; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card-arrow { margin-top: auto; padding-top: 18px; color: var(--product-accent); font-size: .72rem; font-weight: 700; }
.text-link { display: inline-flex; gap: 10px; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 700; }
.links-section { align-items: start; }
.link-grid { display: grid; gap: 12px; }
.link-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 17px; min-height: 86px; padding: 15px 20px 15px 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.38); transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.link-card:hover { transform: translateX(7px); border-color: rgba(108,85,225,.42); background: rgba(255,255,255,.75); }
.link-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: white; font-size: .78rem; font-weight: 700; }
.link-icon.violet { background: #6c55e1; }
.link-icon.blue { background: #2778cf; }
.link-icon.orange { background: #e1794b; }
.link-icon.green { background: #2e9a70; }
.link-icon.red { background: #d94d4d; }
.link-icon.pink { background: linear-gradient(145deg, #d9468d, #8b5cf6); }
.link-icon.cyan { background: #258ca8; }
.link-icon.teal { background: #238c82; }
.link-icon.yellow { color: #282414; background: #e5b93f; }
.link-icon.gray { background: #697078; }
.link-icon.black { background: #202124; }
.link-copy { display: grid; gap: 4px; }
.link-copy strong { font-size: .96rem; }
.link-copy > span { color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .74rem; }
.link-arrow { color: var(--muted); font-size: 1.15rem; }
footer { display: flex; align-items: center; justify-content: space-between; padding: 38px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.error-page { display: grid; min-height: calc(100vh - 208px); align-items: center; padding: 80px 0 110px; }
.error-copy { max-width: 760px; }
.error-code { margin: 0 0 38px; color: var(--ink); font-size: clamp(8rem, 24vw, 17rem); font-weight: 700; line-height: .72; letter-spacing: -.1em; }
.error-page h1 { max-width: none; white-space: normal; font-family: "Noto Sans JP", sans-serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.3; letter-spacing: -.055em; }
.error-page h1 + p { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .98rem; line-height: 2; }
.error-page .button { margin-top: 34px; }

@media (max-width: 800px) {
  .page-shell { width: min(100% - 36px, 640px); }
  .site-header { height: 82px; }
  .site-header nav { gap: 18px; font-size: .8rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 58px; padding: 72px 0 90px; }
  h1 { font-size: min(17vw, 7rem); }
  .headline { margin-top: 36px; }
  .profile-card { width: min(100%, 390px); justify-self: center; transform: rotate(1deg); }
  .content-section { grid-template-columns: 1fr; gap: 55px; padding: 90px 0; }
  .product-preview-grid .product-card:nth-child(n + 3) { display: none; }
  .error-page { min-height: calc(100vh - 164px); padding: 65px 0 90px; }
}

@media (max-width: 480px) {
  .site-header nav a:first-child { display: none; }
  .hero { padding-top: 60px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .profile-card { padding: 20px; border-radius: 22px; }
  .product-preview-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 32px 1fr; gap: 10px; }
  .link-card { grid-template-columns: 48px 1fr auto; gap: 13px; padding: 13px; }
  .link-icon { width: 48px; height: 48px; }
  .link-copy > span { line-height: 1.5; }
  footer { align-items: flex-start; gap: 15px; flex-direction: column; }
}

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