:root {
  --ink: #0b2b1d;
  --ink-soft: #234535;
  --paper: #f7f8ed;
  --cream: #fffce8;
  --line: #06c755;
  --line-dark: #049b43;
  --lime: #dff25a;
  --yellow: #ffd35a;
  --blue: #b9dcff;
  --red: #ff765e;
  --mint: #bfeac6;
  --border: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(223, 242, 90, .45), transparent 28rem),
    var(--paper);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible { outline: 3px solid #1264d8; outline-offset: 4px; }

.page-shell { min-height: 100vh; }
.section-pad { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(247, 248, 237, .9);
  border-bottom: 1px solid rgba(11, 43, 29, .18);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Outfit", sans-serif; }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--line);
  border: var(--border);
  border-radius: 47% 52% 50% 43%;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 17px;
  font-weight: 900;
  transform: rotate(-2deg);
}

.brand-leaf {
  position: absolute;
  width: 13px;
  height: 8px;
  top: -6px;
  right: 3px;
  background: var(--ink);
  border-radius: 90% 10% 90% 10%;
  transform: rotate(-22deg);
}

.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 29px; font-size: 14px; font-weight: 700; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--line);
  transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  background: var(--cream);
  border: var(--border);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.button-small { min-height: 42px; padding: 10px 18px; background: white; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.button-primary { color: white; background: var(--line); }
.button-primary:hover { background: #08b84f; }
.button svg { width: 25px; height: 25px; fill: currentColor; }

.hero {
  position: relative;
  min-height: 690px;
  padding-top: 74px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, .95fr);
  gap: 54px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 35px max(12px, calc((100vw - 1260px) / 2)) 38px auto;
  width: 42%;
  max-width: 540px;
  border-radius: 55% 45% 44% 56% / 48% 56% 44% 52%;
  background: var(--mint);
  z-index: -1;
  transform: rotate(-2deg);
}

.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: "Outfit", "Noto Sans TC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; font-family: "Noto Sans TC", sans-serif; letter-spacing: .08em; }
.eyebrow span { width: 10px; height: 10px; background: var(--line); border: 2px solid var(--ink); border-radius: 50%; }

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.07;
  letter-spacing: -.065em;
  font-weight: 900;
}

