@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown-950: #351208;
  --brown-900: #451707;
  --brown-800: #5b210d;
  --orange: #ec4b06;
  --yellow: #ffb800;
  --green-950: #173d2c;
  --green-900: #204b35;
  --green-800: #2e6248;
  --green-100: #dbe8dc;
  --cream: #f3efe6;
  --paper: #faf8f2;
  --white: #fff;
  --ink: #172019;
  --muted: #6d7068;
  --line: rgba(23, 32, 25, .14);
  --soft-shadow: 0 20px 60px rgba(27, 20, 15, .12);
  --font: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #e9e5db;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg use[href="#brand-eye"] { stroke: none; }
.eye-outer { fill: var(--yellow); }
.eye-core { fill: var(--brown-800); }
.eye-light { fill: var(--paper); }

.demo-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(265px, .8fr) minmax(430px, .9fr) minmax(295px, .78fr);
  isolation: isolate;
  overflow: hidden;
}
.demo-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,184,0,.18), transparent 24%),
    linear-gradient(135deg, #f6f1e7 0 68%, #eee7dc 68%);
}

.story-panel {
  position: relative;
  min-width: 0;
  min-height: 100svh;
  padding: clamp(32px, 4.5vw, 70px) clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(53,18,8,.96), rgba(69,23,7,.92)),
    url("/static/assets/cerrado-hero.webp") 58% center/cover;
  overflow: hidden;
}
.story-panel::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -310px;
  top: 22%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.018);
}
.story-panel::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 13px;
  background: var(--orange);
}
.outer-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}
.outer-brand svg { width: 57px; height: 38px; }
.outer-brand b, .outer-brand small { display: block; font-size: 14px; letter-spacing: -.03em; }
.outer-brand small { margin-top: 2px; font-weight: 680; }
.story-copy { position: relative; z-index: 2; margin: auto 0; }
.outer-kicker { margin: 0 0 22px !important; color: var(--yellow) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .18em; }
.story-copy h1 { margin: 0; font-size: clamp(48px, 5.3vw, 84px); line-height: .9; letter-spacing: -.07em; }
.story-copy h1 em { color: var(--yellow); font-style: normal; font-weight: 560; }
.story-copy > p { max-width: 370px; margin: 28px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.7; }
.story-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.story-foot p { margin: 0; color: rgba(255,255,255,.42); font-size: 7px; letter-spacing: .15em; text-transform: uppercase; }
.live-label { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.78); font-size: 9px; }
.live-label i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.live-label i::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--yellow); border-radius: 50%; animation: pulse 2s infinite; }

