:root {
  --home-ink: #071923;
  --home-ink-soft: #183440;
  --home-muted: #5b6d76;
  --home-blue: #007ea7;
  --home-cyan: #21b8d8;
  --home-aqua: #dff8fb;
  --home-mint: #dff6ec;
  --home-sand: #fff3df;
  --home-lilac: #ecebff;
  --home-line: rgba(7, 25, 35, 0.11);
  --home-shadow: 0 30px 90px rgba(5, 35, 48, 0.12);
  --home-shadow-soft: 0 18px 50px rgba(5, 35, 48, 0.08);
}

body.home-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(33, 184, 216, 0.09), transparent 23rem),
    linear-gradient(#fff, #fff);
}

.home-main {
  overflow: hidden;
  color: var(--home-ink);
}

.home-shell {
  width: min(1180px, calc(100vw - 2.5rem));
  margin-inline: auto;
}

.home-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.home-section[id] {
  scroll-margin-top: 7.5rem;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--home-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0.3rem rgba(0, 126, 167, 0.1);
  content: "";
}

.home-display,
.home-title,
.home-card-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.055em;
}

.home-display {
  max-width: 12ch;
  font-size: clamp(3.25rem, 6.3vw, 5.8rem);
  font-weight: 800;
  line-height: 0.94;
}

.home-display span {
  display: block;
  color: var(--home-blue);
}

.home-title {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5.5vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
}

.home-lead {
  max-width: 41rem;
  margin: 1.6rem 0 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.home-button {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button--primary {
  background: var(--home-ink);
  color: #fff;
  box-shadow: 0 16px 35px rgba(7, 25, 35, 0.19);
}

.home-button--primary:hover {
  background: #102d39;
  box-shadow: 0 20px 40px rgba(7, 25, 35, 0.23);
}

.home-button--secondary {
  border-color: var(--home-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-ink);
  box-shadow: 0 10px 28px rgba(7, 25, 35, 0.06);
}

.home-button svg {
  width: 1rem;
  height: 1rem;
}

.home-hero {
  position: relative;
  padding-top: clamp(10rem, 15vw, 12.75rem);
  padding-bottom: clamp(4.75rem, 9vw, 7.5rem);
}

.home-hero::before {
  position: absolute;
  top: 7rem;
  right: max(-16rem, -10vw);
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 184, 216, 0.18), rgba(33, 184, 216, 0) 66%);
  content: "";
  pointer-events: none;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(30rem, 1.14fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
}

.home-launch-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-launch-note svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--home-blue);
}

.device-stage {
  position: relative;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(145deg, #d9f8fb 0%, #eefbff 48%, #d8e9ff 100%);
  box-shadow: var(--home-shadow);
  isolation: isolate;
}

.device-stage::after {
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(0, 126, 167, 0.09);
  border-radius: calc(clamp(2rem, 4vw, 3.25rem) - 0.6rem);
  content: "";
}

.device-stage.is-switching .cuisly-preview {
  opacity: 0;
  transform: translateY(0.7rem) scale(0.985);
}

.cuisly-preview {
  min-height: 31rem;
  display: grid;
  grid-template-columns: 4rem 1fr;
  overflow: hidden;
  border: 1px solid rgba(7, 25, 35, 0.09);
  border-radius: 2.3rem;
  background: #f8fbfc;
  box-shadow: 0 24px 55px rgba(3, 35, 49, 0.14);
  transition: opacity 180ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), max-width 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cuisly-preview__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.7rem;
  background: var(--home-ink);
}

.cuisly-preview__mark {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--home-blue);
  font-weight: 900;
}

.cuisly-preview__rail i {
  width: 1.9rem;
  height: 1.9rem;
  display: block;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
}

.cuisly-preview__rail i::after {
  width: 0.5rem;
  height: 0.5rem;
  display: block;
  margin: 0.7rem auto;
  border: 1.5px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  content: "";
}

.cuisly-preview__rail i.is-active {
  background: rgba(33, 184, 216, 0.24);
}

.cuisly-preview__rail i.is-active::after {
  border-color: #80e6f2;
  background: #80e6f2;
}

.cuisly-preview__screen {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.65rem);
}

.cuisly-preview__top,
.cuisly-preview__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cuisly-preview__top > span:first-child {
  display: grid;
}

.cuisly-preview__top small {
  color: var(--home-muted);
  font-size: 0.69rem;
}

