:root {
  --bg: #f9f9f5;
  --surface: #ffffff;
  --text: #2d2a26;
  --muted: #6b6b6b;
  --accent: #e5533c;
  --accent-soft: #fce4de;
  --line: #e5e0db;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(45, 42, 38, 0.06);
  --shadow-lg: 0 8px 30px rgba(45, 42, 38, 0.08);
  --font: Georgia, 'Times New Roman', serif;
  --container: 1100px;
  --pad: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

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

svg {
  fill: currentColor;
  stroke: currentColor;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  font-weight: normal;
}

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.8rem);
}

p {
  margin: 0 0 var(--sp-4);
}

ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 var(--sp-4);
}

li {
  margin-bottom: var(--sp-2);
}

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-style: italic;
  color: var(--muted);
}

main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  margin: var(--sp-8) 0;
}

.wp-header {
  padding: var(--sp-4) 0;
}

.hero-area {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-7) 0;
}

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

.hero-bubble {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-illustration {
  min-width: 0;
}

.hero-illustration svg {
  max-width: 100%;
  height: auto;
}

.intro-line {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}

.lead {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.4rem);
  color: var(--muted);
  line-height: 1.5;
}

.lead-text {
  font-size: 1.05rem;
}

.accent-solid {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.accent-solid:hover {
  background: var(--text);
  color: #fff;
}

.accent-solid:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.label-chip-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.label-chip {
  background: var(--accent-soft);
  color: var(--accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.fact-grid,
.joke-sequence,
.reasons-list,
.step-list,
.number-list {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  min-width: 0;
}

.fact-card,
.joke-card,
.step-box,
.reasons-list li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 0;
}

.fact-card {
  text-align: center;
}

.fact-card svg {
  width: 3em;
  height: 3em;
  margin: 0 auto var(--sp-3);
  color: var(--accent);
}

.joke-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.joke-card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.joke-card-text {
  color: var(--muted);
}

.joke-icon {
  width: 2.5em;
  height: 2.5em;
  color: var(--accent);
}

.step-box {
  position: relative;
  padding-top: var(--sp-6);
}

.step-num {
  position: absolute;
  top: -1em;
  left: var(--sp-4);
  background: var(--accent);
  color: #fff;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-first,
.step-second {
  border-left: 4px solid var(--accent);
}

.step-sticker {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rate-table,
.stats-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: var(--sp-5);
}

.rate-table th,
.rate-table td,
.stats-table th,
.stats-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.rate-table th,
.stats-table th {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: bold;
}

.rate-table tr:last-child td,
.stats-table tr:last-child td {
  border-bottom: none;
}

.definition-list {
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-5) 0;
}

.definition-list dt {
  font-weight: bold;
  color: var(--accent);
}

.definition-list dd {
  margin: 0 0 var(--sp-3);
  color: var(--muted);
}

.block-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
}

.block-part {
  margin-top: var(--sp-6);
}

.block-title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
}

.mission-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.team-block {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}

.chief-area {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}

.chief-portrait {
  border-radius: 50%;
  overflow: hidden;
  max-width: 200px;
  margin: 0 auto;
}

.chief-portrait img {
  width: 100%;
  height: auto;
}

.chief-info {
  min-width: 0;
}

.greenroom {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
}

.subscribe-area {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.subscribe-area input[type="email"] {
  width: 100%;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: var(--sp-3);
}

.subscribe-area input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.wp-footer {
  margin-top: var(--sp-8);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line);
}