.hero h1 em { color: var(--line-dark); font-style: normal; white-space: nowrap; }
.hero-intro { max-width: 610px; margin: 30px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { font-weight: 800; border-bottom: 2px solid var(--ink); }
.text-link span { display: inline-block; margin-left: 5px; }
.hero-note { margin: 17px 0 0 5px; color: #5d7467; font-size: 13px; font-weight: 600; }

.hero-visual { position: relative; min-height: 560px; }
.phone {
  position: absolute;
  width: 330px;
  height: 610px;
  top: 0;
  right: 15px;
  overflow: hidden;
  background: #eef1eb;
  border: 3px solid var(--ink);
  border-radius: 42px;
  box-shadow: 12px 14px 0 rgba(11, 43, 29, .95);
  transform: rotate(2.4deg);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 50%;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 0 0 16px 16px;
}

.phone-top {
  height: 82px;
  padding: 28px 16px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border-bottom: 1px solid #d4d9d3;
}
.phone-top .back { font-size: 31px; line-height: 1; }
.phone-avatar { width: 36px; height: 36px; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--mint); }
.phone-top div { display: flex; flex-direction: column; line-height: 1.2; }
.phone-top strong { font-size: 13px; }
.phone-top div span { color: #839086; font-size: 10px; }
.phone-top .more { margin-left: auto; letter-spacing: 2px; font-weight: 900; }
.chat-date { width: max-content; margin: 14px auto 18px; padding: 2px 8px; color: white; background: #9ba69d; border-radius: 10px; font-size: 9px; }
.chat-row { display: flex; align-items: flex-start; gap: 7px; padding: 0 12px; margin-bottom: 11px; }
.user-row { justify-content: flex-end; }
.chat-avatar { width: 29px; height: 29px; object-fit: cover; background: var(--mint); border: 1px solid var(--ink); border-radius: 50%; }
.bubble { max-width: 235px; padding: 9px 12px; border-radius: 15px; font-size: 12px; line-height: 1.55; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.user-bubble { background: #8de25f; border-top-right-radius: 4px; }
.machi-bubble { background: white; border-top-left-radius: 4px; }
.voice-bubble { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.play-icon { width: 26px; height: 26px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: 9px; padding-left: 2px; }
.wave { flex: 1; height: 24px; display: flex; gap: 3px; align-items: center; }
.wave i { width: 3px; background: var(--ink); border-radius: 2px; }
.wave i:nth-child(1), .wave i:nth-child(7) { height: 7px; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 13px; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 20px; }
.wave i:nth-child(4) { height: 10px; }
.voice-bubble small { font-size: 8px; }
.typing-row { position: absolute; left: 0; right: 0; bottom: 0; height: 53px; padding: 8px 13px 12px; display: flex; align-items: center; gap: 8px; background: white; font-size: 16px; }
.typing-row div { flex: 1; padding: 7px 12px; color: #a4aaa5; background: #f4f5f3; border: 1px solid #dfe3df; border-radius: 15px; font-size: 10px; }

.mascot-wrap { position: absolute; width: 240px; left: -36px; bottom: -32px; z-index: 5; }
.hero-mascot { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(5px 7px 0 rgba(11,43,29,.28)); }
.mascot-caption { position: absolute; left: -13px; bottom: 4px; width: max-content; padding: 7px 13px; background: white; border: var(--border); border-radius: 999px; font-size: 12px; font-weight: 800; transform: rotate(-3deg); }
.taiwan-stamp { position: absolute; top: 39px; left: -12px; width: 84px; height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; color: var(--ink); border: 3px double var(--ink); border-radius: 50%; font-weight: 900; line-height: 1.2; transform: rotate(-12deg); }
.taiwan-stamp small { font-family: "Outfit", sans-serif; font-size: 7px; letter-spacing: .08em; }

.ticker { overflow: hidden; color: white; background: var(--ink); border-block: 2px solid var(--ink); transform: rotate(-.5deg) scale(1.01); }
.ticker-track { width: max-content; padding: 12px 0; display: flex; align-items: center; gap: 24px; animation: ticker 28s linear infinite; font-weight: 800; letter-spacing: .04em; }
.ticker-track i { color: var(--lime); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.why { padding-top: 126px; padding-bottom: 132px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.section-heading h2, .ideas h2, .privacy h2, .join h2 { margin: 0; font-size: clamp(37px, 4.5vw, 62px); line-height: 1.18; letter-spacing: -.055em; }
.section-heading h2 span { color: var(--line-dark); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { position: relative; min-height: 345px; padding: 32px; overflow: hidden; border: var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.feature-green { background: #c7efce; }
.feature-yellow { background: #ffdf78; }
.feature-blue { background: #c7e3ff; }
.feature-red { background: #ff907d; }
.feature-number { position: absolute; top: 24px; right: 27px; font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 800; }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--cream); border: var(--border); border-radius: 18px; font-weight: 900; transform: rotate(-3deg); }
.feature-card h3 { max-width: 430px; margin: 30px 0 12px; font-size: 25px; line-height: 1.35; letter-spacing: -.035em; }
.feature-card p { max-width: 460px; margin: 0; color: var(--ink-soft); }
.feature-sample, .memory-tags, .photo-stack, .mood-scale { position: absolute; left: 32px; right: 32px; bottom: 27px; }
.feature-sample { display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: rgba(255,255,255,.72); border: 1.5px solid var(--ink); border-radius: 14px; }
.mini-play { width: 27px; height: 27px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: 8px; }
.mini-wave { width: 72px; height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 6px); clip-path: polygon(0 42%,8% 20%,16% 60%,24% 0,32% 76%,40% 32%,48% 65%,56% 15%,64% 78%,72% 37%,80% 55%,88% 20%,100% 45%,100% 58%,88% 76%,80% 53%,72% 80%,64% 32%,56% 85%,48% 45%,40% 68%,32% 24%,24% 100%,16% 40%,8% 80%,0 58%); }
.feature-sample small { font-size: 12px; font-weight: 700; }
.memory-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.memory-tags span { padding: 7px 11px; background: rgba(255,255,255,.72); border: 1.5px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; }
.photo-stack { height: 54px; display: flex; align-items: center; }
.photo-stack span { width: 72px; height: 52px; display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 11px; font-size: 12px; font-weight: 800; }
.photo-stack span:nth-child(2) { transform: rotate(6deg) translateX(-8px); background: #eef6ff; }
.photo-stack span:nth-child(3) { transform: rotate(-5deg) translateX(-16px); background: var(--yellow); font-size: 21px; }
.mood-scale { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; font-weight: 800; }
.mood-scale div { height: 10px; background: rgba(255,255,255,.6); border: 1.5px solid var(--ink); border-radius: 999px; }
.mood-scale div i { display: block; width: 72%; height: 100%; background: var(--ink); border-radius: inherit; }

.taiwan-context {
  position: relative;
  padding-top: 120px;
  padding-bottom: 124px;
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(520px, 1.26fr);
  gap: 72px;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
  border-block: var(--border);
}

.taiwan-context::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -95px;
  bottom: -120px;
  background: var(--lime);
  border: var(--border);
  border-radius: 50%;
}

.context-copy, .context-demo { position: relative; z-index: 1; }
.taiwan-context .section-kicker { color: #174f83; }
.taiwan-context h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 63px);
  line-height: 1.14;
  letter-spacing: -.055em;
}
.taiwan-context h2 span { color: #075caa; }
.context-intro { margin: 27px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.context-culture { margin: 17px 0 0; color: var(--ink); font-weight: 700; }
.context-prompts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.context-prompts span {
  padding: 8px 12px;
  background: rgba(255,255,255,.72);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
}
.context-prompts span:nth-child(2) { background: var(--yellow); transform: rotate(1deg); }
.context-note { margin: 18px 0 0; color: #4d6778; font-size: 13px; font-weight: 600; }

.context-demo {
  overflow: hidden;
  color: var(--ink);
  background: #edf1ed;
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: 10px 11px 0 var(--ink);
  transform: rotate(.7deg);
}
.context-demo-bar {
  min-height: 54px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  border-bottom: var(--border);
  font-size: 11px;
  font-weight: 800;
}
.context-demo-bar > span:last-child {
  padding: 4px 9px;
  color: #53685d;
  background: #eef1eb;
  border-radius: 999px;
}
.context-signal { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.context-signal i {
  width: 10px;
  height: 10px;
  background: var(--line);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(6,199,85,.16);
}
.context-chat { min-height: 530px; padding: 25px 23px 27px; }
.context-user-bubble {
  width: max-content;
  max-width: 78%;
  margin: 0 0 20px auto;
  padding: 11px 15px;
  background: #96e66f;
  border: 1.5px solid var(--ink);
  border-radius: 17px 5px 17px 17px;
  font-size: 14px;
  font-weight: 700;
}
.context-reply { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 10px; align-items: start; }
.context-reply-head { display: contents; }
.context-reply-head img {
  width: 43px;
  height: 43px;
  grid-column: 1;
  grid-row: 1;
  object-fit: cover;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.context-reply-head > div {
  min-height: 43px;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}
.context-reply-head strong { font-size: 13px; }
.context-reply-head small { margin-top: 3px; color: #65786d; font-size: 11px; }
.context-answer {
  grid-column: 2;
  padding: 15px;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 5px 20px 20px 20px;
  box-shadow: 3px 3px 0 rgba(11,43,29,.22);
}
.context-answer > p:first-child { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.7; }
.context-sources { margin-top: 13px; display: grid; gap: 9px; }
.context-source {
  padding: 11px 12px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
}
.source-threads { background: #f2f2f2; }
.source-dcard { background: #e3f1ff; }
.source-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.source-line span {
  padding: 2px 7px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.source-threads .source-line span { background: #111; }
.source-dcard .source-line span { background: #1479c9; }
.source-line small { color: #65786d; font-size: 10px; font-weight: 700; }
.context-source > strong { display: block; margin-top: 7px; font-size: 13px; line-height: 1.4; }
.context-source > p { margin: 3px 0 0; color: #617368; font-size: 11px; }
.context-source-note { margin: 11px 0 0 !important; color: #4e6e5c; font-size: 11px; font-weight: 700; }
.context-source-note span { color: var(--line-dark); font-size: 14px; }

.ideas { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; color: white; background: var(--ink); }
.ideas-copy > p:last-child { max-width: 360px; color: #bcd0c5; }
.ideas .section-kicker { color: var(--lime); }
.chat-demo { overflow: hidden; color: var(--ink); background: var(--cream); border: 2px solid white; border-radius: 30px; box-shadow: 10px 10px 0 var(--line); }
.demo-tabs { padding: 14px; display: flex; gap: 9px; border-bottom: var(--border); background: #e8efdf; }
.demo-tab { flex: 1; min-height: 44px; padding: 8px 12px; color: var(--ink); background: transparent; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; }
.demo-tab.active { background: white; border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.demo-screen { min-height: 335px; padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.demo-prompt, .demo-answer { display: flex; align-items: flex-start; gap: 12px; }
.demo-prompt { justify-content: flex-end; }
.demo-prompt > span, .demo-answer > img { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; object-fit: cover; background: var(--yellow); border: var(--border); border-radius: 50%; font-size: 11px; font-weight: 900; order: 2; }
.demo-prompt p { max-width: 78%; margin: 0; padding: 13px 16px; background: #97e76d; border: var(--border); border-radius: 18px 5px 18px 18px; font-weight: 600; }
.demo-answer > img { order: initial; background: var(--mint); }
.demo-answer > div { max-width: 83%; }
.demo-answer span { font-size: 12px; font-weight: 800; }
.demo-answer p { margin: 5px 0 8px; padding: 13px 16px; background: white; border: var(--border); border-radius: 5px 18px 18px 18px; font-weight: 600; }
.demo-answer small { color: #63776b; font-size: 12px; }

.privacy { padding-top: 110px; padding-bottom: 110px; }
.privacy-card { padding: 50px; display: grid; grid-template-columns: 120px 1fr .8fr; gap: 45px; align-items: center; background: white; border: var(--border); border-radius: 32px; box-shadow: var(--shadow); }
.privacy-seal { width: 112px; height: 112px; display: grid; place-items: center; background: var(--mint); border: var(--border); border-radius: 50%; }
.privacy-seal svg { width: 58px; height: 58px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.privacy h2 { max-width: 650px; font-size: clamp(32px, 4vw, 52px); }
.privacy-copy > p:not(.section-kicker) { color: var(--ink-soft); }
.privacy-source { margin-bottom: 0; color: #64796c !important; font-size: 13px; }
.privacy-points { display: flex; flex-direction: column; gap: 14px; }
.privacy-points span { display: flex; gap: 11px; align-items: flex-start; font-weight: 700; }
.privacy-points i { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; color: white; background: var(--line); border: 1.5px solid var(--ink); border-radius: 50%; font-size: 12px; font-style: normal; }

.join { position: relative; min-height: 590px; padding-top: 95px; padding-bottom: 95px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; overflow: hidden; background: var(--yellow); border-block: var(--border); }
.join::after { content: "HEY MACHI"; position: absolute; left: 2%; bottom: -38px; color: rgba(11,43,29,.075); font-family: "Outfit", sans-serif; font-size: 18vw; font-weight: 900; letter-spacing: -.08em; white-space: nowrap; }
.join-copy { position: relative; z-index: 2; }
.join-copy > p:not(.section-kicker):not(.join-status) { max-width: 500px; font-size: 18px; }
.button-large { min-height: 62px; margin-top: 15px; padding: 15px 28px; font-size: 18px; }
.join-status { margin: 13px 0 0 6px; font-size: 13px; font-weight: 700; }
.join-art { position: relative; z-index: 2; min-height: 400px; }
.join-art img { position: absolute; width: 360px; height: auto; left: 50%; bottom: -80px; transform: translateX(-50%); filter: drop-shadow(0 14px 10px rgba(11,43,29,.25)); }
.join-bubble { position: absolute; z-index: 3; padding: 13px 18px; background: white; border: var(--border); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); font-weight: 800; }
.bubble-one { top: 55px; left: 5%; transform: rotate(-4deg); }
.bubble-two { top: 155px; right: 3%; transform: rotate(4deg); background: #96e66f; }

.site-footer { min-height: 150px; padding: 34px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: white; background: var(--ink); }
.footer-brand .brand-mark { border-color: white; }
.site-footer > p { color: #bcd0c5; font-size: 14px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; font-size: 13px; }
.footer-links a { color: var(--lime); font-weight: 700; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .site-header .button-small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 62px; }
  .hero::before { width: 78%; inset: auto 2% 55px auto; height: 510px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 570px); min-height: 650px; margin: 15px auto 0; }
  .feature-card { min-height: 370px; }
  .taiwan-context { grid-template-columns: 1fr; gap: 52px; }
  .context-copy { max-width: 760px; }
  .context-demo { width: min(100%, 760px); margin: 0 auto; }
  .ideas { grid-template-columns: 1fr; gap: 42px; }
  .ideas-copy > p:last-child { max-width: 600px; }
  .privacy-card { grid-template-columns: 100px 1fr; }
  .privacy-points { grid-column: 2; }
  .privacy-seal { width: 94px; height: 94px; }
}

@media (max-width: 700px) {
  .section-pad { padding-inline: 20px; }
  .site-header { min-height: 66px; padding: 10px 17px; }
  .brand-mark { width: 37px; height: 37px; font-size: 15px; }
  .brand-name { font-size: 19px; }
  .button-small { min-height: 39px; padding: 9px 15px; }
  .hero { min-height: auto; padding-top: 52px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero h1 em { white-space: normal; }
  .hero-intro { margin-top: 24px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-note { margin-top: 14px; }
  .hero-visual { min-height: 555px; width: 100%; }
  .phone { width: 286px; height: 540px; right: 2px; border-radius: 35px; }
  .bubble { max-width: 205px; font-size: 10.5px; }
  .mascot-wrap { width: 195px; left: -28px; bottom: -20px; }
  .mascot-caption { left: 12px; }
  .taiwan-stamp { width: 68px; height: 68px; left: 1px; font-size: 13px; }
  .ticker-track { gap: 18px; font-size: 14px; }
  .why { padding-top: 92px; padding-bottom: 98px; }
  .section-heading { margin-bottom: 37px; }
  .section-heading h2, .ideas h2, .join h2 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { min-height: 360px; padding: 27px; }
  .feature-sample, .memory-tags, .photo-stack, .mood-scale { left: 27px; right: 27px; }
  .taiwan-context { padding-top: 82px; padding-bottom: 88px; gap: 38px; }
  .taiwan-context h2 { font-size: 38px; }
  .context-intro { font-size: 16px; }
  .context-demo { border-radius: 23px; box-shadow: 7px 7px 0 var(--ink); transform: none; }
  .context-chat { min-height: 0; padding: 22px 15px 20px; }
  .context-user-bubble { max-width: 88%; }
  .context-reply { grid-template-columns: 37px minmax(0, 1fr); gap: 8px; }
  .context-reply-head img { width: 37px; height: 37px; }
  .context-reply-head > div { min-height: 37px; }
  .context-answer { padding: 12px; }
  .source-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ideas { padding-top: 87px; padding-bottom: 93px; }
  .chat-demo { border-radius: 23px; box-shadow: 7px 7px 0 var(--line); }
  .demo-tabs { overflow-x: auto; }
  .demo-tab { flex: 0 0 auto; min-width: 92px; }
  .demo-screen { min-height: 370px; padding: 25px 18px; }
  .demo-prompt p, .demo-answer > div { max-width: 82%; }
  .privacy { padding-top: 80px; padding-bottom: 83px; }
  .privacy-card { padding: 30px 24px; grid-template-columns: 1fr; gap: 28px; }
  .privacy-seal { width: 82px; height: 82px; }
  .privacy-points { grid-column: auto; }
  .join { min-height: 720px; padding-top: 76px; padding-bottom: 0; grid-template-columns: 1fr; align-items: start; }
  .join-art { min-height: 430px; }
  .join-art img { width: 285px; bottom: 16px; }
  .bubble-one { top: 45px; left: 0; }
  .bubble-two { top: 130px; right: 0; }
  .site-footer { padding-block: 38px; grid-template-columns: 1fr; gap: 17px; }
  .site-footer > p { margin: 0; }
  .footer-links { align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; gap: 16px 22px; }
}

@media (max-width: 390px) {
  .site-header .brand-name { display: none; }
  .phone { right: -16px; }
  .mascot-wrap { left: -35px; }
  .mascot-caption { left: 20px; }
}
