:root {
  --ink: #151328;
  --muted: #686677;
  --purple: #6b42f5;
  --pink: #ef3f91;
  --blue: #2e9ef5;
  --mint: #38c5a6;
  --green: #169a79;
  --warm: #ffb24b;
  --line: #e9e5f0;
  --surface: #f9f8fc;
  --gradient: linear-gradient(125deg, #6541f6 0%, #a33fe1 48%, #ef3f91 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font: 700 18px/1 "Manrope", sans-serif; }
.brand img { width: 42px; border-radius: 12px; box-shadow: 0 6px 16px rgba(79, 59, 178, .16); }
.brand strong { color: #6c42f4; }
.header-cta { padding: 11px 19px; border-radius: 999px; background: #17151f; color: #fff; font-weight: 700; font-size: 14px; }

main { overflow: hidden; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 8px auto 0;
  padding: 70px 66px 0;
  border: 1px solid #eeeaf4;
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 15%, rgba(56, 197, 166, .17), transparent 27%),
    radial-gradient(circle at 56% 91%, rgba(75, 178, 255, .14), transparent 32%),
    radial-gradient(circle at 8% 8%, rgba(255, 178, 75, .12), transparent 24%),
    linear-gradient(145deg, #fff 20%, #f9fffc 66%, #fff8fb);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 24px;
  position: relative;
}
.hero-copy { position: relative; z-index: 3; padding-top: 18px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(56, 197, 166, .12); }
h1 { max-width: 520px; margin: 24px 0 22px; font: 800 clamp(48px, 5vw, 70px)/1.02 "Manrope", sans-serif; letter-spacing: -.055em; }
h1 em { font-style: normal; color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }
.hero-copy > p { max-width: 490px; margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.primary-cta { width: max-content; min-width: 210px; height: 60px; padding: 0 25px; display: flex; align-items: center; gap: 14px; border-radius: 16px; color: #fff; background: #17151f; box-shadow: 0 16px 35px rgba(23, 21, 31, .18); transition: transform .2s ease, box-shadow .2s ease; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(23, 21, 31, .23); }
.primary-cta svg { width: 28px; fill: #fff; }
.primary-cta span { font: 600 19px/1 "DM Sans", sans-serif; }
.primary-cta small { display: block; margin-bottom: 4px; font-size: 8px; letter-spacing: .09em; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: #777281; font-size: 12px; font-weight: 600; }
.trust-row b { color: var(--green); }

.hero-visual { position: relative; min-height: 580px; align-self: end; }
.phone { position: absolute; bottom: -50px; width: 268px; padding: 7px; border: 4px solid #24222e; border-radius: 40px; background: #fff; box-shadow: 0 30px 65px rgba(43, 30, 90, .20); overflow: hidden; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 11px; left: 50%; width: 76px; height: 21px; border-radius: 20px; background: #25232d; transform: translateX(-50%); }
.phone img { width: 100%; border-radius: 29px; }
.phone-center { z-index: 3; left: 50%; width: 292px; transform: translateX(-50%); }
.phone-left { z-index: 1; left: 1%; bottom: -76px; transform: rotate(-7deg) scale(.91); }
.phone-right { z-index: 2; right: -2%; bottom: -72px; transform: rotate(7deg) scale(.91); }
.glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .8; }
.glow-one { width: 340px; height: 340px; right: 3%; top: 8%; background: rgba(239, 63, 145, .14); }
.glow-two { width: 340px; height: 340px; left: 2%; bottom: 0; background: rgba(56, 197, 166, .16); }
.care-note { position: absolute; z-index: 5; min-width: 174px; padding: 13px 15px 13px 44px; border: 1px solid rgba(31, 30, 48, .08); border-radius: 17px; background: rgba(255, 255, 255, .92); box-shadow: 0 16px 38px rgba(40, 31, 77, .15); backdrop-filter: blur(16px); }
.care-note b, .care-note small { display: block; }
.care-note b { font: 700 12px/1.25 "Manrope", sans-serif; }
.care-note small { margin-top: 3px; color: #777281; font-size: 10px; }
.care-note-icon, .care-dot { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translateY(-50%); display: grid; place-items: center; font-weight: 800; }
.care-dot { width: 12px; height: 12px; left: 18px; background: var(--mint); box-shadow: 0 0 0 6px rgba(56, 197, 166, .14); }
.care-note-connected { top: 52px; left: -2px; }
.care-note-refill { top: 152px; right: -28px; }
.care-note-refill .care-note-icon { color: #6b42f5; background: #eee9ff; }
.care-note-delivery { z-index: 6; right: 4px; bottom: 72px; }
.care-note-delivery .care-note-icon { color: #118f75; background: #e4f8f3; }

.feature-strip { width: min(1050px, calc(100% - 40px)); margin: 110px auto 105px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-strip article { padding: 22px; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; border: 1px solid #ece8f1; border-radius: 24px; background: #fff; box-shadow: 0 14px 34px rgba(39, 31, 72, .06); }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.feature-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orders-icon { color: #118f75; background: #e4f8f3; }
.repeat-icon { color: #ed3f8f; background: #ffebf4; }
.store-icon { color: #e48216; background: #fff2dc; }
.feature-strip h2 { margin: 3px 0 8px; font: 700 17px/1.2 "Manrope", sans-serif; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.install-card { width: min(1080px, calc(100% - 40px)); margin: 0 auto 84px; padding: 50px 54px; border-radius: 32px; color: #fff; background: var(--gradient); box-shadow: 0 25px 70px rgba(115, 49, 210, .24); display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.install-card::before { content: ""; position: absolute; width: 400px; height: 400px; right: 10%; top: -280px; border: 90px solid rgba(255, 255, 255, .10); border-radius: 50%; }
.install-icon { padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .19); }
.install-icon img { border-radius: 18px; }
.install-copy { position: relative; }
.install-copy > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.install-copy h2 { margin: 8px 0 7px; font: 800 clamp(27px, 3vw, 38px)/1.13 "Manrope", sans-serif; letter-spacing: -.035em; }
.install-copy p { margin: 0; opacity: .82; }
.install-button { position: relative; padding: 17px 22px; border-radius: 16px; background: #fff; color: #5527c8; font-weight: 700; white-space: nowrap; }
.install-button span { margin-left: 10px; }

footer { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 38px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #7b7885; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }
.footer-brand img { width: 28px; border-radius: 8px; }
.mobile-install { display: none; }

@media (max-width: 900px) {
  .hero { padding: 55px 36px 0; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { min-height: 530px; }
  .phone-left { left: 9%; }
  .phone-right { right: 9%; }
  .feature-strip { grid-template-columns: 1fr; max-width: 520px; }
  .install-card { grid-template-columns: 82px 1fr; }
  .install-button { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-header { width: calc(100% - 28px); height: 68px; }
  .brand { gap: 9px; font-size: 15px; }
  .brand img { width: 36px; border-radius: 10px; }
  .header-cta { display: none; }
  .hero { width: calc(100% - 20px); min-height: auto; margin-top: 0; padding: 40px 18px 0; border-radius: 28px; }
  .eyebrow { font-size: 10px; }
  h1 { margin: 19px 0 18px; font-size: clamp(39px, 12vw, 53px); letter-spacing: -.06em; }
  .hero-copy > p { margin-bottom: 25px; font-size: 16px; line-height: 1.55; }
  .primary-cta { height: 56px; min-width: 200px; border-radius: 15px; }
  .trust-row { justify-content: center; gap: 8px 12px; margin-top: 19px; }
  .hero-visual { min-height: 455px; margin-top: 22px; }
  .care-note { min-width: 145px; padding: 10px 11px 10px 38px; border-radius: 14px; text-align: left; }
  .care-note b { font-size: 10px; }
  .care-note small { font-size: 8px; }
  .care-note-icon, .care-dot { left: 11px; }
  .care-dot { left: 14px; }
  .care-note-connected { top: 15px; left: -2px; }
  .care-note-refill { top: 90px; right: -4px; }
  .care-note-delivery { right: 0; bottom: 52px; }
  .phone { bottom: -45px; width: 195px; border-width: 3px; border-radius: 31px; padding: 5px; }
  .phone::before { top: 8px; width: 54px; height: 16px; }
  .phone img { border-radius: 23px; }
  .phone-center { width: 218px; }
  .phone-left { left: -23%; bottom: -70px; transform: rotate(-6deg) scale(.88); }
  .phone-right { right: -23%; bottom: -67px; transform: rotate(6deg) scale(.88); }
  .feature-strip { width: calc(100% - 42px); margin: 85px auto 70px; gap: 30px; }
  .feature-strip article { grid-template-columns: 52px 1fr; gap: 15px; }
  .feature-icon { width: 52px; height: 52px; border-radius: 16px; }
  .install-card { width: calc(100% - 20px); margin-bottom: 48px; padding: 31px 24px; grid-template-columns: 66px 1fr; gap: 18px; border-radius: 26px; }
  .install-copy h2 { font-size: 25px; }
  .install-copy p { font-size: 14px; line-height: 1.5; }
  .install-button { display: none; }
  footer { width: calc(100% - 40px); padding-bottom: 25px; flex-direction: column; gap: 13px; }
  .mobile-install { position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); min-height: 64px; padding: 8px 9px 8px 10px; border: 1px solid rgba(48, 40, 81, .12); border-radius: 19px; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 40px rgba(31, 24, 60, .22); backdrop-filter: blur(18px); display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
  .mobile-install img { width: 44px; border-radius: 13px; }
  .mobile-install div { min-width: 0; display: flex; flex-direction: column; }
  .mobile-install b { font: 700 13px/1.2 "Manrope", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-install span { margin-top: 3px; color: var(--muted); font-size: 10px; }
  .mobile-install a { padding: 11px 17px; border-radius: 13px; color: #fff; background: var(--gradient); font-size: 13px; font-weight: 700; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .65s both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .hero-copy > *:nth-child(4) { animation-delay: .20s; }
  .phone { animation: phone-rise .8s .15s both; }
  .phone-left { animation-delay: .28s; }
  .phone-right { animation-delay: .36s; }
  .care-note { animation: note-in .55s .55s both; }
  .care-note-refill { animation-delay: .68s; }
  .care-note-delivery { animation-delay: .8s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes phone-rise { from { opacity: 0; margin-bottom: -30px; } }
  @keyframes note-in { from { opacity: 0; scale: .9; translate: 0 8px; } }
}
