:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #142822;
  --muted: #6f776f;
  --line: #e8dfd2;
  --green: #183f35;
  --green-soft: #edf5ef;
  --seal: #b74434;
  --seal-dark: #913327;
  --gold: #c79a4f;
  --shadow: 0 14px 32px rgba(31, 42, 35, 0.09);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  background: #ebe6dc;
  color: var(--ink);
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: default;
}

img,
svg {
  display: block;
}

.phone {
  position: relative;
  width: 430px;
  height: 932px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f2ea 56%, #ffffff 100%);
  box-shadow: 0 0 0 1px rgba(54, 48, 39, 0.12);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 84px 0 auto;
  height: 360px;
  background:
    linear-gradient(90deg, rgba(24, 63, 53, 0.06), transparent 44%),
    linear-gradient(180deg, rgba(199, 154, 79, 0.13), transparent 74%);
  pointer-events: none;
}

.statusbar {
  position: relative;
  z-index: 2;
  height: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 28px 7px;
  font-size: 15px;
  font-weight: 800;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.signal,
.wifi,
.battery {
  display: block;
}

.signal {
  width: 18px;
  height: 12px;
  border-bottom: 10px solid #111;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  clip-path: polygon(0 100%, 20% 62%, 40% 74%, 58% 32%, 78% 44%, 100% 0, 100% 100%);
}

.wifi {
  width: 18px;
  height: 13px;
  border: 3px solid #111;
  border-color: #111 transparent transparent transparent;
  border-radius: 999px;
}

.battery {
  position: relative;
  width: 23px;
  height: 12px;
  border: 2px solid #111;
  border-radius: 4px;
}

.battery::before {
  content: "";
  position: absolute;
  inset: 2px 5px 2px 2px;
  background: #111;
  border-radius: 2px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 3px;
  width: 3px;
  height: 5px;
  background: #111;
  border-radius: 0 2px 2px 0;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px 10px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seal {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--seal);
  border-radius: 10px;
  background: #fff7f1;
  color: var(--seal);
  font-size: 23px;
  font-weight: 950;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 21px;
  font-weight: 950;
  line-height: 1.05;
}

.brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.line-action,
.profile-action {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 18px rgba(24, 63, 53, 0.055);
}

.line-action svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.profile-action {
  color: var(--seal);
  border-color: rgba(183, 68, 52, 0.44);
  font-size: 17px;
  font-weight: 950;
}

.searchbar {
  position: relative;
  z-index: 3;
  margin: 0 34px 0 18px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 0 15px;
  border: 1px solid #ece7de;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.91);
  color: #7f8a83;
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(24, 63, 53, 0.05);
}

.searchbar > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.searchbar span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.searchbar button {
  margin-left: auto;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f6f3ed;
  color: #637169;
}

.searchbar button svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  z-index: 1;
  height: 282px;
  margin-top: 8px;
  overflow: hidden;
}

.hero::after {
  content: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 24px;
  width: 215px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--seal);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-copy > p:last-child {
  margin: 10px 0 0;
  color: #5e685f;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 720;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  right: 18px;
  top: 2px;
  width: 190px;
  height: 276px;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.38), rgba(255, 244, 228, 0.82)),
    #f8efe2;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 18px 26px rgba(25, 40, 32, 0.17));
}

.ask-card {
  position: relative;
  z-index: 4;
  margin: -10px 34px 0 18px;
  padding: 12px;
  border: 1px solid rgba(199, 154, 79, 0.46);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.ask-input {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
  color: #958d82;
  font-size: 15px;
  font-weight: 760;
}

.ask-input span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ask-input button {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #245d4e, #14372e);
  color: #fff;
  box-shadow: 0 12px 22px rgba(24, 63, 53, 0.24);
}

.ask-input button svg {
  width: 18px;
  height: 18px;
}

.chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 5px;
}

.chips button {
  height: 30px;
  border: 1px solid #ece4d8;
  border-radius: 16px;
  background: #fbf7f0;
  color: #435148;
  font-size: 12px;
  font-weight: 850;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 36px 9px 18px;
}

.section-head div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.section-head i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--seal);
}

.section-head strong {
  font-size: 18px;
  font-weight: 950;
}

.section-head button {
  color: var(--seal);
  font-size: 13px;
  font-weight: 850;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 34px 100px 18px;
}

.feature-grid article {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 11px;
  border: 1px solid #ebe5db;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 16px rgba(27, 41, 33, 0.052);
}

.feature-grid article > img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 15px;
  background: linear-gradient(145deg, #edf5ef, #dfece4);
  box-shadow:
    inset 0 0 0 1px rgba(24, 63, 53, 0.055),
    0 8px 16px rgba(24, 63, 53, 0.075);
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  font-size: 14px;
  font-weight: 950;
}

.feature-grid span {
  margin-top: 4px;
  color: #7a827a;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 720;
}

.tabbar {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 14px 16px;
  border-top: 1px solid #ece6dc;
  background: rgba(255, 255, 255, 0.968);
  box-shadow: 0 -10px 22px rgba(31, 42, 35, 0.045);
}

.tabbar button {
  height: 56px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: #7b847f;
  font-size: 11px;
  font-weight: 850;
}

.tabbar svg {
  width: 22px;
  height: 22px;
}

.tabbar .active {
  color: var(--seal);
}

.tabbar .center {
  width: 64px;
  height: 64px;
  justify-self: center;
  margin-top: -34px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.26), transparent 33%),
    linear-gradient(135deg, #c14b3d, var(--seal-dark));
  color: #fff;
  box-shadow:
    0 14px 28px rgba(183, 68, 52, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.tabbar .center svg {
  width: 28px;
  height: 28px;
}
