:root {
  color-scheme: light;
  --ink: #241713;
  --muted: #6c5a51;
  --paper: #fffaf1;
  --cream: #fff4df;
  --line: #eadbc9;
  --sun: #ffc928;
  --sun-deep: #f2b807;
  --pink: #f2559b;
  --pink-deep: #db3f86;
  --green: #67b34b;
  --blue: #55a8df;
  --orange: #ff684f;
  --shadow: 0 26px 70px rgba(71, 43, 24, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(242, 85, 155, 0.38);
  outline-offset: 4px;
}

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

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(36, 23, 19, 0.08);
  box-shadow: 0 8px 24px rgba(43, 27, 14, 0.06);
  backdrop-filter: blur(12px);
}

.site-nav {
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(64, 36, 18, 0.13);
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 800;
}

.app-store-badge {
  justify-self: end;
  display: inline-flex;
  width: 132px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.app-store-badge img {
  width: 132px;
  height: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 244, 223, 0.9) 0 18%, transparent 38%),
    #fff;
}

.hero-composite {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 24px;
  padding: 44px 0 116px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding: 16px 0 48px;
  transform: translateY(42px);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(76px, 8.3vw, 116px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-catch {
  margin: 0 0 18px;
  font-size: clamp(29px, 2.65vw, 38px);
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0;
  color: #4f3f38;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 650;
}

.tap-callout {
  width: min(260px, 100%);
  margin: 28px 0 0;
  padding: 17px 22px;
  display: grid;
  justify-items: center;
  gap: 3px;
  border: 1px solid rgba(234, 219, 201, 0.9);
  border-radius: 10px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: 0 16px 36px rgba(74, 43, 24, 0.08);
}

.tap-callout span {
  color: #4f3f38;
  font-size: 15px;
  font-weight: 800;
}

.tap-callout strong {
  color: var(--pink);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}

.hero-actions {
  margin-top: 22px;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.download-cta {
  display: inline-flex;
  width: 186px;
  height: 62px;
  align-items: center;
  justify-content: center;
}

.download-cta img {
  width: 186px;
  height: auto;
}

.hero-actions p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

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

.section {
  position: relative;
  padding: 68px 0 78px;
}

.section-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 34px rgba(80, 49, 24, 0.12));
}

.section-heading {
  position: relative;
  margin: 0 0 18px;
  text-align: center;
}

.section-title-line {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 17px;
}

.section-title-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 999px;
  background: var(--sun);
}

.section-title-line-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  font-size: clamp(32px, 3.2vw, 43px);
  line-height: 1.25;
  font-weight: 930;
  letter-spacing: 0;
}

.section-heading-row {
  margin-bottom: 18px;
}

.heading-pill {
  margin: 0;
  padding: 7px 16px 8px;
  color: var(--pink);
  background: #ffe6f0;
  border: 1px solid #ffd3e6;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--muted);
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
}

.convenience {
  z-index: 3;
  padding-top: 74px;
  background: #fff;
}

.convenience .section-inner {
  width: min(1240px, calc(100% - 48px));
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.use-case {
  min-height: 396px;
  padding: 0 34px 8px;
  display: grid;
  grid-template-rows: 248px auto;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.use-case + .use-case {
  border-left: 1px solid var(--line);
}

.use-case-image {
  width: min(100%, 330px);
  height: 248px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(73, 50, 30, 0.13));
}

.use-case-image-food {
  width: min(100%, 320px);
}

.use-case-image-toilet {
  width: min(100%, 340px);
}

.use-case-image-vomit {
  width: min(100%, 350px);
}

.use-case h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
}

.use-case p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  font-weight: 650;
}

