:root {
  --yatta-yellow: #ffd84d;
  --yatta-yellow-deep: #e2b900;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--yatta-yellow);
  border: 1px solid var(--yatta-yellow-deep);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--text);
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 216, 77, 0.34), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fffdf5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -180px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.14);
  pointer-events: none;
}

.hero-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 92px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yatta-yellow);
  border: 1px solid var(--yatta-yellow-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero .lead {
  max-width: 690px;
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 2.3vw, 22px);
  font-weight: 600;
}

.tagline {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--surface);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.section {
  padding: 82px 0;
}

.section.soft {
  background: var(--surface-soft);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 0;
  max-width: 740px;
  color: var(--muted);
  font-size: 17px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 24px;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yatta-yellow);
  font-size: 19px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 38px;
}

.shot {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.1);
}

.links-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.link-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  background: #fff;
}

.link-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.link-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.link-card span {
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 72px 0 52px;
  background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.content {
  width: min(calc(100% - 36px), 880px);
  margin: 0 auto;
  padding: 56px 0 88px;
}

.content h2 {
  margin: 46px 0 14px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.content p,
.content li {
  color: var(--text);
}

.content ul {
  padding-left: 1.4em;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #f0cf45;
  background: #fff9dc;
}

.contact-box {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.contact-box a {
  font-weight: 900;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 68px 0 64px;
    gap: 44px;
  }

  .hero-logo {
    width: min(76vw, 320px);
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    width: min(100%, 420px);
  }

  .links-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 62px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section {
    padding: 64px 0;
  }
}