.bottom-note {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.brand-mark {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
}

.brand-mark:hover {
  color: var(--accent);
}

.mail-link {
  color: var(--accent);
  text-decoration: underline;
}

.no-more {
  text-decoration: line-through;
  color: var(--muted);
}

.hold-corner {
  position: relative;
}

.hold-corner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.round {
  border-radius: 50%;
}

.seal {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.three {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}

.triple-megabox {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.digital-details {
  font-size: 0.9rem;
  color: var(--muted);
}

.icon-arrow,
.icon-joke {
  width: 1.5em;
  height: 1.5em;
}

.pagination {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin: var(--sp-6) 0;
}

.pagination a {
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.pagination a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  color: #fff;
}

.reach-us {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}

.officemap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-break {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--sp-8) 0;
}

@media (min-width: 640px) {
  :root {
    --pad: 2rem;
  }

  .hero-area {
    grid-template-columns: 1fr 1fr;
  }

  .fact-grid,
  .joke-sequence,
  .reasons-list,
  .step-list,
  .number-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .chief-area {
    grid-template-columns: 1fr 2fr;
  }

  .three {
    grid-template-columns: repeat(3, 1fr);
  }

  .reach-us {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 900px) {
  :root {
    --pad: 2.5rem;
  }

  .fact-grid,
  .joke-sequence,
  .reasons-list,
  .step-list,
  .number-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-block {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-area {
    padding: var(--sp-8) 0;
  }

  .mission-block {
    padding: var(--sp-7);
  }

  .subscribe-area {
    padding: var(--sp-7);
  }
}

@media (min-width: 1200px) {
  :root {
    --pad: 3rem;
  }

  .fact-grid,
  .joke-sequence,
  .reasons-list,
  .step-list,
  .number-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-block {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-area {
    gap: var(--sp-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


:root {
  --bg: #f9f9f5; --surface: #ffffff; --text: #2d2a26;
  --muted: #6b6b6b; --accent: #e5533c; --accent-soft: #fce4de;
  --line: #e5e0db;
}
html { font-family: Georgia, 'Times New Roman', serif; background: var(--bg); color: var(--text); }
body { line-height: 1.6; }
.head-top { }
.brand-mark { font-weight: 700; text-decoration: none; color: inherit; font-size: 1.15rem; }
.nav-bar { }
.nav-link { text-decoration: none; color: inherit; }
.chief-area { }
.block-part { padding: 1.5rem 0; }
.block-title { font-size: clamp(1.5rem, 4vw, 2.35rem); margin: 0 0 0.6rem; line-height: 1.2; }
.intro-line { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); margin: 0 0 1.2rem; }
.card-net { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.joke-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0.75rem; padding: 1.15rem 1.25rem;
}
.joke-card-title { margin: 0 0 0.4rem; font-size: 1.05rem; }
.joke-card-text { margin: 0; color: var(--muted); }
.bottom-note { }
.reach-us { color: var(--muted); }
.label-chip { }
a { color: var(--accent); }
@media (min-width: 720px) {
  .card-net { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* --- repaired missing selectors --- */
.joke-section { min-width: 0; }
.last-bit { min-width: 0; }
.reasons-block { min-width: 0; }


/* --- guard --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; margin: 0; }
main > *, section > *, ul > li, ol > li { min-width: 0; }
svg, table, pre, blockquote, img { max-width: 100%; }
svg { height: auto; }
h1, h2, h3, h4, p, li, dt, dd, td, th, a, figcaption {
  overflow-wrap: anywhere;
}
table { display: block; overflow-x: auto; }
main header, main footer, main nav { display: none !important; }

.wp-header, .wp-footer, main {
  padding-left: max(1.25rem, env(safe-area-inset-left)) !important;
  padding-right: max(1.25rem, env(safe-area-inset-right)) !important;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.wp-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.wp-footer {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  margin-top: 2rem;
}
.wp-tagline {
  flex-basis: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  max-width: none !important;
}

/* --- hamburger --- */
.wp-menu { margin: 0 0 0 auto; }
.wp-menu-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  color: inherit;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d4d4d4);
  border-radius: 0.5rem;
}
.wp-menu-btn::-webkit-details-marker,
.wp-menu-btn::marker { display: none; content: ""; }
.wp-menu-bars,
.wp-menu-bars::before,
.wp-menu-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  position: relative;
}
.wp-menu-bars::before,
.wp-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.wp-menu-bars::before { top: -6px; }
.wp-menu-bars::after { top: 6px; }

@media (max-width: 719px) {
  .wp-nav-wide { display: none !important; }
  .wp-menu:not([open]) > nav { display: none !important; }
  .wp-menu[open] { flex-basis: 100%; width: 100%; margin: 0; }
  .wp-menu[open] > nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 0.5rem 0 0.15rem !important;
  }
  .wp-menu[open] > nav > a {
    display: block !important;
    padding: 0.7rem 0.15rem !important;
  }
}

@media (min-width: 720px) {
  .wp-menu { display: none !important; }
  .wp-nav-wide {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.35rem 1.1rem;
    margin: 0 0 0 auto;
    align-items: center;
  }
}