.usage {
  background:
    linear-gradient(180deg, #fff 0%, #fffaf2 100%);
  border-top: 1px solid rgba(234, 219, 201, 0.7);
  padding-top: 238px;
  overflow: hidden;
}

.usage .section-inner,
.features .section-inner {
  position: relative;
  z-index: 1;
}

.section-accent-usage {
  top: 28px;
  right: max(24px, calc((100vw - var(--max)) / 2 + 48px));
  width: 308px;
  opacity: 0.98;
}

.step-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 22px 60px rgba(70, 43, 24, 0.08);
  overflow: hidden;
}

.step-card {
  min-height: 388px;
  padding: 30px 28px 26px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 24px;
}

.step-card + .step-card {
  border-left: 1px solid var(--line);
}

.step-copy {
  min-width: 0;
}

.step-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #221610;
  background: var(--sun);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}

.step-card h3 {
  margin: 13px 0 12px;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
}

.step-card p {
  margin: 0;
  color: #54453e;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
}

.step-card p + p {
  margin-top: 5px;
}

.step-visual {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8df 0%, #fff 100%);
}

.usage-crop {
  width: min(100%, 292px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(73, 50, 30, 0.09);
}

.features {
  background: #fff;
  padding-top: 118px;
  overflow: hidden;
}

.section-accent-features {
  top: 12px;
  left: max(12px, calc((100vw - var(--max)) / 2 - 112px));
  width: 432px;
  opacity: 0.96;
}

.features-layout {
  position: relative;
}

.feature-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.feature-list li {
  min-height: 192px;
  padding: 24px 16px 22px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  border-radius: 8px;
  background: #fff;
}

.feature-list img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 18px;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.feature-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 650;
}

.plus-banner {
  margin-top: 42px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff6d57 0%, var(--pink) 42%, #f03d8c 100%);
  border-radius: 9px;
  box-shadow: 0 18px 42px rgba(242, 85, 155, 0.25);
}

.plus-banner strong {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
  white-space: nowrap;
}

.plus-banner span {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.site-footer {
  background: #fff8ea;
  border-top: 1px solid rgba(234, 219, 201, 0.8);
}

.footer-inner {
  min-height: 92px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-inner nav {
  display: inline-flex;
  justify-content: center;
  gap: 36px;
  color: #45362f;
  font-size: 14px;
  font-weight: 800;
}

.footer-store-badge {
  justify-self: end;
}

.subpage {
  background: #fffaf2;
}

.policy {
  padding: 76px 0 92px;
}

.policy article {
  max-width: 840px;
  margin: 0 auto;
  padding: 46px 52px 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(70, 43, 24, 0.08);
}

.policy h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 930;
}

.policy .updated {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.policy h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
}

.policy p,
.policy li {
  color: #4e4039;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 600;
}

.policy p {
  margin: 0 0 14px;
}

.policy ul {
  margin: 0;
  padding-left: 1.3em;
}

.beta-main {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 244, 223, 0.92) 0 18%, transparent 38%),
    linear-gradient(180deg, #fff 0%, #fffaf2 100%);
}

.beta-hero {
  padding: 86px 0 104px;
}

.beta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 72px;
}

.beta-grid-closed {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 14px 8px;
  color: var(--pink);
  background: #ffe6f0;
  border: 1px solid #ffd3e6;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.beta-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(45px, 5.6vw, 72px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

.beta-lead {
  margin: 0;
  color: #4f3f38;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
}

.beta-note-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.beta-note-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 650;
}

.beta-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 9px;
  background: var(--sun);
  border-radius: 50%;
}

.beta-note-list a,
.beta-privacy-link a {
  color: var(--pink-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.beta-panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 930;
}

.form-heading p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 650;
}

.beta-field {
  display: grid;
  gap: 9px;
}

.beta-field span {
  font-size: 14px;
  font-weight: 900;
}

.beta-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
}

.beta-field input:focus {
  outline: 3px solid rgba(242, 85, 155, 0.22);
  border-color: var(--pink);
}

.beta-field input:disabled {
  color: #9c8d84;
  background: #f8f1e8;
}

