:root {
  --bg: #f6f8f5;
  --surface: #ffffff;
  --ink: #121916;
  --muted: #66736d;
  --accent: #006bff;
  --accent-dark: #0647a6;
  --signal: #31c48d;
  --line: #dce4de;
  --font-heading: Sora, Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:where(h1, h2, h3, p, dl, dd) {
  margin: 0;
}

h1,
h2,
h3,
.brand strong {
  font-family: var(--font-heading);
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 780px;
  font-size: clamp(44px, 8vw, 92px);
}

h2 {
  font-size: clamp(30px, 4.6vw, 58px);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 14px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(246, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.brand__text {
  display: grid;
  gap: 1px;
  font-size: 14px;
}

.brand__text span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 15px;
  color: #26302b;
}

.site-nav a,
.header-link {
  text-decoration: none;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.button,
button,
input[type="submit"],
.fct-button,
.fluent-cart-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button--small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button--light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section--dark {
  color: #fff;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding-block: 54px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 24px;
}

.kicker {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 620px;
  color: #324039;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.38;
}

.signal-panel {
  position: relative;
  min-height: 520px;
  padding: 34px;
  background:
    radial-gradient(circle at 72% 14%, rgba(49, 196, 141, 0.28), transparent 32%),
    linear-gradient(145deg, #ffffff, #eaf1ed);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 44px -16vw auto auto;
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, var(--accent), var(--signal));
  border-radius: 36px;
  transform: rotate(-8deg);
  opacity: 0.14;
}

.signal-panel__device {
  position: absolute;
  right: 34px;
  bottom: 132px;
  display: grid;
  gap: 12px;
  width: 230px;
  padding: 28px;
  background: var(--ink);
  border-radius: 28px;
}

.signal-panel__device span {
  display: block;
  height: 12px;
  background: #fff;
  border-radius: 99px;
  opacity: 0.86;
}

.signal-panel__device span:nth-child(2) {
  width: 72%;
  background: var(--signal);
}

.signal-panel__device span:nth-child(3) {
  width: 46%;
}

.signal-panel dl {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.signal-panel dl div,
.bento article,
.product-shell,
.commerce-page .page-body,
.content-page .page-body,
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.signal-panel dl div {
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin-top: 4px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 18px;
  max-width: 620px;
  color: #35423c;
}

.product-shell {
  margin-top: 42px;
  padding: clamp(18px, 3vw, 28px);
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 14px;
}

.bento article {
  padding: clamp(22px, 3vw, 34px);
}

.bento__large {
  grid-row: span 2;
  display: grid;
  align-content: space-between;
  min-height: 300px;
  color: #fff;
  background: linear-gradient(140deg, var(--accent-dark), var(--accent)) !important;
  border-color: transparent !important;
}

.bento strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) 0 34px;
}

.page-hero .container {
  display: grid;
  gap: 14px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.page-body {
  margin-bottom: 72px;
  padding: clamp(20px, 4vw, 42px);
}

.content-page .page-body {
  max-width: 860px;
}

.prose {
  max-width: 780px;
}

.prose > * + *,
.content-page .page-body > * + * {
  margin-top: 1em;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 44px;
  align-items: center;
}

.product-media {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.media-placeholder {
  display: grid;
  min-height: 320px;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--signal));
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 800;
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-card {
  padding: 24px;
}

.post-card a {
  text-decoration: none;
}

.site-footer {
  padding: 52px max(16px, calc((100vw - 1120px) / 2));
  color: rgba(255, 255, 255, 0.8);
  background: #0d1411;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-grid nav,
.footer-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h2 {
  color: #fff;
  font-size: 18px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-kicker {
  color: #fff;
  font-weight: 800;
}

.notice {
  padding: 18px;
  background: #edf6f1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.fluent-cart-product-loop,
.fct-product-block-editor-product-card,
.fluent-cart-products,
.fluent-cart-cart,
.fluent-cart-checkout,
.fluent-cart-customer-profile {
  color: var(--ink);
  font-family: var(--font-body);
}

.fluent-cart-product-loop img,
.fct-product-block-editor-product-card img {
  border-radius: var(--radius-md);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    position: static;
  }

  .site-nav,
  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .split,
  .product-hero__grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    min-height: 420px;
  }

  .signal-panel::before {
    right: -40px;
  }

  .signal-panel dl {
    grid-template-columns: 1fr;
  }

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

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

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