.cuisly-preview__top strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.cuisly-preview__avatar {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--home-aqua);
  color: var(--home-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.cuisly-preview__welcome {
  position: relative;
  display: grid;
  justify-items: start;
  margin-top: 1.2rem;
  padding: 1.3rem;
  overflow: hidden;
  border-radius: 1.45rem;
  background: linear-gradient(130deg, #06384a, #007ea7 68%, #22b9d8);
  color: #fff;
}

.cuisly-preview__welcome::after {
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(255, 255, 255, 0.05), 0 0 0 3rem rgba(255, 255, 255, 0.025);
  content: "";
}

.cuisly-preview__label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cuisly-preview__welcome strong {
  position: relative;
  z-index: 2;
  max-width: 14rem;
  margin-top: 0.38rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.cuisly-preview__button {
  position: relative;
  z-index: 2;
  margin-top: 0.9rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--home-ink);
  font: inherit;
  font-size: 0.67rem;
  font-weight: 850;
}

.cuisly-preview__columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.cuisly-preview__panel {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(7, 25, 35, 0.08);
  border-radius: 1.2rem;
  background: #fff;
}

.cuisly-preview__panel-head strong {
  font-size: 0.76rem;
}

.cuisly-preview__panel-head span {
  color: var(--home-blue);
  font-size: 0.6rem;
  font-weight: 800;
}

.cuisly-preview__recipe {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.75rem;
}

.cuisly-preview__recipe-art {
  position: relative;
  aspect-ratio: 1.15;
  overflow: hidden;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 60% 42%, #f8c477 0 13%, transparent 14%),
    radial-gradient(circle at 38% 60%, #90ba71 0 12%, transparent 13%),
    linear-gradient(145deg, #ffe8c6, #f1bd76);
}

.cuisly-preview__recipe-art span {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  padding: 0.2rem 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--home-ink);
  font-size: 0.49rem;
  font-weight: 850;
}

.cuisly-preview__recipe strong,
.cuisly-preview__recipe small {
  display: block;
}

.cuisly-preview__recipe strong {
  overflow: hidden;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cuisly-preview__recipe small,
.cuisly-preview__shopping small {
  margin-top: 0.2rem;
  color: var(--home-muted);
  font-size: 0.56rem;
}

.cuisly-preview__recipe--small .cuisly-preview__recipe-art {
  background:
    radial-gradient(circle at 50% 52%, #fff0c0 0 20%, transparent 21%),
    linear-gradient(145deg, #ffcfa1, #db8356);
}

.cuisly-preview__shopping p {
  margin: 1.3rem 0 0;
  font-size: 0.71rem;
  font-weight: 800;
}

.cuisly-preview__progress {
  height: 0.42rem;
  margin-top: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef0;
}

.cuisly-preview__progress i {
  width: 34%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--home-cyan);
}

.device-stage[data-device-view="phone"] .cuisly-preview {
  max-width: 22rem;
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.device-stage[data-device-view="phone"] .cuisly-preview__rail {
  display: none;
}

.device-stage[data-device-view="phone"] .cuisly-preview__columns {
  grid-template-columns: 1fr;
}

.device-stage[data-device-view="phone"] .cuisly-preview__shopping {
  display: none;
}

.device-stage__bar {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  display: inline-flex;
  transform: translateX(-50%);
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(7, 25, 35, 0.88);
  box-shadow: 0 14px 32px rgba(7, 25, 35, 0.22);
  backdrop-filter: blur(18px);
}

.device-stage__tab {
  min-width: 5.1rem;
  padding: 0.67rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.device-stage__tab[aria-selected="true"] {
  background: #fff;
  color: var(--home-ink);
}

.home-proof {
  padding-block: 1.25rem 4.75rem;
}

.home-proof__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--home-line);
}

.home-proof__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 5.2rem;
  padding: 1rem clamp(0.8rem, 2vw, 1.5rem);
  color: var(--home-ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
}

.home-proof__item + .home-proof__item {
  border-left: 1px solid var(--home-line);
}

.home-proof__index {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--home-aqua);
  color: #005f7d;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.56fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.home-section-head .home-lead {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.promise-card {
  position: relative;
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(7, 25, 35, 0.08);
  border-radius: 2rem;
  box-shadow: var(--home-shadow-soft);
}

.promise-card:nth-child(1) {
  grid-column: span 5;
  background: var(--home-aqua);
}

.promise-card:nth-child(2) {
  grid-column: span 7;
  background: var(--home-sand);
}

.promise-card:nth-child(3) {
  grid-column: span 7;
  background: var(--home-lilac);
}

.promise-card:nth-child(4) {
  grid-column: span 5;
  background: var(--home-mint);
}

.promise-card__number {
  color: rgba(7, 25, 35, 0.42);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.promise-card__copy {
  position: relative;
  z-index: 2;
  max-width: 30rem;
}

.home-card-title {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
}

.promise-card p,
.ecosystem-card p,
.home-detail p,
.home-faq p {
  margin: 0.85rem 0 0;
  color: var(--home-ink-soft);
  line-height: 1.7;
}

.mini-library {
  width: min(92%, 25rem);
  align-self: flex-end;
  display: grid;
  gap: 0.65rem;
  margin-top: 2.3rem;
  transform: rotate(-2deg);
}

.mini-library__row {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid rgba(7, 25, 35, 0.08);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 24px rgba(7, 25, 35, 0.07);
}

.mini-library__thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, rgba(0, 126, 167, 0.19), rgba(33, 184, 216, 0.08));
  color: var(--home-blue);
  font-weight: 900;
}

.mini-library__row strong,
.mini-list strong {
  display: block;
  font-size: 0.86rem;
}

.mini-library__row small,
.mini-list small {
  color: var(--home-muted);
  font-size: 0.72rem;
}

.mini-library__time {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 25, 35, 0.07);
  color: var(--home-ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.mini-list {
  align-self: flex-end;
  width: min(96%, 32rem);
  margin-top: 2.2rem;
  padding: 0.75rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 35px rgba(7, 25, 35, 0.08);
}

.mini-list__row {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.35rem;
  padding: 0 0.55rem;
}

.mini-list__row + .mini-list__row {
  border-top: 1px solid rgba(7, 25, 35, 0.08);
}

.mini-list__check {
  width: 1.3rem;
  height: 1.3rem;
  border: 1.5px solid rgba(7, 25, 35, 0.25);
  border-radius: 50%;
}

.mini-list__qty {
  color: var(--home-muted);
  font-size: 0.75rem;
}

.mini-chat {
  align-self: flex-end;
  width: min(96%, 34rem);
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mini-chat__bubble {
  max-width: 85%;
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(7, 25, 35, 0.07);
  color: var(--home-ink-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}

.mini-chat__bubble--user {
  justify-self: end;
  border-bottom-right-radius: 0.35rem;
  background: var(--home-ink);
  color: #fff;
}

.mini-chat__bubble--ai {
  border-bottom-left-radius: 0.35rem;
}

.mini-stats {
  align-self: flex-end;
  width: min(95%, 25rem);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mini-stats__item {
  min-height: 8.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(7, 25, 35, 0.07);
}

.mini-stats__item span {
  color: var(--home-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.mini-stats__item strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.mini-stats__bars {
  height: 3.1rem;
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
}

.mini-stats__bars i {
  flex: 1;
  border-radius: 999px;
  background: var(--home-blue);
}

.mini-stats__bars i:nth-child(1) { height: 35%; opacity: 0.35; }
.mini-stats__bars i:nth-child(2) { height: 56%; opacity: 0.5; }
.mini-stats__bars i:nth-child(3) { height: 42%; opacity: 0.42; }
.mini-stats__bars i:nth-child(4) { height: 76%; opacity: 0.7; }
.mini-stats__bars i:nth-child(5) { height: 100%; }

.ai-showcase {
  background: var(--home-ink);
  color: #fff;
}

.ai-showcase .home-eyebrow {
  color: #79e1f0;
}

.ai-showcase .home-title {
  max-width: 11ch;
}

.ai-showcase .home-lead {
  color: rgba(255, 255, 255, 0.66);
}

.ai-showcase__grid {
  display: grid;
  grid-template-columns: minmax(22rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.fridge-frame {
  position: relative;
  max-width: 27rem;
  margin-inline: auto;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2.3rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.24);
}

.fridge-frame img {
  width: 100%;
  max-height: 34rem;
  border-radius: 1.7rem;
  object-fit: cover;
}

.fridge-frame__badge {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 13rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  color: var(--home-ink);
  font-size: 0.77rem;
  line-height: 1.45;
}

.fridge-frame__badge strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--home-blue);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ingredient-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.6rem 0 0;
}

.ingredient-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-result {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.ai-result__row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.055);
}

.ai-result__row > span:first-child {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--home-ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.ai-result__row strong {
  font-size: 0.9rem;
}

.ai-result__row small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 1.25rem;
}

.ecosystem-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--home-line);
  border-radius: 2rem;
  background: #fff;
  box-shadow: var(--home-shadow-soft);
}

.ecosystem-card:first-child {
  background: linear-gradient(145deg, #f3fbfd 0%, #fff 75%);
}

.ecosystem-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 1.1rem;
  background: var(--home-aqua);
  color: var(--home-blue);
}

.ecosystem-card__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.ecosystem-card h3 {
  margin: 1.5rem 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.045em;
}

.home-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.3rem, 4vw, 3rem);
}

.home-detail {
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--home-line);
  border-radius: 2rem;
  background: #fff;
}

.home-detail small {
  color: var(--home-blue);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.home-detail h3 {
  margin: 0.8rem 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.home-faq {
  background: #f4f8fa;
}

.home-faq__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.home-faq__list {
  border-top: 1px solid var(--home-line);
}

.home-faq details {
  border-bottom: 1px solid var(--home-line);
}

.home-faq summary {
  position: relative;
  padding: 1.5rem 2.7rem 1.5rem 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  color: var(--home-blue);
  font-size: 1.5rem;
  font-weight: 400;
  content: "+";
}

.home-faq details[open] summary::after {
  content: "−";
}

.home-faq details p {
  max-width: 41rem;
  margin: -0.45rem 0 1.6rem;
  padding-right: 2rem;
}

.launch-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem);
  border-radius: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #007ea7 0%, #005f82 58%, #003c5c 100%);
  color: #fff;
  box-shadow: var(--home-shadow);
}

.launch-panel::after {
  position: absolute;
  top: -11rem;
  right: -9rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.045),
    0 0 0 8rem rgba(255, 255, 255, 0.025);
  content: "";
}

.launch-panel__content {
  position: relative;
  z-index: 2;
  max-width: 47rem;
}

.launch-panel .home-eyebrow {
  color: #baf4fb;
}

.launch-panel .home-title {
  max-width: 12ch;
}

.launch-panel p {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.launch-panel .home-button--primary {
  background: #fff;
  color: var(--home-ink);
}

.launch-panel .home-button--secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.has-homepage-js [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-homepage-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .home-hero__grid,
  .ai-showcase__grid,
  .home-faq__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    max-width: 52rem;
  }

  .home-display {
    max-width: 11ch;
  }

  .device-stage {
    width: min(46rem, 100%);
    margin-inline: auto;
  }

  .promise-card:nth-child(n) {
    grid-column: span 6;
  }

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

  .ecosystem-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .home-shell {
    width: min(100% - 1.25rem, 42rem);
  }

  .home-hero {
    padding-top: 8.5rem;
  }

  .home-hero__grid {
    gap: 2.7rem;
  }

  .home-display {
    max-width: 10ch;
    font-size: clamp(3.05rem, 14vw, 4.8rem);
  }

  .home-actions {
    display: grid;
  }

  .home-button {
    width: 100%;
  }

  .device-stage {
    padding: 0.65rem;
    border-radius: 2rem;
  }

  .device-stage__image-wrap {
    min-height: 21rem;
    border-radius: 1.55rem;
  }

  .device-stage__image {
    max-height: 23rem;
  }

  .cuisly-preview {
    min-height: 28rem;
    border-radius: 1.55rem;
  }

  body > div[style*="width: 72px"][style*="height: 72px"] {
    width: 56px !important;
    height: 56px !important;
    right: 10px !important;
    bottom: 10px !important;
  }

  .home-proof__row {
    grid-template-columns: 1fr 1fr;
  }

  .home-proof__item + .home-proof__item {
    border-left: 0;
  }

  .home-proof__item:nth-child(even) {
    border-left: 1px solid var(--home-line);
  }

  .home-proof__item:nth-child(n + 3) {
    border-top: 1px solid var(--home-line);
  }

  .home-section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-section-head .home-lead {
    margin-top: 0.5rem;
  }

  .promise-card:nth-child(n),
  .ecosystem-card:first-child {
    grid-column: auto;
  }

  .promise-grid,
  .ecosystem-grid,
  .home-detail-grid {
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: 24rem;
  }

  .mini-library,
  .mini-list,
  .mini-chat,
  .mini-stats {
    width: 100%;
  }

  .ai-showcase__grid {
    gap: 3.25rem;
  }

  .fridge-frame {
    width: calc(100% - 1rem);
  }

  .fridge-frame__badge {
    right: -0.5rem;
    bottom: 1rem;
  }

  .launch-panel {
    border-radius: 2rem;
  }
}

@media (max-width: 440px) {
  .home-proof__row {
    grid-template-columns: 1fr;
  }

  .home-proof__item:nth-child(n) {
    border-left: 0;
  }

  .home-proof__item + .home-proof__item {
    border-top: 1px solid var(--home-line);
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