.turnstile-area {
  min-height: 78px;
  margin: 22px 0 20px;
  display: grid;
  align-items: center;
}

.beta-submit {
  width: 100%;
  min-height: 58px;
  color: #fff;
  background: linear-gradient(135deg, #ff6d57 0%, var(--pink) 52%, #f03d8c 100%);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 16px 32px rgba(242, 85, 155, 0.24);
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.beta-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.status-message {
  min-height: 48px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 750;
}

.status-message[data-state="success"] {
  color: #2e7d32;
}

.status-message[data-state="error"] {
  color: #b00020;
}

.closed-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  text-align: center;
}

.closed-panel strong {
  color: var(--pink);
  font-size: 38px;
  line-height: 1.25;
  font-weight: 950;
}

.closed-panel p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.beta-privacy-link {
  margin: 30px 0 0;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .hero-copy {
    padding: 0 0 8px;
    transform: none;
  }

  .hero-composite {
    top: auto;
    height: 620px;
    object-position: 58% bottom;
  }

  .hero-art {
    min-height: 570px;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .use-case-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .use-case {
    min-height: 0;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .use-case-image {
    height: 220px;
  }

  .use-case + .use-case,
  .step-card + .step-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .beta-grid,
  .beta-grid-closed {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .section-inner,
  .site-nav,
  .hero-inner,
  .convenience .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .site-nav {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand,
  .footer-brand {
    font-size: 23px;
  }

  .brand img,
  .footer-brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 12px;
    gap: 20px;
    justify-content: flex-start;
    font-size: 14px;
  }

  .site-nav .app-store-badge {
    width: 112px;
  }

  .site-nav .app-store-badge img {
    width: 112px;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero-composite {
    height: 450px;
    object-position: 58% bottom;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 78px);
  }

  .hero-catch {
    font-size: clamp(23px, 6.2vw, 28px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .tap-callout {
    width: 240px;
  }

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

  .section {
    padding: 54px 0 64px;
  }

  .usage,
  .features {
    padding-top: 84px;
  }

  .section-accent {
    display: none;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading-row {
    text-align: left;
  }

  .section-title-line {
    margin-left: 0;
    margin-right: auto;
  }

  .section-title-line-row {
    justify-content: flex-start;
  }

  .section-heading h2 {
    text-align: left;
  }

  .heading-pill {
    font-size: 16px;
  }

  .section-lead {
    margin-bottom: 28px;
    text-align: left;
    font-size: 15px;
  }

  .use-case {
    padding: 24px 0;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 18px;
  }

  .use-case-image {
    width: 126px;
    height: 126px;
  }

  .use-case h3 {
    font-size: 20px;
  }

  .use-case p {
    font-size: 14px;
    line-height: 1.75;
  }

  .step-card {
    min-height: 0;
    padding: 24px 20px;
    grid-template-rows: auto auto;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-list li {
    min-height: 0;
    grid-template-columns: 58px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 8px 14px;
    padding: 18px;
  }

  .feature-list img {
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .plus-banner {
    padding: 22px;
    display: grid;
    gap: 8px;
  }

  .plus-banner strong {
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }

  .footer-store-badge {
    justify-self: start;
  }

  .policy {
    padding: 34px 0 56px;
  }

  .policy article {
    padding: 30px 22px 36px;
  }

  .beta-hero {
    padding: 46px 0 64px;
  }

  .beta-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .beta-lead {
    font-size: 16px;
  }

  .beta-panel {
    padding: 24px 20px;
  }

  .closed-panel {
    min-height: 210px;
  }
}

@media (max-width: 430px) {
  .hero-composite {
    height: 405px;
    object-position: 58% bottom;
  }

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

  .hero-catch {
    font-size: 24px;
  }

  .hero-lead,
  .price-note {
    overflow-wrap: anywhere;
  }

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

  .use-case {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .use-case-image {
    width: min(80vw, 230px);
    height: 184px;
  }
}
