:root {
  color-scheme: light;
  --ink: #080c0b;
  --muted: #46514f;
  --soft: #eef7ff;
  --teal: #00766f;
  --teal-deep: #005f5a;
  --line: rgba(6, 18, 16, 0.1);
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f7fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 46%, rgba(173, 220, 246, 0.36), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 46%, #edf7ff 100%);
}

.site-header {
  position: relative;
  z-index: 10;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 clamp(32px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 14px 26px rgba(0, 104, 96, 0.22);
}

.brand-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-text strong {
  font-size: clamp(26px, 2.1vw, 35px);
  line-height: 1;
  font-weight: 850;
}

.brand-text span {
  color: #101715;
  font-size: 14px;
  line-height: 1;
  font-weight: 560;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 62px);
  font-size: 17px;
  line-height: 1;
  font-weight: 690;
}

.site-nav > a,
.nav-menu summary {
  padding: 12px 0;
}

.nav-menu {
  position: relative;
}

.nav-menu[open] {
  z-index: 40;
}

.nav-menu summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::marker {
  content: "";
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.products-popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  min-width: 188px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(7, 29, 26, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(24, 54, 67, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.products-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(7, 29, 26, 0.1);
  border-left: 1px solid rgba(7, 29, 26, 0.1);
  background: rgba(255, 255, 255, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.product-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-radius: 10px;
  color: #07110f;
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
}

.product-icon {
  width: 42px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon picture {
  width: 38px;
  height: 38px;
  display: block;
}

.product-icon img {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(16, 43, 52, 0.12);
}

a.product-item:hover {
  color: var(--teal-deep);
  background: rgba(0, 118, 111, 0.08);
}

.product-item[aria-disabled="true"] {
  cursor: default;
}

.home-screen {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.8vh, 20px);
  padding: clamp(36px, 5.6vh, 74px) clamp(32px, 5vw, 76px) clamp(28px, 4vh, 52px);
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(45vw, 610px);
  padding-top: clamp(10px, 4vh, 54px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5vw, 100px);
  line-height: 1.08;
  font-weight: 850;
  color: #050806;
}

.hero-rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: clamp(32px, 4.2vh, 48px) 0 0;
  border-radius: 999px;
  background: var(--teal);
}

.hero-copy p {
  max-width: 490px;
  margin: clamp(22px, 3vh, 34px) 0 0;
  color: rgba(38, 50, 48, 0.58);
  font-size: clamp(18px, 1.42vw, 25px);
  line-height: 1.78;
  font-weight: 450;
}

.hero-visual {
  position: absolute;
  right: clamp(-34px, -1vw, -8px);
  bottom: clamp(-8px, 1vh, 18px);
  z-index: 1;
  width: min(60vw, 1050px);
  max-height: min(64svh, 690px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(64svh, 690px);
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(48, 75, 89, 0.12));
}

.feature-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-height: clamp(132px, 15vh, 178px);
  padding: 0 clamp(24px, 3vw, 50px);
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(53, 83, 100, 0.12);
  backdrop-filter: blur(18px);
}

.feature-panel article {
  display: grid;
  grid-template-columns: clamp(78px, 5vw, 96px) minmax(0, 1fr);
  gap: clamp(14px, 1.4vw, 24px);
  align-items: center;
  min-width: 0;
  padding: 28px clamp(14px, 1.4vw, 26px);
  border-right: 1px solid rgba(7, 29, 26, 0.12);
}

.feature-panel article:last-child {
  border-right: 0;
}

.feature-panel h2 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 31px);
  line-height: 1.15;
  font-weight: 830;
}

.feature-panel p {
  margin: 14px 0 0;
  color: rgba(50, 62, 60, 0.52);
  font-size: clamp(13px, 0.96vw, 16px);
  line-height: 1.55;
  font-weight: 430;
  white-space: nowrap;
}

.feature-icon {
  width: clamp(70px, 5vw, 88px);
  height: clamp(70px, 5vw, 88px);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 24px;
  background: radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.8), rgba(224, 243, 240, 0.34) 58%, rgba(0, 118, 111, 0.05));
  box-shadow: 0 16px 30px rgba(0, 98, 91, 0.08);
}

.feature-icon svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 7px 10px rgba(0, 75, 70, 0.1));
  transform: scale(1.02);
}

.feature-icon--flow svg {
  transform: translateY(1px) scale(1.02);
}

.site-footer {
  position: relative;
  z-index: 3;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-height: 18px;
  margin-top: -2px;
  color: rgba(50, 62, 60, 0.42);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 430;
}

.site-footer span,
.site-footer a {
  display: block;
}

.site-footer a {
  padding: 2px 8px;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: rgba(0, 118, 111, 0.86);
}

@media (max-height: 820px) and (min-width: 980px) {
  :root {
    --header-height: 82px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 27px;
  }

  .home-screen {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(50px, 4.7vw, 88px);
  }

  .hero-copy p {
    font-size: 18px;
    line-height: 1.62;
  }

  .feature-panel {
    min-height: 122px;
  }
}

@media (max-width: 980px) {
  .site-shell {
    overflow: visible;
  }

  .site-header {
    height: auto;
    min-height: 78px;
    padding: 14px 20px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 26px;
  }

  .brand-text strong {
    font-size: 24px;
  }

  .brand-text span {
    font-size: 12px;
  }

  .site-nav {
    gap: 18px;
    font-size: 15px;
  }

  .home-screen {
    min-height: auto;
    gap: 26px;
    padding: 34px 20px 28px;
  }

  .hero {
    display: grid;
    gap: 30px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 72px);
  }

  .hero-copy p {
    max-width: 100%;
    color: rgba(38, 50, 48, 0.52);
    font-size: 17px;
  }

  .feature-panel p {
    color: rgba(50, 62, 60, 0.5);
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% + 40px);
    max-width: 720px;
    margin: 0 -20px;
    overflow: visible;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .feature-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 24px;
  }

  .feature-panel article {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 29, 26, 0.12);
  }

  .feature-panel article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 23px;
  }

  .brand-text {
    gap: 3px;
  }

  .brand-text strong {
    font-size: 21px;
    white-space: nowrap;
  }

  .brand-text span {
    font-size: 11px;
    white-space: nowrap;
  }

  .site-nav {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .site-nav > a {
    padding: 10px 0;
  }

  .nav-menu summary {
    padding: 10px 0;
  }

  .products-popover {
    right: 0;
    left: auto;
    transform: none;
  }

  .products-popover::before {
    right: 20px;
    left: auto;
    transform: rotate(45deg);
  }

  .home-screen {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-visual {
    width: calc(100% + 36px);
    margin-right: -18px;
    margin-left: -18px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.2vw, 58px);
  }

  .hero-copy p br {
    display: none;
  }

  .feature-panel {
    border-radius: 16px;
  }

  .site-footer {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .feature-panel {
    width: calc(100% + 16px);
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .feature-panel article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }
}
