:root {
  color-scheme: light;
  --ink: #3b2415;
  --ink-soft: #6d4a32;
  --cream: #fff6e4;
  --cream-strong: #ffe9bd;
  --orange: #f47a00;
  --orange-deep: #cf4f00;
  --green: #9fbe20;
  --green-deep: #6f8c12;
  --red: #e8402f;
  --white: #ffffff;
  --line: rgba(77, 45, 23, 0.16);
  --shadow: 0 18px 42px rgba(85, 45, 10, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 246, 228, 0.96), rgba(255, 233, 189, 0.74)),
    var(--cream);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.page-shell {
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 94svh;
  padding: clamp(1rem, 3vw, 1.8rem);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: clamp(0.7rem, 2vw, 1.2rem);
  z-index: -3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.hero-overlay {
  position: absolute;
  inset: clamp(0.7rem, 2vw, 1.2rem);
  z-index: -2;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 246, 228, 0.97) 0 43%, rgba(255, 246, 228, 0.72) 57%, rgba(255, 246, 228, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 246, 228, 0.15), rgba(255, 246, 228, 0.76));
}

.hero-content {
  align-self: center;
  width: min(100%, 48rem);
  padding: clamp(2rem, 7vw, 5.6rem) clamp(1.1rem, 6vw, 5rem);
}

.brand-mark,
.section-kicker {
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.brand-mark::before {
  width: 2rem;
  height: 1.85rem;
  flex: 0 0 auto;
  background: url("./assets/paw-silhouette.png") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 0.08rem 0 rgba(59, 36, 21, 0.12));
  transform: rotate(-8deg);
}

h1 {
  max-width: 8ch;
  font-size: clamp(2.72rem, 12.8vw, 7.8rem);
  font-weight: 1000;
  color: var(--ink);
}

h1 span {
  display: block;
  white-space: nowrap;
}

h1 span:last-child {
  color: var(--orange);
}

.hero-copy {
  width: min(100%, 37rem);
  margin: 1.35rem 0 1.55rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.cta-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.86rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.cta-button {
  border: 2px solid var(--ink);
  background: var(--orange);
  box-shadow: 0 0.28rem 0 var(--ink);
  color: var(--white);
}

.cta-button::after {
  margin-left: 0.6rem;
  content: ">";
}

.cta-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.82;
}

.ghost-button {
  border: 2px solid rgba(59, 36, 21, 0.25);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.cta-button:hover,
.cta-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
}

.paw {
  position: absolute;
  z-index: -1;
  color: rgba(244, 122, 0, 0.16);
  font-size: 4rem;
  filter: blur(0.2px);
}

.paw-one {
  left: 8%;
  bottom: 9%;
}

.paw-two {
  right: 11%;
  top: 12%;
  color: rgba(159, 190, 32, 0.26);
}

.intro-section,
.content-section,
.question-section,
.notice-section,
.final-cta {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.4rem) 0;
}

.intro-section {
  width: min(100% - 2rem, 58rem);
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.8rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 4.3rem);
  font-weight: 950;
}

.intro-section p,
.question-section > div:first-child p,
.notice-section p,
.final-cta p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 720;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-card,
.tip-card {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 15rem;
  padding: 1.1rem;
}

.feature-card:nth-child(1) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 145, 0, 0.18));
}

.feature-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(232, 64, 47, 0.16));
}

.feature-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(159, 190, 32, 0.2));
}

.feature-card:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(59, 36, 21, 0.12));
}

.feature-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  font-size: 1.7rem;
  font-weight: 950;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 950;
}

.feature-card p,
.tip-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 680;
}

.question-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.tips-track {
  display: grid;
  gap: 0.8rem;
}

.tip-card {
  padding: 1.05rem 1.15rem;
}

.step-label {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 950;
}

.tip-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.examples-section {
  width: min(100% - 2rem, 62rem);
}

.bubble-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.question-bubble {
  position: relative;
  min-height: 6.4rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 2px solid rgba(59, 36, 21, 0.18);
  border-radius: 8px 8px 8px 2px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(85, 45, 10, 0.12);
}

.question-bubble span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 950;
}

.question-bubble strong {
  display: block;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  line-height: 1.45;
}

.notice-section {
  border-top: 2px dashed rgba(59, 36, 21, 0.18);
  border-bottom: 2px dashed rgba(59, 36, 21, 0.18);
}

.final-cta {
  width: min(100% - 2rem, 56rem);
  text-align: center;
}

.final-cta .cta-button {
  margin-top: 1.3rem;
}

.line-note {
  margin-top: 1rem;
  color: rgba(109, 74, 50, 0.78);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero-section {
    min-height: 92svh;
  }

  .hero-art img {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 246, 228, 0.97) 0 52%, rgba(255, 246, 228, 0.48) 74%, rgba(255, 246, 228, 0.08) 100%),
      linear-gradient(90deg, rgba(255, 246, 228, 0.95), rgba(255, 246, 228, 0.16));
  }

  .hero-content {
    align-self: start;
    padding-top: clamp(2rem, 9vw, 4rem);
  }

  h1 {
    font-size: clamp(2.55rem, 12.8vw, 4.7rem);
  }

  .feature-grid,
  .question-section,
  .bubble-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-section {
    min-height: 96svh;
  }

  .hero-art {
    inset: 0.55rem;
  }

  .hero-overlay {
    inset: 0.55rem;
  }

  .hero-content {
    padding-inline: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-button,
  .ghost-button {
    width: 100%;
  }
}
