:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --dark: #17191d;
  --deep: #101216;
  --ink: #242630;
  --cream: #fbf7ee;
  --ivory: #fffaf2;
  --mint: #d8f0e2;
  --lavender: #eee8fa;
  --purple: #c9bbff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--dark); color: var(--ivory); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; border-radius: 3px; }
.page-width { width: min(100% - 48px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -60px; left: 20px; padding: 12px 18px; background: var(--ivory); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 2px; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; width: 76px; height: 76px; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: clamp(30px, 5vw, 76px); }
.header-nav a { padding: 12px 0; font-size: 16px; font-weight: 600; text-decoration: none; }
.header-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; min-height: 830px; overflow: hidden; isolation: isolate; background: var(--dark); }
.hero-scene { position: absolute; z-index: -2; top: 112px; right: -74px; width: min(79vw, 1130px); }
.hero-scene img { width: 100%; height: auto; max-width: none; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 96px 0 0; background: linear-gradient(90deg, #17191d 0%, #17191d 27%, rgb(23 25 29 / 90%) 42%, rgb(23 25 29 / 0%) 78%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 200px; background: linear-gradient(0deg, #17191d, transparent); }
.hero-content { position: relative; padding-top: 268px; }
.hero h1 { max-width: 860px; font-size: clamp(52px, 5.5vw, 80px); font-weight: 800; line-height: 1.24; letter-spacing: -.045em; }
.hero-content > p:not(.release-status) { margin-top: 65px; color: #eceae8; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.78; letter-spacing: .015em; }
.release-status { display: inline-flex; align-items: center; gap: 14px; min-height: 72px; margin-top: 40px; padding: 12px 30px; border: 1.5px solid rgb(201 187 255 / 80%); border-radius: 999px; background: rgb(201 187 255 / 12%); color: var(--ivory); font-size: 21px; font-weight: 700; white-space: nowrap; }
.status-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--purple); }

.news { padding: 32px 0 64px; background: var(--dark); }
.news-inner { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 32px; }
.news h2 { padding-top: 24px; font-size: 28px; line-height: 1.4; letter-spacing: .02em; }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li + li { margin-top: 16px; }
.news-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; padding: 24px; border: 1px solid rgb(201 187 255 / 32%); border-radius: 16px; background: rgb(201 187 255 / 6%); text-decoration: none; }
.news-meta { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: 12px; color: #d0ced8; font-size: 13px; line-height: 1.6; }
.news-category { padding: 3px 12px; border-radius: 999px; background: rgb(201 187 255 / 14%); color: var(--purple); }
.news-title { font-size: 17px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.news-read-more { color: var(--purple); font-size: 13px; line-height: 1.8; white-space: nowrap; }
.news-link:hover .news-title, .news-link:focus-visible .news-title { text-decoration: underline; text-underline-offset: 5px; }

.discover { overflow: hidden; padding: 76px 0 42px; background: var(--cream); color: var(--ink); }
.discover-top { position: relative; min-height: 510px; }
.discover-copy { position: relative; z-index: 2; padding-top: 75px; }
h2 { font-size: clamp(38px, 4.3vw, 64px); font-weight: 800; line-height: 1.3; letter-spacing: -.045em; }
.discover-copy p, .connection-copy p, .conversation-copy p, .privacy-copy p { margin-top: 65px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.82; letter-spacing: .01em; }
.discover-copy p { color: #565961; }
.town-art { position: absolute; z-index: 1; top: -45px; right: -38px; width: min(67%, 880px); height: auto; }
.discover-media { position: relative; height: 347px; border-radius: 28px; background: #e6f3e9; }
.cafe-photo { position: absolute; top: 48px; left: 7.5%; width: 51%; height: 245px; border: 5px solid white; border-radius: 28px; object-fit: cover; object-position: center 72%; box-shadow: 0 18px 28px rgb(30 22 32 / 17%); }
.map-screen { position: absolute; right: 9.5%; bottom: 26px; width: 222px; overflow: hidden; border: 4px solid #111318; border-radius: 24px; box-shadow: 0 18px 28px rgb(30 22 32 / 28%); }
.map-screen img { width: 100%; height: auto; }
.map-credit { margin-top: 24px; color: #777d83; font-size: 12px; text-align: right; }

.connection { overflow: hidden; background: var(--deep); }
.connection-inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; align-items: center; min-height: 940px; padding-top: 68px; padding-bottom: 77px; }
.connection-art { width: min(100%, 625px); }
.connection-art img { width: 100%; height: auto; }
.connection-art { grid-column: 1; grid-row: 1; }
.connection-copy { grid-column: 2; grid-row: 1; padding-left: 5%; }
.connection-copy p { color: #d9d9e1; }
.connection-steps { position: relative; display: flex; grid-column: 1 / -1; justify-content: space-between; margin: 22px 30px 0; padding: 0; list-style: none; }
.connection-steps::before { content: ""; position: absolute; top: 31px; right: 0; left: 0; height: 2px; background: #8e8a9f; }
.connection-steps li { position: relative; display: grid; justify-items: center; gap: 22px; min-width: 140px; font-size: 26px; font-weight: 700; }
.step-number { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 19px; }
.connection-steps li:nth-child(2) .step-number { background: var(--purple); }

.conversation { overflow: hidden; background: var(--lavender); color: var(--ink); }
.conversation-inner { display: grid; grid-template-columns: 56% 44%; align-items: center; min-height: 780px; }
.conversation-copy p { color: #56515f; }
.message-art { position: relative; display: grid; align-content: center; gap: 36px; min-height: 600px; padding: 30px 0; }
.message-art::before { content: ""; position: absolute; z-index: 0; top: 3%; right: -140px; width: 650px; height: 650px; border-radius: 50%; background: #dcd1f6; }
.message-art p { position: relative; z-index: 1; width: fit-content; max-width: 100%; padding: 28px 30px; border-radius: 26px; background: var(--ivory); box-shadow: 0 15px 22px rgb(38 27 58 / 16%); font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; line-height: 1.7; white-space: nowrap; }
.message-art p:nth-child(2) { justify-self: end; background: #b8a6f3; }

.privacy { overflow: hidden; background: var(--deep); }
.privacy-inner { display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 600px; }
.privacy-inner > img { width: min(100%, 575px); height: auto; }
.privacy-copy { padding-left: 3%; }
.privacy-copy p { color: #dcdee4; }

.app-introduction { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); color: var(--ink); }
.app-introduction-inner { max-width: 960px; }
.app-introduction h2 { margin-top: 20px; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.6; letter-spacing: -.02em; overflow-wrap: anywhere; }
.app-introduction p { margin-top: 24px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.95; overflow-wrap: anywhere; }
.app-introduction .app-introduction-name { margin-top: 0; color: #65558c; font-weight: 700; }
.app-introduction .app-introduction-support { color: #56515f; font-size: 14px; }
.app-introduction a { text-underline-offset: 4px; }

.closing { display: grid; align-items: center; min-height: 310px; background: var(--mint); color: var(--ink); text-align: center; }
.closing h2 { font-size: clamp(38px, 4.2vw, 60px); }
.release-status-light { min-height: 76px; margin-top: 45px; border-color: #786bb2; background: rgb(255 255 255 / 74%); color: var(--ink); }
.release-status-light .status-dot { background: #806fc4; }

.site-footer { min-height: 200px; background: #111318; }
.footer-inner { display: flex; justify-content: space-between; padding-top: 28px; padding-bottom: 30px; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .brand { font-size: 30px; }
.footer-brand .brand img { width: 68px; height: 68px; }
.age-note { padding-left: 67px; color: #b4b6c0; font-size: 16px; }
.footer-links { padding-top: 32px; }
.footer-links nav { display: flex; gap: 54px; }
.footer-links a { color: #e3e1e9; font-size: 17px; text-decoration: none; }
.footer-links small { display: block; margin-top: 42px; color: #9699a5; font-size: 15px; }

@media (max-width: 1050px) {
  .hero-scene { right: -230px; width: 1040px; }
  .hero::before { background: linear-gradient(90deg, #17191d 0%, rgb(23 25 29 / 93%) 42%, rgb(23 25 29 / 0%) 87%); }
  .discover-copy { width: 50%; }
  .town-art { right: -100px; width: 68%; }
  .connection-copy { padding-left: 0; }
  .connection-copy h2 { font-size: 45px; }
  .connection-copy p, .conversation-copy p, .privacy-copy p { font-size: 18px; }
  .privacy-copy h2 { font-size: 45px; }
}

@media (max-width: 760px) {
  .page-width { width: calc(100% - 48px); }
  .site-header .header-inner { min-height: 82px; }
  .header-nav { display: none; }
  .brand { font-size: 26px; }
  .brand img { width: 72px; height: 72px; }
  .hero { min-height: 850px; }
  .hero-scene { top: 488px; right: auto; left: 50%; width: 850px; transform: translateX(-62%); }
  .hero::before { display: none; }
  .hero::after { height: 100px; }
  .hero-content { padding-top: 148px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 37px); line-height: 1.45; letter-spacing: -.04em; }
  .hero-content > p:not(.release-status) { margin-top: 55px; font-size: 15px; line-height: 1.95; }
  .release-status { justify-content: flex-start; width: 100%; min-height: 65px; margin-top: 61px; padding: 10px 22px; font-size: 17px; gap: 12px; }
  .status-dot { width: 10px; height: 10px; }

  .news { padding: 24px 0 48px; }
  .news-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .news h2 { padding-top: 0; font-size: 24px; }
  .news-link { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .news-title { font-size: 15px; }

  .discover { padding: 88px 0 31px; }
  .discover-top { min-height: 620px; }
  .discover-copy { width: 100%; padding-top: 0; }
  h2 { font-size: clamp(30px, 9vw, 37px); line-height: 1.45; }
  .discover-copy p, .connection-copy p, .conversation-copy p, .privacy-copy p { margin-top: 46px; font-size: 15px; line-height: 1.95; }
  .town-art { top: 260px; right: -58px; width: 508px; max-width: none; }
  .discover-media { width: calc(100% - 32px); height: 365px; }
  .cafe-photo { top: 45px; left: 12px; width: 184px; height: 235px; border-width: 4px; border-radius: 24px; object-position: center 72%; }
  .map-screen { top: 0; right: 12px; bottom: auto; width: 133px; border-width: 3px; border-radius: 17px; }
  .map-credit { margin-top: 34px; font-size: 9px; text-align: left; }

  .connection-inner { display: block; min-height: 1010px; padding-top: 100px; padding-bottom: 100px; }
  .connection-copy { padding: 0; }
  .connection-copy h2 { font-size: clamp(29px, 8.4vw, 34px); }
  .connection-copy p { margin-top: 43px; font-size: 14px; }
  .connection-art { width: 424px; max-width: none; margin: 10px 0 0 calc((100% - 424px) / 2); }
  .connection-art img { width: 424px; max-width: none; }
  .connection-steps { margin: 58px 0 0; }
  .connection-steps::before { top: 21px; }
  .connection-steps li { gap: 19px; min-width: 0; font-size: 14px; }
  .step-number { width: 44px; height: 44px; font-size: 12px; }

  .conversation-inner { display: block; min-height: 880px; padding-top: 100px; }
  .conversation-copy h2 { font-size: clamp(28px, 8vw, 32px); }
  .conversation-copy p { margin-top: 44px; font-size: 14px; }
  .message-art { gap: 36px; min-height: 500px; margin-top: 50px; padding: 10px 0 60px; }
  .message-art::before { top: 20px; right: -190px; width: 480px; height: 480px; }
  .message-art p { padding: 22px 17px; border-radius: 21px; font-size: clamp(14px, 4.2vw, 17px); }

  .privacy-inner { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 720px; padding-top: 102px; }
  .privacy-copy { padding: 0; }
  .privacy-copy h2 { max-width: 260px; font-size: 36px; }
  .privacy-copy p { margin-top: 42px; font-size: 14px; }
  .privacy-inner > img { width: 365px; max-width: none; align-self: center; margin-top: 25px; }

  .closing { min-height: 320px; text-align: left; }
  .closing h2 { max-width: 300px; font-size: 35px; line-height: 1.42; }
  .release-status-light { min-height: 66px; margin-top: 32px; }

  .site-footer { min-height: 270px; }
  .footer-inner { display: block; padding-top: 14px; }
  .footer-brand .brand { font-size: 25px; }
  .footer-brand .brand img { width: 78px; height: 78px; }
  .age-note { padding-left: 0; font-size: 13px; }
  .footer-links { padding-top: 35px; }
  .footer-links nav { flex-wrap: wrap; gap: 10px 22px; }
  .footer-links a { font-size: 13px; }
  .footer-links small { margin-top: 56px; font-size: 12px; }
}

@media (max-width: 359px) {
  .page-width { width: calc(100% - 40px); }
  .hero h1 { font-size: 30px; }
  .hero-content > p:not(.release-status) { font-size: 13px; }
  .release-status { font-size: 15px; }
  .cafe-photo { width: 47%; }
  .map-screen { width: 36%; }
  .message-art p { font-size: 13px; }
}

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

.store-downloads { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.app-store-badge { display: inline-flex; flex-shrink: 0; padding: 6px; }
.app-store-badge img { display: block; width: 163px; height: 60px; }
.google-play-badge { display: inline-flex; flex-shrink: 0; padding: 6px 15px; }
.google-play-badge img { display: block; width: 207px; height: auto; }
.app-store-badge:focus-visible, .google-play-badge:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 8px; }
.closing .store-downloads { justify-content: center; margin-top: 32px; }
@media (max-width: 700px) {
  .store-downloads { gap: 10px; margin-top: 32px; }
  .closing .store-downloads { justify-content: flex-start; }
}
