:root {
  --ink: #132529;
  --text: #1c2d32;
  --muted: #5f7476;
  --bg: #eff6f1;
  --bg-soft: #f7fbf8;
  --card: rgba(255, 255, 255, 0.75);
  --card-strong: #ffffff;
  --line: rgba(19, 37, 41, 0.1);
  --teal: #0d8f86;
  --teal-deep: #0b5858;
  --mint: #d8f0ea;
  --sage: #eef5d7;
  --gold: #d6ad49;
  --shadow: 0 28px 60px rgba(37, 80, 78, 0.13);
  --radius: 28px;
  --radius-xl: 42px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(13,143,134,0.12), transparent 26%),
    radial-gradient(circle at 92% 14%, rgba(214,173,73,0.15), transparent 18%),
    linear-gradient(160deg, #edf6f6 0%, #f4fbf6 48%, #eef5ea 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(13,143,134,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  opacity: .35;
  z-index: -2;
}
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  z-index: -3;
}
.orb-a {
  width: 380px;
  height: 380px;
  right: -110px;
  top: -80px;
  background: radial-gradient(circle, rgba(13,143,134,.22), rgba(13,143,134,0) 70%);
  animation: drift1 18s ease-in-out infinite;
}
.orb-b {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(214,173,73,.12), rgba(214,173,73,0) 72%);
  animation: drift2 20s ease-in-out infinite;
}
.orb-c {
  width: 320px;
  height: 320px;
  right: 14%;
  top: 45%;
  background: radial-gradient(circle, rgba(102,210,196,.15), rgba(102,210,196,0) 70%);
  animation: drift3 16s ease-in-out infinite;
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(-25px, 24px,0);} }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(28px,-20px,0);} }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(-18px,18px,0);} }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 252, 249, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(19, 37, 41, 0.08);
}
.nav-wrap {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, #eefcf8, #d8f4ef);
  border: 1px solid rgba(13,143,134,.18);
  box-shadow: 0 18px 34px rgba(13,143,134,.16);
}
.brand-ring {
  width: 36px;
  height: 30px;
  border: 4px solid var(--teal);
  border-radius: 12px 12px 16px 16px;
  position: absolute;
  top: 17px;
}
.brand-ring::before,
.brand-ring::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 5px;
  height: 14px;
  border-radius: 999px;
  background: var(--teal-deep);
}
.brand-ring::before { left: 6px; }
.brand-ring::after { right: 6px; }
.brand-cart {
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(8px, 7px);
  border-radius: 2px;
}
.brand-copy strong { display: block; font-size: 1rem; }
.brand-copy small { display: block; color: var(--muted); margin-top: 3px; font-size: .82rem; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.main-nav a {
  font-weight: 600;
  color: #3c5559;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  box-shadow: 0 18px 34px rgba(11, 88, 88, 0.22);
}
.button-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  border-color: var(--line);
}

.eyebrow,
.section-kicker,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .79rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-deep);
}
.eyebrow::before,
.section-kicker::before,
.chip::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.hero { padding-top: 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1,
.section-copy h2,
.app-copy h2,
.section-head h2,
.cta-panel h2,
.policy-shell h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: .92;
  margin: 18px 0 16px;
  color: var(--ink);
}
.hero-copy h1 { font-size: clamp(3.3rem, 5vw, 6rem); max-width: 10ch; }
.section-copy h2,
.app-copy h2,
.section-head h2,
.cta-panel h2,
.policy-shell h1 { font-size: clamp(2.4rem, 3.6vw, 4.2rem); }
.lead,
.section-copy p,
.app-copy p,
.section-head p,
.metric-card p,
.service-card p,
.workflow-timeline p,
.contact-item a,
.footer-brand p,
.policy-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-strip {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}
.hero-strip article {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(19,37,41,.08);
  box-shadow: var(--shadow);
}
.hero-strip strong { font-size: 1.08rem; color: var(--ink); }
.hero-strip span { color: #506569; line-height: 1.65; }

.hero-stage {
  position: relative;
  min-height: 760px;
  border-radius: var(--radius-xl);
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(226,244,239,.7));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-card,
.glow-card,
.brand-float,
.bento-card,
.metric-card,
.service-card,
.workflow-timeline article,
.contact-box,
.cta-panel,
.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.phone-card {
  position: absolute;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfffe, #f3fbf8);
}
.phone-card img { border-radius: 26px; }
.phone-main {
  width: min(57%, 320px);
  left: 44px;
  bottom: 38px;
}
.phone-side {
  width: min(49%, 270px);
  right: 36px;
  top: 100px;
}
.tilt-left { transform: rotate(-6deg); }
.tilt-right { transform: rotate(7deg); }
.glass-card {
  position: absolute;
  z-index: 2;
  width: 230px;
  padding: 18px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
}
.glass-card strong { display: block; margin: 10px 0 8px; font-size: 1.05rem; }
.glass-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.glass-a { top: 36px; left: 22px; }
.glass-b { right: 16px; bottom: 120px; }
.brand-float {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
}
.brand-float img { width: 54px; height: 54px; border-radius: 16px; }
.brand-float strong { display: block; }
.brand-float span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.5; max-width: 22ch; }
.floating-card { animation: floatA 8s ease-in-out infinite; }
.floating-card-delayed { animation: floatB 10s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
@keyframes floatB { 0%,100% { transform: translateY(0);} 50% { transform: translateY(12px);} }

.split-grid,
.app-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bento-card {
  padding: 26px;
  border-radius: 28px;
}
.bento-card span,
.metric-card strong,
.service-card span,
.workflow-timeline small,
.contact-item span {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
}
.bento-card span { color: var(--teal-deep); }
.bento-card strong { display: block; font-size: 1.2rem; margin: 12px 0 10px; }
.bento-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.accent-card { background: linear-gradient(145deg, rgba(13,143,134,.1), rgba(255,255,255,.9)); }
.wide-card { grid-column: 1 / -1; }

.app-section {
  background: linear-gradient(180deg, rgba(216,240,234,.38), rgba(255,255,255,0));
}
.app-showcase .mosaic-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mosaic-item {
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f4fffb, #ffffff);
  border: 1px solid rgba(19,37,41,.08);
  box-shadow: var(--shadow);
}
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.tall-card { align-self: start; transform: translateY(40px); }
.short-card { transform: translateY(-20px); }
.feature-list { display: grid; gap: 14px; margin-top: 22px; }
.feature-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(19,37,41,.07);
}
.feature-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background: rgba(13,143,134,.12);
  font-weight: 800;
}
.feature-list strong { display: block; margin-bottom: 6px; font-size: 1.04rem; }
.feature-list p { margin: 0; }
.app-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.inline-note { color: var(--muted); line-height: 1.6; max-width: 24ch; }

