:root {
  --bg: #f8f8f0;
  --paper: rgb(247, 243, 223);
  --paper-deep: #f0e8d8;
  --text: #794f27;
  --body: #725d42;
  --muted: #9f927d;
  --mint: #19c8b9;
  --mint-soft: #e6f9f6;
  --mint-deep: #11a89b;
  --leaf: #6fba2c;
  --coral: #e18c6f;
  --yellow: #f7cd67;
  --focus: #ffcc00;
  --border: #c4b89e;
  --button-shadow: #bdaea0;
  --card-shadow: rgba(107, 92, 67, 0.28);
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: Nunito, "Noto Sans SC", "Zen Maru Gothic", -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff9dc;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  min-width: 320px;
  margin: 0;
  color: var(--body);
  background:
    radial-gradient(circle at 12% 20%, rgba(25, 200, 185, 0.16), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(247, 205, 103, 0.24), transparent 20rem),
    linear-gradient(180deg, #fff9dc 0%, var(--bg) 46%, #eef8e6 100%);
  background-color: #fff9dc;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 0 52px;
}

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - 96px));
  overflow: hidden;
  isolation: isolate;
  border: 3px solid rgba(121, 79, 39, 0.12);
  border-radius: 34px;
  background: var(--paper);
  box-shadow:
    0 8px 0 0 rgba(189, 174, 160, 0.72),
    0 28px 70px rgba(61, 52, 40, 0.16);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.98) contrast(0.98);
}

.texture {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 248, 240, 0.74), rgba(248, 248, 240, 0.18) 48%, rgba(248, 248, 240, 0.5)),
    radial-gradient(circle at 45% 32%, rgba(255, 249, 220, 0.86), transparent 24rem);
}

.texture::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(121, 79, 39, 0.18) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.45) 0.8px, transparent 0.8px);
  background-position:
    0 0,
    12px 10px;
  background-size:
    22px 22px,
    28px 28px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
}

.brand-pill,
.status-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(121, 79, 39, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(248, 248, 240, 0.88);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 0 0 rgba(189, 174, 160, 0.86);
  backdrop-filter: blur(10px);
}

.brand-pill,
.status-pill {
  min-height: 44px;
  padding: 0 18px;
}

.brand-dot,
.pulse {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
}

.brand-dot {
  background: var(--mint);
  box-shadow: inset 0 -2px 0 rgba(17, 168, 155, 0.35);
}

.status-pill {
  background: rgba(230, 249, 246, 0.92);
  font-size: 14px;
}

.pulse {
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(111, 186, 44, 0.42);
}

.hero-copy {
  width: min(680px, calc(100% - 40px));
  margin: 54px 0 0 68px;
  padding-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 14px;
  padding: 0 16px;
  border: 2px solid rgba(121, 79, 39, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(230, 249, 246, 0.9);
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 0 rgba(90, 158, 30, 0.22);
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(58px, 9vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(255, 204, 0, 0.28);
}

.domain {
  width: fit-content;
  margin: 22px 0 0;
  padding: 8px 18px 10px;
  border: 2px solid rgba(121, 79, 39, 0.12);
  border-radius: 18px;
  color: #3d5a1a;
  background: rgba(209, 218, 73, 0.86);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 0 rgba(154, 131, 90, 0.34);
}

.intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--body);
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 700;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0 28px;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(189, 174, 160, 0.9);
}

.button.primary {
  background: #f8f8f0;
}

.button.secondary {
  background: rgba(225, 140, 111, 0.94);
  color: #fffaf0;
  box-shadow: 0 5px 0 rgba(154, 83, 60, 0.58);
}

