:root {
  --paper: #fef7df;
  --paper-2: #fffdf3;
  --ink: #4f3d2e;
  --earth: #8d5f41;
  --orange: #f4a259;
  --yellow: #f6d66f;
  --green: #87b86a;
  --green-deep: #5f8d47;
  --line: #6e513b;
  --card: #fff9ea;
  --shadow: 0 10px 0 rgba(111, 79, 54, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #fff9d8 0%, var(--paper) 35%, #f8f0d7 100%);
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: #3f2f22;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

p {
  margin: 0 0 14px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  font-weight: 700;
  border: 2px dashed var(--line);
  border-radius: 999px;
  background: #ffedbe;
}

.hero {
  padding: 42px 0 72px;
  position: relative;
  overflow: clip;
}

.hero-bg-doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 130px;
  height: 52px;
  background: #fff8e5;
  border: 3px solid var(--line);
  border-radius: 50px;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 54px;
  height: 54px;
  top: -26px;
  left: 16px;
}

.cloud::after {
  width: 44px;
  height: 44px;
  top: -20px;
  right: 18px;
}

.cloud-a {
  top: 30px;
  left: 4%;
  animation: drift 10s ease-in-out infinite;
}

.cloud-b {
  top: 100px;
  right: 6%;
  animation: drift 12s ease-in-out infinite reverse;
}

.sun {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffd26f;
  border: 4px solid var(--line);
}

.grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 70px;
  background: linear-gradient(0deg, #95c675 0%, #acd789 55%, #b8df95 100%);
  border-top: 3px solid var(--line);
  border-radius: 45% 45% 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 3px solid var(--line);
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--shadow);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) rotate(-0.5deg);
}

