:root {
  --orange: #ff6b35;
  --orange-soft: #ff9a6c;
  --orange-pale: #ffd9c4;
  --peach: #fff0e6;
  --cream: #fff9f4;
  --ink: #3d2a20;
  --muted: #7a6256;
  --line: #f6e0d2;
  --link: #b8430f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.9;
}

img { display: block; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo img { height: 30px; width: auto; }

nav { display: flex; align-items: center; gap: 20px; }

.nav-link { font-size: 14px; text-decoration: none; color: inherit; }
.nav-link:hover { color: var(--link); }

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.nav-cta:hover { background: var(--orange-pale); }

/* Hero */
.hero { padding: 8px 0 0; }

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 72px 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 60%, #ffc09d 100%);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.hero-panel::before { width: 320px; height: 320px; right: -90px; top: -110px; }
.hero-panel::after { width: 180px; height: 180px; right: 90px; bottom: -90px; background: rgba(255, 255, 255, 0.14); }

.eyebrow {
  position: relative;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  position: relative;
  margin-top: 14px;
  color: var(--ink);
  font-size: min(8.4vw, 44px);
  line-height: 1.5;
}

@media (min-width: 700px) {
  h1 { font-size: min(5vw, 52px); white-space: nowrap; }
  .sp-only { display: none; }
}

@media (min-width: 900px) {
  .hero-panel { padding: 112px 64px; }
}

/* Sections */
.section { padding: 72px 0; }

.label {
  color: var(--link);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h2 { margin-top: 4px; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.5; }

/* About */
.about { display: grid; gap: 32px; }

.about-text { margin-top: 16px; font-size: 16px; }

.profile {
  margin: 0;
  padding: 8px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.09);
}
.profile > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.profile > div:last-child { border-bottom: 0; }
.profile dt { color: var(--muted); font-size: 14px; }
.profile dd { margin: 0; min-width: 0; }
.profile a { color: var(--link); text-decoration: none; }
.profile a:hover { text-decoration: underline; }

@media (min-width: 860px) {
  .section { padding: 104px 0; }
  .about { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
}

/* Contact */
.contact { background: var(--peach); }

.contact-inner { max-width: 680px; }
.contact-head { text-align: center; }
.contact-head p:last-child { margin-top: 12px; color: var(--muted); }

.form {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e8cdbd;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}
.form input:focus, .form textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px var(--orange-pale); }
.form ::placeholder { color: #8d7568; }
.form textarea { resize: vertical; }

.button {
  justify-self: center;
  min-width: 200px;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: var(--orange-soft); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 768px) {
  .form { padding: 40px; }
}

/* Footer */
.site-footer { padding: 24px 0; color: var(--muted); font-size: 13px; text-align: center; }

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

/* ABOUT heading */
.nav-about { font-weight: 700; letter-spacing: 0.1em; }

.about-title {
  margin-top: 10px;
  font-size: clamp(36px, 4.6vw, 48px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.about-title em {
  color: #d9480f;
  font-style: normal;
  background: linear-gradient(transparent 72%, var(--orange-pale) 72%);
}
.about-text { margin-top: 20px; }

/* Small phones */
.nav-cta, .nav-link { white-space: nowrap; }

@media (max-width: 374px) {
  .logo img { height: 26px; }
  nav { gap: 10px; }
  .nav-link, .nav-cta { font-size: 13px; }
  .nav-cta { padding: 7px 12px; }
  .profile { padding: 8px 18px; }
  .profile > div { grid-template-columns: 78px 1fr; gap: 10px; }
}

/* Short hero copy: larger type */
.hero-panel h1 { font-size: min(10.8vw, 60px); line-height: 1.35; letter-spacing: 0.02em; }

@media (min-width: 700px) {
  .hero-panel h1 { font-size: min(8vw, 76px); }
}

/* Footer links and form note */
.site-header nav { flex: none; }
.footer-links { justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--link); }
.form-note { color: var(--muted); font-size: 13px; text-align: center; }
.form-note a { color: var(--link); }

/* Sub pages */
.page-hero .hero-panel { padding: 48px 28px; }
.page-hero .hero-panel h1 { margin-top: 8px; font-size: min(7.2vw, 36px); line-height: 1.4; white-space: normal; }

@media (min-width: 900px) {
  .page-hero .hero-panel { padding: 64px; }
}

/* Apps page */
.app-list { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }

.app-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.09);
}

.app-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--peach);
  font-size: 32px;
}

.app-body { min-width: 0; }
.app-body h2 { margin: 10px 0 4px; font-size: 20px; }
.app-body p { color: var(--muted); font-size: 15px; }
.app-body .release-date { margin-top: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }

.badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-upcoming { background: var(--peach); color: var(--link); }
.badge-released { background: #e9f7ee; color: #1c6b3f; }

.store-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.store-link {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.store-link:hover { background: var(--orange-pale); }

/* Privacy page */
.prose { max-width: 760px; margin: 0 auto; font-size: 15px; }
.prose h2 { margin: 40px 0 8px; font-size: 20px; line-height: 1.5; }
.prose p + p { margin-top: 8px; }
.prose ul { margin: 8px 0 0; padding-left: 1.4em; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--link); }
.prose-date { margin-top: 40px; color: var(--muted); font-size: 14px; }

@media (max-width: 480px) {
  .app-card { gap: 14px; padding: 20px; }
  .app-icon { width: 52px; height: 52px; font-size: 26px; }
}

/* App pages */
.section-tight { padding-top: 40px; }

.app-card-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(61, 42, 32, 0.15);
}
.app-card { position: relative; }
.app-card:hover { box-shadow: 0 12px 34px rgba(255, 107, 53, 0.18); }
.app-body h2 a { color: inherit; text-decoration: none; }
.app-body h2 a::after { content: " →"; color: var(--link); }
.app-body h2 a::before { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.app-body .app-platform { margin-top: 4px; font-size: 13px; }

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.app-tabs a {
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.app-tabs a:hover { background: var(--orange-pale); }
.app-tabs a[aria-current="page"] { background: var(--orange); color: var(--ink); }

.app-detail { max-width: 760px; margin: 0 auto; }
.app-head { display: flex; align-items: center; gap: 20px; }
.app-head-icon {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(61, 42, 32, 0.18);
}
.app-platform { margin-top: 6px; color: var(--muted); font-size: 14px; }
.app-head .button { display: inline-block; margin-top: 10px; min-width: 0; padding: 8px 20px; font-size: 14px; text-decoration: none; }
.app-lead { margin-top: 24px; font-size: 17px; }
.app-detail h2 { margin: 36px 0 8px; font-size: 22px; }
.app-detail ul { margin: 0; padding-left: 1.4em; }
.app-detail li + li { margin-top: 6px; }
.app-note { margin-top: 32px; padding: 14px 18px; border-radius: 14px; background: var(--peach); font-size: 14px; }

.hand-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hand-table th, .hand-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.hand-table th { color: var(--muted); font-size: 13px; }

@media (max-width: 480px) {
  .app-card-icon { width: 56px; height: 56px; border-radius: 14px; }
  .app-head-icon { width: 80px; height: 80px; border-radius: 18px; }
  .hand-table { font-size: 14px; }
  .hand-table th, .hand-table td { padding: 8px 4px; }
}