.phone-stage {
  position: relative;
  min-width: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 18px;
}
.stage-glow {
  position: absolute;
  width: min(620px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 70px rgba(255,255,255,.18), 0 0 0 140px rgba(255,255,255,.1);
}
.device {
  position: relative;
  z-index: 2;
  width: min(414px, 32vw, calc((100svh - 84px) * .48));
  min-width: 332px;
  aspect-ratio: 414 / 862;
  padding: 11px;
  border: 1px solid #080808;
  border-radius: 52px;
  background: linear-gradient(145deg, #4d4d4f 0, #080808 15%, #252527 55%, #030303 100%);
  box-shadow: 0 38px 80px rgba(49,34,25,.28), 0 8px 20px rgba(0,0,0,.22), inset 0 0 0 2px #5a5a5d;
}
.device::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 47px;
  border: 1px solid rgba(255,255,255,.14);
  pointer-events: none;
}
.side-button { position: absolute; width: 3px; border-radius: 3px 0 0 3px; background: #202024; box-shadow: -1px 0 #656568; }
.volume-one { height: 54px; top: 142px; left: -4px; }
.volume-two { height: 54px; top: 207px; left: -4px; }
.power { height: 82px; top: 165px; right: -4px; border-radius: 0 3px 3px 0; box-shadow: 1px 0 #656568; }
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: var(--paper);
  isolation: isolate;
}
.status-bar {
  position: absolute;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 29px;
  padding: 7px 21px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
}
.dynamic-island { position: absolute; left: 50%; top: 7px; width: 90px; height: 23px; transform: translateX(-50%); border-radius: 20px; background: #050505; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.signal { width: 13px; height: 8px; background: linear-gradient(to right, #111 0 16%, transparent 16% 25%, #111 25% 44%, transparent 44% 53%, #111 53% 72%, transparent 72% 81%, #111 81%); clip-path: polygon(0 100%,0 75%,18% 75%,18% 55%,43% 55%,43% 32%,68% 32%,68% 0,100% 0,100% 100%); }
.wifi { width: 12px; height: 9px; border-top: 2px solid #111; border-radius: 50%; position: relative; }
.wifi::after { content: ""; position: absolute; width: 3px; height: 3px; left: 4px; top: 3px; border-radius: 50%; background: #111; }
.battery { position: relative; width: 18px; height: 9px; border: 1.5px solid #111; border-radius: 2px; }
.battery::before { content: ""; position: absolute; inset: 1px; right: 3px; border-radius: 1px; background: #111; }
.battery::after { content: ""; position: absolute; width: 2px; height: 4px; right: -3px; top: 1px; border-radius: 0 2px 2px 0; background: #111; }
.app-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}
.app-loading { height: 100%; display: grid; place-content: center; justify-items: center; gap: 13px; color: var(--brown-800); font-size: 11px; }
.app-loading svg { width: 76px; height: 50px; animation: breathe 1.5s ease-in-out infinite; }
.home-indicator { position: absolute; z-index: 120; left: 50%; bottom: 5px; width: 112px; height: 4px; transform: translateX(-50%); border-radius: 10px; background: #111; pointer-events: none; }
.drag-hint { position: relative; z-index: 2; margin-top: 10px; display: flex; align-items: center; gap: 6px; color: #73736c; font-size: 8px; letter-spacing: .04em; }
.drag-hint svg { width: 12px; height: 12px; color: var(--orange); }

.guide-panel {
  min-width: 0;
  min-height: 100svh;
  padding: clamp(32px, 4.5vw, 70px) clamp(28px, 4vw, 62px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(69,23,7,.09);
  background: rgba(250,248,242,.68);
  backdrop-filter: blur(18px);
}
.guide-topline { display: flex; align-items: center; justify-content: space-between; color: var(--green-900); font-size: 8px; letter-spacing: .13em; }
.guide-topline span { display: grid; place-items: center; width: 47px; height: 25px; color: white; background: var(--green-900); border-radius: 99px; letter-spacing: .05em; }
.guide-content { margin: auto 0 28px; }
.guide-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--yellow); background: var(--green-900); }
.guide-icon svg { width: 23px; height: 23px; }
.guide-kicker { margin: 24px 0 12px; color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.guide-content h2 { max-width: 370px; margin: 0; color: var(--green-950); font-size: clamp(26px, 2.6vw, 39px); line-height: 1.02; letter-spacing: -.052em; }
.guide-content > p:not(.guide-kicker) { max-width: 370px; margin: 17px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.guide-content ul { margin: 23px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.guide-content li { display: flex; gap: 9px; color: #586058; font-size: 10px; }
.guide-content li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 4px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.17); }
.demo-routes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.demo-routes button { min-height: 39px; padding: 8px 9px; display: flex; gap: 8px; align-items: center; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #4f554e; background: transparent; cursor: pointer; text-align: left; font-size: 9px; }
.demo-routes button:hover, .demo-routes button.active { color: var(--green-900); background: rgba(255,184,0,.14); }
.demo-routes button span { color: var(--orange); font-size: 7px; font-weight: 800; }
.data-note { margin: 17px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 9px; color: #7b7a72; font-size: 7px; line-height: 1.45; }
.data-note svg { width: 15px; height: 15px; color: var(--green-800); }
.data-note b { display: block; margin-bottom: 2px; color: #4d554e; }

/* Application shell */
.app-screen {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 29px;
  padding-bottom: 81px;
  scrollbar-width: none;
  animation: screen-in .25s ease both;
}
.app-screen::-webkit-scrollbar, .horizontal-scroll::-webkit-scrollbar, .category-scroll::-webkit-scrollbar, .detail-tabs::-webkit-scrollbar { display: none; }
.screen-header {
  min-height: 57px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(250,248,242,.96);
}
.screen-header.compact { min-height: 51px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.app-brand { display: inline-flex; align-items: center; gap: 7px; line-height: .95; }
.app-brand svg { width: 40px; height: 27px; }
.app-brand b, .app-brand small { display: block; font-size: 11px; letter-spacing: -.035em; }
.app-brand small { margin-top: 1px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 3px; }
.icon-button, .back-button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover, .back-button:hover { background: rgba(32,75,53,.08); }
.icon-button svg, .back-button svg { width: 19px; height: 19px; }
.header-title { flex: 1; min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: -.03em; }

.app-bottom-nav {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  height: 73px;
  padding: 7px 7px 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  border-top: 1px solid rgba(23,32,25,.12);
  background: rgba(255,255,253,.97);
  backdrop-filter: blur(16px);
}
.app-bottom-nav[hidden] { display: none; }
.app-bottom-nav button { position: relative; height: 48px; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; color: #898c85; background: transparent; cursor: pointer; font-size: 8px; }
.app-bottom-nav svg { width: 19px; height: 19px; }
.app-bottom-nav button.active { color: var(--green-900); font-weight: 800; }
.app-bottom-nav button.active::before { content: ""; position: absolute; top: -8px; width: 23px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-count { position: absolute; top: 1px; right: 12px; min-width: 14px; height: 14px; padding: 0 3px; display: grid; place-items: center; border-radius: 99px; color: white; background: var(--orange); font-size: 7px; font-style: normal; }
.nav-count[hidden] { display: none; }

/* Welcome */
.welcome-screen { padding: 0; color: white; background: var(--brown-900); }
.welcome-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welcome-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,14,6,.1), rgba(53,18,8,.34) 32%, rgba(53,18,8,.96) 74%); }
.welcome-content { position: relative; z-index: 2; min-height: 100%; padding: 63px 25px 29px; display: flex; flex-direction: column; }
.welcome-brand { display: flex; align-items: center; gap: 10px; color: white; line-height: .98; }
.welcome-brand svg { width: 55px; height: 36px; }
.welcome-brand b, .welcome-brand small { display: block; font-size: 14px; }
.welcome-brand small { font-weight: 700; }
.welcome-tag { margin-top: auto; color: var(--yellow); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.welcome-content h2 { margin: 13px 0 14px; font-size: 39px; line-height: .92; letter-spacing: -.065em; }
.welcome-content h2 em { color: var(--yellow); font-style: normal; }
.welcome-content > p { max-width: 300px; margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }
.welcome-stats { margin: 22px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.welcome-stats div { padding: 12px 8px 12px 0; border-right: 1px solid rgba(255,255,255,.15); }
.welcome-stats div:last-child { padding-left: 9px; border: 0; }
.welcome-stats div:nth-child(2) { padding-left: 9px; }
.welcome-stats b, .welcome-stats span { display: block; }
.welcome-stats b { color: var(--yellow); font-size: 20px; }
.welcome-stats span { margin-top: 2px; color: rgba(255,255,255,.56); font-size: 7px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.primary-button { min-height: 49px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 2px; color: white; background: var(--orange); cursor: pointer; font-size: 11px; font-weight: 800; }
.primary-button svg { width: 18px; height: 18px; }
.primary-button:hover { background: #d64204; }
.welcome-skip { margin: 10px auto 0; padding: 7px; border: 0; color: rgba(255,255,255,.63); background: transparent; cursor: pointer; font-size: 8px; }

/* Home */
.home-hero { position: relative; min-height: 206px; padding: 34px 17px 16px; color: white; overflow: hidden; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,17,9,.82), rgba(41,17,9,.35)), linear-gradient(0deg, rgba(41,17,9,.45), transparent 55%); }
.home-hero-content { position: relative; z-index: 2; }
.home-hero h2 { max-width: 290px; margin: 0; font-size: 22px; line-height: 1.04; letter-spacing: -.045em; }
.home-hero h2 span { color: var(--yellow); }
.home-hero p { margin: 7px 0 14px; color: rgba(255,255,255,.78); font-size: 9px; line-height: 1.45; }
.app-search {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(23,32,25,.1);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 26px rgba(35,19,11,.15);
}
.app-search svg { width: 16px; height: 16px; color: #7a7d75; }
.app-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: 9px; }
.app-search input::placeholder { color: #93958f; }
.search-filter-button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--green-900); background: #eef2eb; cursor: pointer; }
.search-filter-button svg { color: inherit; }
.home-body { padding: 13px 14px 22px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick-grid button { min-width: 0; min-height: 65px; padding: 8px 3px 7px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; border-radius: 10px; color: var(--green-900); background: #eee9df; cursor: pointer; font-size: 7px; font-weight: 750; }
.quick-grid button:hover { background: #e6dfd1; }
.quick-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f8f5ee; }
.quick-grid svg { width: 17px; height: 17px; }
.section-row { margin: 17px 1px 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-row h3 { margin: 0; color: var(--green-950); font-size: 12px; letter-spacing: -.025em; }
.section-row button { padding: 3px; display: flex; align-items: center; gap: 2px; border: 0; color: #777b73; background: transparent; cursor: pointer; font-size: 7px; }
.section-row button svg { width: 12px; height: 12px; }
.horizontal-scroll { margin-right: -14px; padding-right: 14px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.feature-card { flex: 0 0 125px; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 9px; background: white; box-shadow: 0 2px 10px rgba(40,32,25,.08); cursor: pointer; text-align: left; scroll-snap-align: start; }
.feature-card .image-wrap { position: relative; height: 92px; overflow: hidden; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.feature-card:hover img { transform: scale(1.04); }
.feature-card .favorite-mini { position: absolute; top: 6px; right: 6px; }
.feature-card-body { padding: 8px; }
.feature-card h4 { margin: 0 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--green-950); font-size: 9px; }
.latin { margin: 0; color: #777c75; font-style: italic; font-size: 6.5px; }
.mini-tags { margin-top: 6px; display: flex; gap: 3px; flex-wrap: wrap; }
.mini-tags span { padding: 3px 4px; border-radius: 3px; color: var(--green-900); background: var(--green-100); font-size: 5.5px; font-weight: 800; text-transform: uppercase; }
.favorite-mini { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: #5c665e; background: rgba(255,255,255,.92); box-shadow: 0 3px 10px rgba(0,0,0,.12); cursor: pointer; }
.favorite-mini svg { width: 14px; height: 14px; }
.favorite-mini.active { color: var(--orange); }
.favorite-mini.active svg { fill: currentColor; }
.landscape-callout { position: relative; min-height: 83px; margin-top: 13px; padding: 14px 115px 14px 14px; overflow: hidden; border: 0; border-radius: 10px; color: white; background: var(--green-900); cursor: pointer; text-align: left; }
.landscape-callout img { position: absolute; top: 0; right: 0; width: 108px; height: 100%; object-fit: cover; }
.landscape-callout::after { content: ""; position: absolute; inset: 0 80px 0 0; background: linear-gradient(90deg, var(--green-900) 70%, transparent); }
.landscape-callout > *:not(img) { position: relative; z-index: 2; }
.landscape-callout small, .landscape-callout strong, .landscape-callout span { display: block; }
.landscape-callout small { color: var(--yellow); font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.landscape-callout strong { margin-top: 4px; font-size: 11px; }
.landscape-callout span { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 7px; line-height: 1.35; }

/* Catalog */
.catalog-hero { position: relative; min-height: 168px; padding: 29px 15px 13px; color: white; overflow: hidden; }
.catalog-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.catalog-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,20,11,.87), rgba(38,20,11,.32)), linear-gradient(0deg, rgba(38,20,11,.45), transparent); }
.catalog-hero > div { position: relative; z-index: 2; }
.catalog-hero h2 { max-width: 315px; margin: 0 0 5px; font-size: 20px; line-height: 1.05; letter-spacing: -.045em; }
.catalog-hero p { margin: 0 0 10px; color: rgba(255,255,255,.72); font-size: 8px; }
.catalog-content { padding: 11px 14px 24px; }
.filter-summary { display: flex; align-items: center; justify-content: space-between; }
.filter-summary strong { font-size: 11px; }
.clear-button { padding: 4px; border: 0; color: #7a7d75; background: transparent; cursor: pointer; font-size: 7px; }
.active-filter-row { margin: 8px -14px 10px 0; padding-right: 14px; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.filter-chip { flex: 0 0 auto; padding: 6px 8px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 99px; color: #596158; background: white; cursor: pointer; font-size: 7px; }
.filter-chip.active { color: white; border-color: var(--green-900); background: var(--green-900); }
.filter-chip svg { width: 11px; height: 11px; }
.result-meta { margin: 10px 0 7px; padding-top: 8px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #777c74; font-size: 7px; }
.result-meta b { color: var(--green-950); font-size: 9px; }
.results-list { display: grid; gap: 7px; }
.result-card { position: relative; min-height: 95px; padding: 7px 30px 7px 101px; border: 1px solid rgba(23,32,25,.08); border-radius: 9px; background: white; box-shadow: 0 2px 9px rgba(38,29,22,.05); cursor: pointer; }
.result-card > img { position: absolute; left: 7px; top: 7px; width: 86px; height: calc(100% - 14px); border-radius: 6px; object-fit: cover; }
.result-card h3 { margin: 2px 0 2px; color: var(--green-950); font-size: 10px; line-height: 1.1; }
.result-card > p:not(.latin) { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: #626860; font-size: 7px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.result-card .favorite-mini { position: absolute; top: 8px; right: 6px; width: 23px; height: 23px; box-shadow: none; background: #f5f2ea; }
.result-card .mini-tags { margin-top: 5px; }
.result-card .card-arrow { position: absolute; right: 8px; bottom: 8px; width: 13px; height: 13px; color: var(--green-800); }
.loading-list { display: grid; gap: 7px; }
.skeleton { position: relative; overflow: hidden; min-height: 95px; border-radius: 9px; background: #eae7df; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.2s infinite; }
.empty-state { min-height: 250px; padding: 42px 24px; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty-state .empty-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--green-800); background: var(--green-100); }
.empty-state svg { width: 26px; height: 26px; }
.empty-state h3 { margin: 14px 0 7px; color: var(--green-950); font-size: 14px; }
.empty-state p { max-width: 230px; margin: 0; color: #777c74; font-size: 9px; line-height: 1.5; }
.outline-small { margin-top: 14px; padding: 8px 12px; border: 1px solid var(--green-900); border-radius: 2px; color: var(--green-900); background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; }

/* Phone sheet */
.phone-sheet { position: absolute; z-index: 110; inset: 0; background: rgba(28,18,13,.5); backdrop-filter: blur(2px); }
.phone-sheet[hidden] { display: none; }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82%; padding: 11px 17px 26px; overflow-y: auto; border-radius: 24px 24px 0 0; background: var(--paper); animation: sheet-in .28s ease both; }
.sheet-handle { width: 39px; height: 4px; margin: 0 auto 13px; border-radius: 9px; background: #d2cfc7; }
.sheet-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-heading h3 { margin: 0; color: var(--green-950); font-size: 16px; }
.sheet-close { width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #ece9e1; cursor: pointer; }
.sheet-close svg { width: 15px; height: 15px; }
.filter-form { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter-form label { color: #555e55; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.filter-form label:first-child { grid-column: 1 / -1; }
.filter-form select { width: 100%; height: 39px; margin-top: 5px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; outline: 0; font-size: 8px; }
.sheet-actions { margin-top: 16px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.secondary-button { min-height: 42px; border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; font-size: 9px; font-weight: 750; }

/* Detail */
.detail-screen { padding-bottom: 77px; background: var(--paper); }
.detail-screen .screen-header { position: sticky; z-index: 10; top: 0; }
.detail-hero { position: relative; height: 235px; overflow: hidden; background: #ddd4c4; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(32,16,9,.52)); }
.detail-media-label { position: absolute; z-index: 2; left: 13px; bottom: 11px; padding: 5px 7px; border-radius: 4px; color: white; background: rgba(32,16,9,.6); backdrop-filter: blur(8px); font-size: 6px; text-transform: uppercase; letter-spacing: .08em; }
.detail-content { padding: 14px 15px 28px; }
.detail-title-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 8px; }
.detail-title-row h2 { margin: 0 0 4px; color: var(--green-950); font-size: 23px; line-height: 1; letter-spacing: -.05em; }
.native-badge { padding: 5px 7px; border-radius: 99px; color: var(--green-900); background: var(--green-100); font-size: 6px; font-weight: 800; text-transform: uppercase; }
.taxonomy { margin: 0; color: #6f756e; font-size: 8px; font-style: italic; }
.detail-description { margin: 13px 0; color: #565e56; font-size: 9px; line-height: 1.52; }
.detail-place { display: flex; align-items: center; gap: 5px; color: var(--green-800); font-size: 7px; font-weight: 750; }
.detail-place svg { width: 13px; height: 13px; }
.fact-grid { margin: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.fact-box { min-height: 59px; padding: 9px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.fact-box svg { grid-row: 1 / 3; align-self: center; width: 20px; height: 20px; color: var(--orange); }
.fact-box small { color: #7b8079; font-size: 6px; text-transform: uppercase; }
.fact-box strong { margin-top: 2px; font-size: 8px; }
.detail-tabs { position: sticky; z-index: 8; top: 51px; margin: 0 -15px; padding: 0 15px; display: flex; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(250,248,242,.97); scrollbar-width: none; }
.detail-tabs button { position: relative; flex: 0 0 auto; padding: 12px 10px 10px; border: 0; color: #747971; background: transparent; cursor: pointer; font-size: 7px; font-weight: 750; }
.detail-tabs button:first-child { padding-left: 0; }
.detail-tabs button.active { color: var(--green-950); }
.detail-tabs button.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; background: var(--orange); }
.detail-tabs button:first-child.active::after { left: 0; }
.detail-panel { padding: 16px 0 2px; animation: fade-in .2s ease; }
.detail-panel[hidden] { display: none; }
.detail-panel h3 { margin: 0 0 9px; color: var(--green-950); font-size: 11px; }
.detail-panel h3:not(:first-child) { margin-top: 16px; }
.detail-panel p, .detail-panel li { color: #616860; font-size: 8.5px; line-height: 1.55; }
.detail-panel ul { margin: 0; padding-left: 17px; }
.detail-panel li + li { margin-top: 6px; }
.use-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.use-chips span { padding: 6px 8px; border-radius: 99px; color: var(--green-900); background: var(--green-100); font-size: 7px; font-weight: 750; }
.info-card { margin-top: 9px; padding: 12px; border-left: 3px solid var(--yellow); border-radius: 0 7px 7px 0; background: #eee9df; }
.info-card strong { display: block; margin-bottom: 4px; color: var(--green-950); font-size: 8px; }
.info-card p { margin: 0; }
.ecology-list { display: grid; gap: 7px; }
.ecology-item { padding: 9px; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; border-radius: 7px; background: #f0ece3; }
.ecology-item span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--green-900); background: white; }
.ecology-item svg { width: 15px; height: 15px; }
.ecology-item p { margin: 0; }
.source-card { margin-bottom: 7px; padding: 11px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: white; }
.source-card > svg { width: 18px; height: 18px; color: var(--green-800); }
.source-card strong, .source-card small { display: block; }
.source-card strong { font-size: 8px; }
.source-card small { margin-top: 2px; color: #777c74; font-size: 6.5px; }
.source-card .source-status { color: var(--orange); font-size: 6px; font-weight: 800; }
.curation-card { margin-top: 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; color: white; background: var(--green-900); }
.curation-card svg { width: 21px; height: 21px; color: var(--yellow); }
.curation-card strong, .curation-card small { display: block; }
.curation-card strong { font-size: 8px; }
.curation-card small { margin-top: 4px; color: rgba(255,255,255,.65); font-size: 6.5px; }

/* Landscape */
.page-intro { padding: 9px 15px 11px; }
.page-intro .eyebrow { margin: 0 0 6px; color: var(--orange); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.page-intro h2 { margin: 0; color: var(--green-950); font-size: 22px; line-height: 1.03; letter-spacing: -.045em; }
.page-intro > p:not(.eyebrow) { margin: 7px 0 0; color: #697068; font-size: 8.5px; line-height: 1.45; }
.landscape-screen .app-search { width: calc(100% - 30px); margin: 2px 15px 10px; border-radius: 8px; box-shadow: none; }
.category-scroll { padding: 0 15px 11px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.category-button { flex: 0 0 63px; min-height: 61px; padding: 7px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 9px; color: #59645b; background: #eeeae1; cursor: pointer; font-size: 6.5px; text-align: center; }
.category-button svg { width: 18px; height: 18px; }
.category-button.active { color: white; background: var(--green-900); }
.landscape-content { padding: 0 14px 26px; }
.landscape-feature { position: relative; min-height: 180px; overflow: hidden; border-radius: 10px; }
.landscape-feature img { width: 100%; height: 180px; object-fit: cover; }
.landscape-feature::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(28,22,15,.85)); }
.landscape-feature-copy { position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 11px; color: white; }
.landscape-feature-copy small { color: var(--yellow); font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.landscape-feature-copy h3 { margin: 4px 0 3px; font-size: 15px; }
.landscape-feature-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 7px; }
.scenario-description { margin: 10px 0; padding: 10px 12px; border-radius: 8px; color: #596259; background: #ece8de; font-size: 8px; line-height: 1.45; }
.context-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.context-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; text-align: left; }
.context-card img { width: 100%; height: 80px; object-fit: cover; }
.context-card div { padding: 8px; }
.context-card b, .context-card small { display: block; }
.context-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--green-950); font-size: 8px; }
.context-card small { margin-top: 3px; color: #777c74; font-size: 6px; }

/* Territories */
.territory-map { position: relative; height: 285px; overflow: hidden; color: white; background: var(--brown-900); }
.territory-map::before { content: ""; position: absolute; inset: 0; opacity: .16; background: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 36px 36px; }
.territory-map svg.map-svg { position: absolute; inset: 3px 0 0; width: 100%; height: 100%; }
.map-land { fill: #d8a46f; stroke: rgba(255,255,255,.28); stroke-width: 1; }
.map-biome { fill: rgba(255,184,0,.32); stroke: var(--yellow); stroke-width: 1; stroke-dasharray: 3 3; }
.map-point { cursor: pointer; }
.map-point circle:first-child { fill: var(--marker-color); opacity: .2; animation: map-pulse 2.2s infinite; }
.map-point circle:nth-child(2) { fill: var(--marker-color); stroke: white; stroke-width: 1.5; }
.map-point.active circle:first-child { opacity: .5; }
.map-point text { fill: white; font-family: var(--font); font-size: 7px; font-weight: 750; paint-order: stroke; stroke: rgba(69,23,7,.7); stroke-width: 2px; stroke-linejoin: round; }
.map-label-top { position: absolute; z-index: 2; left: 14px; top: 13px; color: var(--yellow); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.territory-pills { margin-top: -1px; padding: 9px 14px; display: flex; gap: 6px; overflow-x: auto; background: var(--brown-900); scrollbar-width: none; }
.territory-pills button { flex: 0 0 auto; padding: 6px 9px; border: 1px solid rgba(255,255,255,.23); border-radius: 99px; color: rgba(255,255,255,.68); background: transparent; cursor: pointer; font-size: 6.5px; }
.territory-pills button.active { color: var(--brown-900); border-color: var(--yellow); background: var(--yellow); font-weight: 800; }
.territory-content { padding: 14px 15px 27px; }
.territory-overline { color: var(--orange); font-size: 6.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.territory-content h2 { margin: 5px 0 3px; color: var(--green-950); font-size: 20px; letter-spacing: -.045em; }
.territory-content h2 small { font-size: 9px; letter-spacing: 0; }
.territory-description { margin: 9px 0; color: #626961; font-size: 8.5px; line-height: 1.5; }
.territory-meta { padding: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; border-radius: 8px; background: #ede9e0; }
.territory-meta span { display: flex; align-items: center; gap: 5px; color: #5c665e; font-size: 6.5px; line-height: 1.3; }
.territory-meta svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--green-800); }

/* Seeds */
.seeds-hero { position: relative; height: 244px; color: white; overflow: hidden; }
.seeds-hero img { width: 100%; height: 100%; object-fit: cover; }
.seeds-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(47,20,8,.86), rgba(47,20,8,.04) 70%); }
.seeds-hero-copy { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 17px; }
.seeds-hero-copy small { color: var(--yellow); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.seeds-hero-copy h2 { margin: 6px 0 0; max-width: 300px; font-size: 24px; line-height: 1.02; letter-spacing: -.05em; }
.seeds-body { padding: 15px 15px 28px; }
.seeds-lead { margin: 0 0 15px; color: #626961; font-size: 9px; line-height: 1.55; }
.journey-list { position: relative; margin: 0; padding: 0; display: grid; gap: 0; list-style: none; }
.journey-list::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: #d8d5cc; }
.journey-list li { position: relative; padding: 0 0 15px 42px; }
.journey-list li > span { position: absolute; z-index: 2; left: 0; top: 0; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--yellow); background: var(--green-900); font-size: 7px; font-weight: 800; }
.journey-list strong { display: block; color: var(--green-950); font-size: 9px; }
.journey-list p { margin: 4px 0 0; color: #71766f; font-size: 7.5px; line-height: 1.45; }
.ethics-card { margin-top: 5px; padding: 13px; color: white; background: var(--green-900); }
.ethics-card h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 7px; font-size: 9px; }
.ethics-card h3 svg { width: 17px; height: 17px; color: var(--yellow); }
.ethics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ethics-grid span { padding: 8px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.78); font-size: 6.5px; line-height: 1.35; }
.seed-example { width: 100%; min-height: 51px; margin-top: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; text-align: left; }
.seed-example img { width: 43px; height: 36px; border-radius: 5px; object-fit: cover; }
.seed-example b, .seed-example small { display: block; }
.seed-example b { font-size: 8px; }
.seed-example small { margin-top: 3px; color: #777c74; font-size: 6.5px; }
.seed-example > svg { margin-left: auto; width: 15px; height: 15px; }

/* Favorites and More */
.simple-screen { background: var(--paper); }
.simple-heading { padding: 14px 15px 12px; }
.simple-heading .eyebrow { margin: 0 0 6px; color: var(--orange); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.simple-heading h2 { margin: 0; color: var(--green-950); font-size: 24px; letter-spacing: -.05em; }
.simple-heading p { margin: 6px 0 0; color: #6d736c; font-size: 8px; line-height: 1.45; }
.favorites-content { padding: 0 14px 24px; }
.more-profile { margin: 4px 15px 12px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: white; background: var(--green-900); }
.profile-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: var(--green-900); background: var(--yellow); }
.profile-mark svg { width: 19px; height: 19px; }
.more-profile b, .more-profile small { display: block; }
.more-profile b { font-size: 10px; }
.more-profile small { margin-top: 3px; color: rgba(255,255,255,.64); font-size: 7px; }
.more-profile > span:last-child { color: var(--yellow); font-size: 7px; font-weight: 800; }
.stats-row { margin: 0 15px 14px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: white; }
.stats-row div { padding: 10px 8px; border-right: 1px solid var(--line); text-align: center; }
.stats-row div:last-child { border: 0; }
.stats-row b, .stats-row span { display: block; }
.stats-row b { color: var(--orange); font-size: 16px; }
.stats-row span { margin-top: 2px; color: #777c74; font-size: 5.8px; text-transform: uppercase; letter-spacing: .05em; }
.menu-list { margin: 0 15px; border-top: 1px solid var(--line); }
.menu-list button { width: 100%; min-height: 53px; padding: 8px 4px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; }
.menu-list .menu-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--green-900); background: #e6ece4; }
.menu-list svg { width: 16px; height: 16px; }
.menu-list b, .menu-list small { display: block; }
.menu-list b { color: var(--green-950); font-size: 9px; }
.menu-list small { margin-top: 3px; color: #797d76; font-size: 6.5px; }
.menu-list > button > svg { width: 14px; height: 14px; color: #93978f; }
.contribution-callout { margin: 15px; padding: 14px; color: white; background: var(--orange); }
.contribution-callout small { color: rgba(255,255,255,.73); font-size: 6.5px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.contribution-callout h3 { margin: 5px 0 8px; font-size: 15px; letter-spacing: -.035em; }
.contribution-callout button { padding: 8px 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; color: var(--orange); background: white; cursor: pointer; font-size: 7px; font-weight: 800; }
.contribution-callout button svg { width: 13px; height: 13px; }

/* Contribution */
.contribution-hero { padding: 20px 16px 18px; color: white; background: linear-gradient(rgba(31,75,53,.92),rgba(31,75,53,.92)), url('/static/assets/sementes-cerrado.webp') center/cover; }
.contribution-hero .eyebrow { margin: 0; color: var(--yellow); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.contribution-hero h2 { margin: 7px 0; font-size: 22px; line-height: 1.03; letter-spacing: -.05em; }
.contribution-hero p { margin: 0; color: rgba(255,255,255,.7); font-size: 8px; line-height: 1.45; }
.contribution-form { padding: 14px 15px 30px; display: grid; gap: 10px; }
.contribution-form label { color: #596058; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.contribution-form input, .contribution-form select, .contribution-form textarea { width: 100%; margin-top: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; outline: 0; color: var(--ink); background: white; font-size: 8px; font-weight: 450; text-transform: none; letter-spacing: 0; }
.contribution-form input:focus, .contribution-form select:focus, .contribution-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(236,75,6,.1); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; text-transform: none !important; font-weight: 500 !important; line-height: 1.4; }
.consent-row input { width: 14px; margin: 0; accent-color: var(--orange); }
.form-message { padding: 10px; border-radius: 5px; font-size: 7px; line-height: 1.4; }
.form-message.error { color: #8b2514; background: #f7ddd6; }
.form-message.success { color: var(--green-950); background: #dcebdc; }
.form-message strong { display: block; margin-bottom: 2px; }
.submit-button[disabled] { opacity: .65; cursor: wait; }
.receipt { padding: 25px 17px; display: grid; justify-items: center; text-align: center; }
.receipt-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: var(--green-900); background: var(--yellow); }
.receipt-icon svg { width: 31px; height: 31px; }
.receipt h2 { margin: 17px 0 7px; color: var(--green-950); font-size: 21px; }
.receipt > p { max-width: 270px; margin: 0; color: #6d736c; font-size: 8.5px; line-height: 1.5; }
.protocol-box { width: 100%; margin: 18px 0; padding: 13px; border: 1px dashed var(--green-800); background: #eef3eb; }
.protocol-box small, .protocol-box b { display: block; }
.protocol-box small { color: #70766e; font-size: 6px; text-transform: uppercase; letter-spacing: .1em; }
.protocol-box b { margin-top: 5px; color: var(--green-950); font-size: 15px; letter-spacing: .06em; }

/* Knowledge */
.knowledge-flow { padding: 0 15px 25px; display: grid; gap: 7px; }
.knowledge-card { padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; border: 1px solid var(--line); background: white; }
.knowledge-card > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--yellow); background: var(--green-900); font-size: 7px; font-weight: 800; }
.knowledge-card h3 { margin: 0 0 4px; color: var(--green-950); font-size: 9px; }
.knowledge-card p { margin: 0; color: #70766e; font-size: 7px; line-height: 1.45; }
.disclaimer-card { margin: 0 15px 24px; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 9px; color: #5f665f; background: rgba(255,184,0,.18); font-size: 7px; line-height: 1.45; }
.disclaimer-card svg { width: 18px; height: 18px; color: var(--orange); }

.phone-toast { position: absolute; z-index: 140; left: 16px; right: 16px; bottom: 82px; padding: 10px 12px; transform: translateY(140%); opacity: 0; border-radius: 8px; color: white; background: var(--green-950); box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 8px; line-height: 1.4; transition: transform .25s, opacity .25s; }
.phone-toast.show { transform: translateY(0); opacity: 1; }

@keyframes screen-in { from { opacity: .45; transform: translateX(6px); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(.7); } 50% { opacity: 0; transform: scale(1.35); } }
@keyframes breathe { 0%,100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.03); opacity: 1; } }
@keyframes map-pulse { 0%,100% { transform: scale(.8); opacity: .15; } 50% { transform: scale(1.35); opacity: .45; } }

@media (max-width: 1180px) {
  .demo-shell { grid-template-columns: minmax(235px,.65fr) minmax(385px,.9fr) minmax(250px,.65fr); }
  .story-panel, .guide-panel { padding-inline: 30px; }
  .device { width: min(390px, 34vw, calc((100svh - 78px) * .48)); min-width: 315px; }
  .story-copy h1 { font-size: 55px; }
  .story-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 940px) {
  body { overflow-y: auto; }
  .demo-shell { min-height: 100svh; grid-template-columns: 1fr; overflow: visible; }
  .story-panel { min-height: auto; padding: 25px 30px; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .story-panel::before, .story-copy > p, .story-foot { display: none; }
  .story-copy { margin: 0; text-align: right; }
  .outer-kicker { margin: 0 0 5px !important; }
  .story-copy h1 { font-size: 22px; line-height: 1; }
  .story-copy h1 br { display: none; }
  .phone-stage { min-height: calc(100svh - 96px); padding: 18px; }
  .device { width: min(414px, 94vw, calc((100svh - 135px) * .48)); min-width: 320px; }
  .guide-panel { display: none; }
  .drag-hint { margin-top: 7px; }
}

@media (max-width: 520px) {
  body { background: #080808; overflow: hidden; }
  .story-panel, .drag-hint, .stage-glow, .side-button { display: none; }
  .phone-stage { min-height: 100svh; height: 100svh; padding: 0; }
  .device { width: 100%; min-width: 0; height: 100svh; aspect-ratio: auto; padding: 0; border: 0; border-radius: 0; background: #000; box-shadow: none; }
  .device::after { display: none; }
  .device-screen { border-radius: 0; }
  .dynamic-island { top: 5px; }
  .status-bar { padding-inline: 19px; }
}

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