.btn-primary {
  background: linear-gradient(180deg, #ffd48c, #f5a95e);
  color: #3f2f22;
}

.btn-secondary {
  background: #ecf8df;
  color: #35502a;
}

.hero-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  min-height: 360px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f9f2d6 0%, #fffaf0 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-note {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  z-index: 3;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #fff4cc;
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 7px 10px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  padding: 56px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transform: translateX(2%) rotate(0.6deg);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero-scene.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.hero-scene svg {
  width: min(100%, 520px);
  height: auto;
  max-height: 100%;
  display: block;
  transform: translate(var(--scene-shift-x, 0), var(--scene-shift-y, 0));
}

.hero-scene[data-scene="family"] {
  --scene-shift-x: 10px;
  --scene-shift-y: -4px;
}

.hero-scene[data-scene="scenic"] {
  --scene-shift-x: 2px;
  --scene-shift-y: 0;
}

.sticker {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #ffedb8;
  font-weight: 700;
  transform: rotate(-6deg);
  transition: transform 520ms ease, opacity 520ms ease;
  opacity: 0;
}

.hero-scene.is-active .sticker {
  opacity: 1;
  transform: rotate(-6deg) translateY(-3px);
  transition-delay: 180ms;
}

.ground { fill: #a8d086; stroke: var(--line); stroke-width: 2.4; stroke-linejoin: round; }
.lake { fill: #b7e4ed; stroke: var(--line); stroke-width: 2.4; stroke-linejoin: round; opacity: 0.8; }
.rv-body, .board, .tent { fill: #ffe8bc; stroke: var(--line); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.rv-door, .tv, .car, .qr { fill: #f9cf8c; stroke: var(--line); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.window, .solar { fill: #d8f0ff; stroke: var(--line); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.wheel { fill: #8f7d6c; stroke: var(--line); stroke-width: 3.2; }
.person { fill: #f7b27c; stroke: var(--line); stroke-width: 2.4; }
.mountain { fill: #d5be9f; stroke: var(--line); stroke-width: 2.6; stroke-linejoin: round; }
.mountain-alt { fill: #cdb18c; }
.antenna-pole { fill: #836d5b; }
.qr-block { fill: #6e513b; }
.blanket { fill: #f8c98d; stroke: var(--line); stroke-width: 2; }
.ball { fill: #ffd27f; stroke: var(--line); stroke-width: 2; }
.scene-line, .cable {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cloudlet {
  fill: none;
  stroke: rgba(110, 81, 59, 0.65);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.person-head {
  fill: #f7b27c;
  stroke: var(--line);
  stroke-width: 2.8;
}
.person-limb {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doodle-people {
  filter: drop-shadow(0 1px 0 rgba(110, 81, 59, 0.08));
}
.wifi, .wifi-on {
  fill: none;
  stroke: #5f8d47;
  stroke-linecap: round;
  stroke-width: 5;
}
.wifi-ripple {
  animation: wifiRipple 1.8s ease-in-out infinite;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.panel {
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 24px;
}

.doodle-panel {
  position: relative;
}

.doodle-panel::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 26px;
  right: 18px;
  top: 20px;
  border-top: 3px dashed var(--line);
  transform: rotate(-4deg);
}

.signal-doodle svg {
  width: min(100%, 360px);
  height: auto;
  display: block;
}

.signal-doodle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper { fill: transparent; }
.ground-line {
  fill: none;
  stroke: #9abc7f;
  stroke-width: 8;
  stroke-linecap: round;
  opacity: 0.9;
}
.divide-line {
  stroke: #d4c6a5;
  stroke-width: 3;
  stroke-dasharray: 5 7;
}
.d-person, .phone { fill: #ffc78e; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; }
.router { fill: #d6efc1; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; }
.status-dot {
  fill: #5f8d47;
  animation: blinkDot 1.3s ease-in-out infinite;
}
.signal-flow {
  fill: none;
  stroke: #7da45f;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.no-signal, .cross-line {
  fill: none;
  stroke: #d7664f;
  stroke-width: 4;
  stroke-linecap: round;
}

.wifi-on {
  stroke: #4f8a45;
  stroke-width: 4.5;
  animation: wifiPulse 1.6s ease-in-out infinite;
}

.wifi-on-alt {
  animation-delay: 220ms;
}

@keyframes wifiPulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 1; }
}

@keyframes wifiRipple {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1.5px); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}

@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-0.8deg); }
}

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes blinkDot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.scene-float { animation: floatY 2.8s ease-in-out infinite; transform-origin: center; }
.scene-sway { animation: sway 3.6s ease-in-out infinite; transform-origin: center; }
.scene-pop { animation: pop 2.1s ease-in-out infinite; transform-origin: center; }

.section-head {
  max-width: 70ch;
  margin-bottom: 26px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  background: linear-gradient(175deg, #fff6e0 0%, #fffdf3 100%);
  border: 3px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  min-height: 200px;
  position: relative;
}

.scenario-icon {
  width: 122px;
  height: 72px;
  margin-bottom: 10px;
  border: 2px dashed rgba(110, 81, 59, 0.45);
  border-radius: 10px;
  background: rgba(255, 251, 239, 0.72);
  display: grid;
  place-items: center;
}

.scenario-icon svg {
  width: 112px;
  height: 64px;
  display: block;
}

.scenario-card:nth-child(odd) .scenario-icon {
  animation: floatY 3.2s ease-in-out infinite;
}

.scenario-card:nth-child(even) .scenario-icon {
  animation: sway 3.8s ease-in-out infinite;
}

.scenario-card::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 12px;
  width: 48px;
  height: 8px;
  border-radius: 99px;
  background: #f5d66f;
  border: 2px solid var(--line);
}

.model-section .flow-wrap {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1 1 240px;
  border: 3px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff9e8;
  padding: 20px;
  box-shadow: var(--shadow);
}

.flow-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: #ffd995;
  font-weight: 800;
  margin-bottom: 10px;
}

.flow-arrow {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
  align-self: center;
}

.partner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  margin-top: 14px;
  background: #fff7e6;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.partner-form {
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(180deg, #fff3d9 0%, #fffdf6 100%);
  box-shadow: var(--shadow);
}

.partner-form label {
  display: block;
  margin: 10px 0 4px;
  font-weight: 700;
}

.partner-form input,
.partner-form textarea,
.partner-form select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fffef9;
}

.partner-form input:focus-visible,
.partner-form textarea:focus-visible,
.partner-form select:focus-visible {
  outline: 3px solid rgba(135, 184, 106, 0.35);
  outline-offset: 2px;
}

.submit-btn {
  margin-top: 14px;
  width: 100%;
}

.form-status {
  margin-top: 10px;
  min-height: 26px;
  font-weight: 700;
}

.form-status.success {
  color: #2f7030;
}

.form-status.error {
  color: #a74636;
}

.site-footer {
  padding: 24px 0 34px;
  background: #ead8b2;
  border-top: 3px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 14px;
}

.site-footer a {
  color: #3f2f22;
  text-decoration-thickness: 2px;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(14px); }
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .partner-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 320px;
  }

  .flow-arrow {
    width: 100%;
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 700px) {
  .section {
    padding: 62px 0;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .scenario-icon {
    width: 110px;
    height: 66px;
  }

  .scenario-icon svg {
    width: 102px;
    height: 58px;
  }

  .hero {
    padding-top: 28px;
  }

  .cloud-a {
    top: -14px;
    left: -18px;
  }

  .cloud-b {
    top: -6px;
    right: -28px;
  }

  .sun {
    top: -24px;
    right: -18px;
    width: 78px;
    height: 78px;
  }

  .hero-scene {
    padding: 58px 10px 8px;
  }

  .hero-scene[data-scene="family"] {
    --scene-shift-x: 8px;
    --scene-shift-y: -4px;
  }

  .hero-scene[data-scene="scenic"] {
    --scene-shift-x: 0;
    --scene-shift-y: 0;
  }

  .scene-note {
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 6px 8px;
  }

  .sticker {
    right: 10px;
    bottom: 10px;
    font-size: 0.75rem;
  }

  .hero-stage {
    min-height: 290px;
  }

  .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