.leaf,
.sun-chip {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.leaf {
  width: 64px;
  height: 34px;
  border-radius: 70% 18% 70% 18%;
  background: linear-gradient(135deg, #a9cf52, #6fba2c);
  box-shadow:
    inset -10px -7px 0 rgba(61, 90, 26, 0.13),
    0 8px 18px rgba(61, 90, 26, 0.16);
}

.leaf::after {
  position: absolute;
  top: 15px;
  left: 10px;
  width: 42px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(-24deg);
}

.leaf-one {
  top: 18%;
  right: 36%;
  transform: rotate(-18deg);
}

.leaf-two {
  right: 12%;
  bottom: 27%;
  transform: scale(0.82) rotate(26deg);
}

.sun-chip {
  top: 17%;
  right: 15%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(247, 205, 103, 0.72);
  box-shadow:
    inset 0 -8px 0 rgba(219, 169, 14, 0.16),
    0 10px 28px rgba(245, 195, 28, 0.18);
}

.garden {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.garden-card {
  min-height: 190px;
  padding: 24px;
  border: 2px solid rgba(121, 79, 39, 0.12);
  border-radius: var(--radius-lg);
  color: var(--text);
  box-shadow:
    0 6px 0 rgba(189, 174, 160, 0.74),
    0 14px 34px rgba(61, 52, 40, 0.12);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.garden-card.mint {
  background: #82d5bb;
}

.garden-card.coral {
  background: #e59266;
  color: #fffaf0;
}

.garden-card.yellow {
  background: #f7cd67;
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(86px, 118px);
  align-items: center;
  gap: 16px;
}

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

.tool-art {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 1;
  justify-self: end;
  border: 2px solid rgba(121, 79, 39, 0.1);
  border-radius: 22px;
  background: rgba(248, 248, 240, 0.72);
  box-shadow:
    0 5px 0 rgba(107, 92, 67, 0.22),
    0 12px 24px rgba(61, 52, 40, 0.12);
  image-rendering: pixelated;
  object-fit: cover;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(248, 248, 240, 0.8);
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(107, 92, 67, 0.22);
}

.garden-card h2 {
  margin: 22px 0 8px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.garden-card p {
  max-width: 18rem;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 18px;
  border: 2px solid rgba(121, 79, 39, 0.12);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(248, 248, 240, 0.88);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(107, 92, 67, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tool-link:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(107, 92, 67, 0.24);
}

.hello-burst {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.hello-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 204, 0, 0.26), transparent 19rem),
    rgba(248, 248, 240, 0.48);
  backdrop-filter: blur(3px);
}

.hello-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(780px, calc(100vw - 28px));
  min-height: clamp(220px, 46vw, 420px);
  border: 3px solid rgba(121, 79, 39, 0.14);
  border-radius: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(circle at 18% 20%, rgba(130, 213, 187, 0.56), transparent 12rem),
    radial-gradient(circle at 82% 76%, rgba(225, 140, 111, 0.45), transparent 12rem),
    rgba(247, 243, 223, 0.9);
  box-shadow:
    0 12px 0 rgba(189, 174, 160, 0.82),
    0 38px 80px rgba(61, 52, 40, 0.22);
  will-change: transform, opacity;
}

.hello-word {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: var(--text);
  font-size: clamp(76px, 17vw, 190px);
  font-weight: 900;
  line-height: 0.82;
  text-shadow:
    0 7px 0 rgba(255, 204, 0, 0.35),
    0 13px 24px rgba(107, 92, 67, 0.2);
  will-change: transform, opacity;
}

.hello-chip {
  position: absolute;
  z-index: 1;
  width: clamp(22px, 5vw, 48px);
  height: clamp(22px, 5vw, 48px);
  border: 2px solid rgba(121, 79, 39, 0.1);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(107, 92, 67, 0.22);
  will-change: transform, opacity;
}

.chip-mint {
  top: 18%;
  left: 17%;
  background: #82d5bb;
}

.chip-coral {
  right: 17%;
  bottom: 17%;
  background: #e59266;
}

.chip-yellow {
  right: 23%;
  top: 18%;
  background: #f7cd67;
}

.chip-leaf {
  bottom: 23%;
  left: 22%;
  background: #8ac68a;
}

.site-footer {
  display: flex;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

.site-footer a {
  min-height: 36px;
  padding: 8px 16px;
  border: 2px solid rgba(121, 79, 39, 0.1);
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: rgba(248, 248, 240, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 0 rgba(189, 174, 160, 0.62);
  backdrop-filter: blur(10px);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

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

@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 0 rgba(189, 174, 160, 0.9);
  }

  .garden-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 9px 0 rgba(189, 174, 160, 0.74),
      0 18px 42px rgba(61, 52, 40, 0.14);
  }

  .tool-link:hover,
  .tool-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(107, 92, 67, 0.24);
  }

  .site-footer a:hover,
  .site-footer a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 720px);
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }

  .hero {
    min-height: 630px;
    border-radius: 26px;
  }

  .topbar {
    padding: 16px;
  }

  .status-pill {
    display: none;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 64px auto 0;
    padding-bottom: 96px;
  }

  .texture {
    background:
      linear-gradient(180deg, rgba(248, 248, 240, 0.72), rgba(248, 248, 240, 0.1) 62%),
      radial-gradient(circle at 50% 28%, rgba(255, 249, 220, 0.78), transparent 18rem);
  }

  .actions {
    gap: 12px;
  }

  .button {
    flex: 1 1 168px;
  }

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

  .garden-card {
    min-height: 156px;
  }

  .tool-card {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .leaf-one {
    top: 15%;
    right: 16%;
  }

  .leaf-two,
  .sun-chip {
    display: none;
  }
}

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

  .brand-pill {
    max-width: 100%;
    padding: 0 14px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .domain {
    max-width: 100%;
    font-size: clamp(21px, 7vw, 30px);
    overflow-wrap: anywhere;
  }

  .intro {
    font-size: 16px;
  }

  .tool-card {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
  }

  .tool-art {
    max-width: 86px;
    border-radius: 18px;
  }
}

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