.section-head { max-width: 760px; margin-bottom: 26px; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metric-card {
  padding: 24px;
  border-radius: 26px;
}
.metric-card strong {
  display: block;
  font-size: 1rem;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.metric-card p { margin: 0; }

.services-marquee {
  overflow: hidden;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(19,37,41,.08);
  border-bottom: 1px solid rgba(19,37,41,.08);
}
.services-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #456467;
  font-size: .82rem;
}
.services-track span::after {
  content: '•';
  color: var(--gold);
  margin-left: 40px;
}
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  padding: 24px;
  border-radius: 28px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -40px;
  bottom: -50px;
  background: rgba(13,143,134,.09);
}
.service-card span { color: var(--gold); }
.service-card h3 { margin: 12px 0 10px; font-size: 1.16rem; }
.service-card p { margin: 0; }

.workflow-grid { align-items: center; }
.workflow-timeline {
  display: grid;
  gap: 16px;
  position: relative;
}
.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(13,143,134,0));
}
.workflow-timeline article {
  padding: 22px 22px 22px 46px;
  border-radius: 24px;
  position: relative;
}
.workflow-timeline article::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: 11px;
  top: 27px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  box-shadow: 0 0 0 8px rgba(13,143,134,.08);
}
.workflow-timeline small { color: var(--teal-deep); }
.workflow-timeline strong { display: block; font-size: 1.08rem; margin: 10px 0 8px; }
.workflow-timeline p { margin: 0; }

.cta-panel {
  padding: 36px 40px;
  border-radius: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(9, 87, 84, 0.96), rgba(13, 143, 134, 0.9));
  color: #fff;
}
.cta-panel .section-kicker,
.cta-panel .section-kicker::before,
.cta-panel h2 { color: #fff; }
.cta-panel .section-kicker::before { background: rgba(255,255,255,.78); }
.cta-panel h2 { margin-bottom: 0; max-width: 15ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-panel .button-secondary {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.contact-box {
  padding: 32px;
  border-radius: 30px;
  display: grid;
  gap: 20px;
}
.contact-item { display: grid; gap: 8px; }
.contact-item span { color: var(--muted); }
.contact-item strong,
.contact-item a { font-size: 1.06rem; line-height: 1.65; }

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(19,37,41,.08);
}
.footer-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand strong { font-size: 1rem; }
.footer-brand p { margin: 8px 0 0; max-width: 44ch; }
.footer-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}
.footer-meta a { font-weight: 700; color: var(--teal-deep); }

.policy-shell { max-width: 920px; }
.policy-date { margin: -4px 0 24px; color: var(--muted); }
.policy-card {
  padding: 28px;
  border-radius: 28px;
  margin-bottom: 18px;
}
.policy-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.72rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.policy-card a { color: var(--teal-deep); font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-grid,
  .app-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-stage { min-height: 820px; }
}

@media (max-width: 860px) {
  .nav-wrap { grid-template-columns: auto auto auto; gap: 12px; }
  .desktop-cta { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .main-nav {
    display: none;
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    flex-direction: column;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .hero-strip article { grid-template-columns: 1fr; gap: 8px; }
  .service-grid,
  .metrics-grid,
  .bento-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .cta-panel,
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100vw - 28px, 100%); }
  .section { padding: 76px 0; }
  .hero-copy h1 { font-size: 3rem; }
  .section-copy h2,
  .app-copy h2,
  .section-head h2,
  .cta-panel h2,
  .policy-shell h1 { font-size: 2.36rem; }
  .button { width: 100%; }
  .hero-stage { min-height: 920px; padding: 18px; }
  .phone-main {
    width: min(72%, 320px);
    left: 16px;
    bottom: 32px;
  }
  .phone-side {
    width: min(62%, 260px);
    right: 10px;
    top: 120px;
  }
  .glass-card { width: 190px; padding: 14px; }
  .glass-a { left: 12px; top: 18px; }
  .glass-b { right: 10px; bottom: 128px; }
  .brand-float {
    left: 16px;
    right: 16px;
    bottom: 18px;
    max-width: none;
  }
  .app-showcase .mosaic-shell { grid-template-columns: 1fr; }
  .tall-card,
  .short-card { transform: none; }
}
