:root {
  color-scheme: light;
  --canvas: #f7f5ef;
  --surface: #fffdf8;
  --surface-soft: #eef4f0;
  --ink: #17312b;
  --ink-soft: #52655f;
  --accent: #176b5b;
  --accent-dark: #0e5044;
  --line: #d6e0da;
  --focus: #b45f06;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(26, 55, 47, 0.07);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 3px;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 9vw, 5.4rem);
  font-weight: 720;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

h3 {
  margin-bottom: 4px;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
}

.shell {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(23, 49, 43, 0.11);
  background: rgba(247, 245, 239, 0.96);
}

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

.brand {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 2vw, 18px);
}

.site-nav a {
  min-height: 44px;
  padding: 9px 8px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero {
  padding-block: clamp(76px, 14vw, 148px) clamp(68px, 10vw, 110px);
}

.hero::after {
  width: clamp(72px, 16vw, 144px);
  height: 6px;
  margin-top: clamp(42px, 7vw, 72px);
  display: block;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.eyebrow,
.section-label,
.app-category {
  color: var(--accent-dark);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 12px;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 3.5vw, 1.38rem);
  line-height: 1.8;
}

.section {
  padding-block: clamp(58px, 10vw, 96px);
}

.section-first {
  padding-top: 12px;
}

.section-compact {
  padding-top: 18px;
}

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

.section-label,
.app-category {
  margin-bottom: 5px;
}

.app-grid,
.support-list {
  display: grid;
  gap: 18px;
}

.app-card,
.content-card,
.policy-card,
.quiet-panel,
.error-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-card {
  padding: clamp(24px, 5vw, 38px);
}

.app-card > p {
  margin-block: 24px 28px;
  color: var(--ink-soft);
}

.app-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.app-index {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.app-card-heading .app-index {
  padding-top: 5px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.link-row a,
.external-link,
.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.quiet-panel {
  padding: clamp(24px, 5vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface-soft);
  box-shadow: none;
}

.quiet-panel p:not(.section-label) {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.button-link {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-dark);
  color: white;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.button-link:hover {
  background: var(--accent);
  color: white;
}

.page-hero {
  padding-block: clamp(62px, 11vw, 108px) clamp(40px, 7vw, 70px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 7vw, 4.2rem);
}

.page-hero > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.policy-hero > p:last-of-type {
  margin-bottom: 22px;
}

.policy-hero code {
  font-size: 0.92em;
}

.page-hero .repitalk-policy-heading {
  font-size: clamp(1.6rem, 7.6vw, 4.2rem);
}

.language-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-jump a {
  min-height: 44px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.policy-list {
  display: grid;
  gap: 12px;
}

.policy-card {
  min-height: 108px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
}

.policy-card:hover {
  border-color: #a8c2b7;
  background: var(--surface-soft);
  color: var(--ink);
}

.policy-card strong,
.policy-card small {
  display: block;
}

.policy-card strong {
  font-size: 1.15rem;
}

.policy-card small {
  margin-top: 3px;
  color: var(--ink-soft);
}

.arrow {
  color: var(--accent);
  font-size: 1.5rem;
}

.content-card {
  max-width: 780px;
  padding: clamp(24px, 6vw, 48px);
  box-shadow: none;
}

.policy-content h2 {
  margin-top: 30px;
  font-size: 1.3rem;
}

.policy-content h2:first-of-type {
  margin-top: 22px;
}

.policy-content p {
  color: var(--ink-soft);
}

.policy-content hr {
  margin-block: 34px;
  border: 0;
  border-top: 1px solid var(--line);
}

.policy-article {
  display: grid;
  gap: clamp(28px, 7vw, 64px);
}

.policy-language {
  max-width: 840px;
  scroll-margin-top: 24px;
}

.policy-language h2 {
  margin-bottom: 26px;
  font-size: clamp(1.65rem, 5vw, 2.2rem);
}

.policy-language h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.16rem, 4vw, 1.38rem);
}

.policy-language p,
.policy-language li {
  color: var(--ink-soft);
}

.policy-language ul {
  margin-block: 0 24px;
  padding-left: 1.4em;
}

.policy-contact {
  color: var(--ink-soft);
  font-style: normal;
}

.effective-date {
  margin-top: 36px;
  margin-bottom: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.status-label {
  padding: 5px 10px;
  display: inline-flex;
  border: 1px solid #aac4b8;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.status-label-pending {
  border-color: #d4bd97;
  background: #f8f0df;
  color: #704a18;
}

.muted-note {
  padding: 18px;
  border-left: 3px solid var(--line);
  background: var(--canvas);
  font-size: 0.92rem;
}

.back-link {
  margin-top: 28px;
}

.support-card {
  scroll-margin-top: 24px;
}

.support-card h2 {
  margin-top: 10px;
  font-size: 1.55rem;
}

.support-card p:not(.app-index) {
  color: var(--ink-soft);
}

.support-form-hero h1 {
  font-size: clamp(2rem, 7vw, 4.2rem);
}

.support-form-card {
  max-width: 900px;
  padding: clamp(18px, 4vw, 32px);
}

.support-form-note {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.contact-form-frame {
  width: 100%;
  min-height: 1100px;
  display: block;
  border: 0;
  background: white;
}

.contact-form-fallback {
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.center-page {
  min-height: 66vh;
  padding-block: clamp(64px, 12vw, 120px);
  display: grid;
  place-items: center;
}

.error-card {
  width: min(100%, 650px);
  padding: clamp(30px, 8vw, 64px);
  text-align: center;
}

.error-code {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.error-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 7vw, 3.25rem);
}

.error-card > p:not(.error-code) {
  margin-bottom: 30px;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: clamp(60px, 10vw, 110px);
  border-top: 1px solid rgba(23, 49, 43, 0.12);
}

.footer-inner {
  min-height: 112px;
  padding-block: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 700px) {
  .shell {
    width: min(100% - 64px, 1080px);
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 0.94rem;
  }

  .app-grid,
  .support-list,
  .policy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiet-panel,
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-inner {
    min-height: 94px;
  }
}

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

/* Smoke Less product page */
.product-page {
  background:
    radial-gradient(circle at 85% 8%, rgba(247, 180, 40, 0.15), transparent 24rem),
    var(--canvas);
}

.product-hero {
  min-height: calc(100vh - 145px);
  padding-block: clamp(54px, 10vw, 104px);
  display: grid;
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
}

.product-hero-copy {
  max-width: 620px;
}

.product-brandline {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-brandline .eyebrow {
  margin-bottom: 0;
}

.product-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(2, 83, 92, 0.22);
}

.product-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 11vw, 6.8rem);
  letter-spacing: -0.06em;
}

.product-lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(1.4rem, 4.3vw, 2rem);
  font-weight: 720;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.product-summary {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.button-muted {
  background: #74551d;
  cursor: default;
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 720;
  text-decoration: none;
}

.product-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.product-visual {
  width: min(100%, 430px);
  margin-inline: auto;
  position: relative;
}

.product-visual img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
  border-radius: 34px;
  box-shadow: 0 30px 75px rgba(23, 49, 43, 0.18);
}

.visual-accent {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 999px;
  background: #f6b72e;
}

.visual-accent-one {
  width: 110px;
  height: 18px;
  top: 9%;
  right: -10%;
  transform: rotate(-18deg);
}

.visual-accent-two {
  width: 64px;
  height: 14px;
  top: 14%;
  right: -11%;
  transform: rotate(14deg);
}

.product-intro {
  padding-block: clamp(72px, 11vw, 130px);
}

.product-intro h2 {
  max-width: 720px;
  font-size: clamp(2rem, 6vw, 3.8rem);
}

.product-intro > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.language-switcher {
  padding-block: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.language-switcher a,
.language-switcher span {
  min-height: 42px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.language-switcher [aria-current="page"] {
  background: var(--ink);
  color: white;
}

.feature-gallery {
  display: grid;
  gap: clamp(64px, 12vw, 136px);
}

.feature-story {
  display: grid;
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
}

.feature-story img {
  width: min(100%, 400px);
  height: auto;
  margin-inline: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(23, 49, 43, 0.14);
}

.feature-copy {
  max-width: 560px;
}

.feature-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 5vw, 3.15rem);
}

.feature-copy > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.feature-number {
  margin-bottom: 10px;
  color: #9d6400;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-values {
  margin-top: clamp(90px, 15vw, 170px);
  padding-block: clamp(40px, 8vw, 72px);
  display: grid;
  gap: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-values h2 {
  max-width: 520px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.product-values ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
}

.product-values li {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.product-values li:last-child {
  border-bottom: 0;
}

.product-values strong,
.product-values span {
  display: block;
}

.product-values strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.product-values span {
  color: var(--ink-soft);
}

.product-cta {
  margin-top: clamp(72px, 12vw, 140px);
  padding: clamp(28px, 6vw, 54px);
  display: grid;
  align-items: center;
  gap: 24px;
  border: 1px solid #d8c28f;
  border-radius: 28px;
  background: #fff8e8;
}

.product-cta img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.product-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 5vw, 2.7rem);
}

.product-cta p:not(.section-label) {
  margin-bottom: 0;
  color: var(--ink-soft);
}

@media (min-width: 820px) {
  .product-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.72fr);
  }

  .feature-story {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  }

  .feature-story-reverse .feature-copy {
    order: 2;
  }

  .feature-story-reverse img {
    order: 1;
  }

  .product-values {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  }

  .product-cta {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

/* Repitalk product page */
.repitalk-product-visual.repitalk-store-hero {
  max-width: 350px;
}

.repitalk-store-stories {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.repitalk-store-story {
  display: grid;
  gap: 28px;
  align-items: start;
}

.repitalk-store-copy h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.45;
  text-wrap: balance;
}

.repitalk-store-copy > p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.repitalk-store-pair {
  display: grid;
  gap: 22px;
  align-items: start;
}

.repitalk-store-pair a {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 20px;
}

.repitalk-store-pair img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.repitalk-store-note {
  margin: -24px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.repitalk-start-guide {
  margin-top: 64px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface-soft);
  border-radius: 20px;
}

.repitalk-start-guide h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.repitalk-start-guide p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

@media (min-width: 700px) {
  .repitalk-store-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .repitalk-store-story {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.7fr);
    gap: 44px;
  }
  .repitalk-store-copy {
    position: sticky;
    top: 32px;
  }
}

.repitalk-product-page {
  background:
    radial-gradient(circle at 86% 9%, rgba(132, 158, 87, 0.2), transparent 25rem),
    var(--canvas);
}

.repitalk-product-hero {
  min-height: auto;
  padding-block: clamp(44px, 7vw, 76px);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 56px);
}

.repitalk-product-hero h1 {
  color: #744714;
  font-size: clamp(3rem, 8vw, 4.7rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.repitalk-product-hero .product-icon,
.repitalk-product-cta img {
  box-shadow: 0 14px 35px rgba(116, 71, 20, 0.18);
}

.repitalk-button-muted {
  background: #765020;
}

.repitalk-product-visual {
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
}

.repitalk-product-visual img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(116, 71, 20, 0.14);
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(77, 63, 36, 0.16);
}

.repitalk-feature-grid {
  display: grid;
  gap: 18px;
}

.repitalk-feature-card {
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.repitalk-feature-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 1.72rem);
  text-wrap: balance;
}

.repitalk-feature-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.repitalk-product-cta {
  border-color: #cdd9b5;
  background: #f3f7e9;
}

.repitalk-product-page .product-intro {
  padding-block: clamp(62px, 8vw, 94px);
}

.repitalk-product-page .product-intro h2,
.repitalk-product-page .product-values h2,
.repitalk-product-page .product-cta h2 {
  text-wrap: balance;
}

.repitalk-product-page .product-values {
  margin-top: clamp(72px, 9vw, 108px);
  padding-block: clamp(36px, 5vw, 54px);
}

.repitalk-product-links {
  padding-block: 34px clamp(72px, 10vw, 110px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.repitalk-product-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

@media (min-width: 980px) {
  .repitalk-product-hero {
    grid-template-columns: minmax(380px, 1fr) minmax(470px, 1.24fr);
    gap: clamp(38px, 5vw, 60px);
  }

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

@media (min-width: 700px) and (max-width: 979px) {
  .repitalk-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
