/* AI Syntro — light, clarifying, desk-ready */

:root {
  --ink: #1a2f38;
  --ink-soft: #3d5560;
  --mist: #e7f2ef;
  --sky: #d5e6ec;
  --sand: #ebe4d6;
  --paper: #f4f8f7;
  --teal: #0f5c5c;
  --teal-deep: #0a4545;
  --ember: #c26a2b;
  --line: rgba(26, 47, 56, 0.12);
  --line-strong: rgba(26, 47, 56, 0.22);
  --radius: 4px;
  --font-brand: "Syne", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(213, 230, 236, 0.9), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(231, 242, 239, 0.85), transparent 55%),
    linear-gradient(180deg, var(--paper), #eef3f1 40%, var(--sand));
  background-attachment: fixed;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 248, 247, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 248, 247, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, var(--teal) 0 45%, transparent 45% 55%, var(--ember) 55%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-company {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--teal);
  color: #f7fbfa;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.header-cta:hover {
  background: var(--teal-deep);
  color: #f7fbfa;
}

.nav-toggle {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .nav,
  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #f4fbfa;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #f4fbfa;
}

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

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-deep);
}

.text-link:hover {
  color: var(--ember);
}

/* Hero — full-bleed composition */

.hero {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-viz {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viz-curve {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw-curve 2.4s var(--ease) 0.3s forwards;
}

.viz-bars .bar {
  transform-origin: bottom;
  transform: scaleY(0.15);
  animation: rise-bar 1.2s var(--ease) forwards;
}

.viz-bars .bar:nth-child(1) { animation-delay: 0.55s; }
.viz-bars .bar:nth-child(2) { animation-delay: 0.7s; }
.viz-bars .bar:nth-child(3) { animation-delay: 0.85s; }
.viz-bars .bar:nth-child(4) { animation-delay: 1s; }
.viz-bars .bar:nth-child(5) { animation-delay: 1.15s; }
.viz-bars .bar:nth-child(6) { animation-delay: 1.3s; }

@keyframes draw-curve {
  to { stroke-dashoffset: 0; }
}

@keyframes rise-bar {
  to { transform: scaleY(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
}

.hero-content > * {
  max-width: 34rem;
}

.hero-brand,
.page-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}

.hero-brand-lockup,
.page-brand-lockup {
  margin: 0 0 1.25rem;
}

.company-line {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--teal-deep);
}

.company-line--hero {
  font-size: clamp(0.92rem, 1.6vw, 1.1rem);
  letter-spacing: 0.03em;
  margin-top: 0.65rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 14ch;
}

.hero-lede,
.page-lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.9s var(--ease) forwards;
}

[data-reveal][data-delay="1"] { animation-delay: 0.15s; }
[data-reveal][data-delay="2"] { animation-delay: 0.3s; }
[data-reveal][data-delay="3"] { animation-delay: 0.45s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intro */

.intro {
  padding: 5rem 0 2rem;
}

.intro-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.intro-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.intro-copy {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-soft);
}

/* Suites */

.suites {
  padding: 3rem 0 5rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.suite-list {
  display: grid;
  gap: 3.5rem;
}

.suite-block {
  display: grid;
  gap: 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.suite-index {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0 0 0.5rem;
}

.suite-meta h3 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.suite-meta h3 a {
  text-decoration: none;
  color: var(--ink);
}

.suite-meta h3 a:hover {
  color: var(--teal-deep);
}

.suite-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.suite-desc {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.tool-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tool-chip {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: inherit;
  border-left: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.35);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tool-chip:hover {
  border-left-color: var(--teal);
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(4px);
  color: inherit;
}

.suite-excel .tool-chip:hover { border-left-color: var(--teal); }
.suite-docs .tool-chip:hover { border-left-color: #3d6b8a; }
.suite-visuals .tool-chip:hover { border-left-color: var(--ember); }
.suite-voice .tool-chip:hover { border-left-color: #5a6b3d; }

.tool-chip-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.tool-chip-summary {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .suite-block {
    grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
    gap: 2.5rem;
    align-items: start;
  }

  .tool-rail {
    grid-template-columns: 1fr 1fr;
  }
}

/* Promise band */

.promise {
  padding: 0 0 5rem;
}

.promise-inner {
  padding: 3rem 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.promise h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.promise p {
  margin: 0 0 1.5rem;
  max-width: 48ch;
  color: var(--ink-soft);
}

/* Page heroes */

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 40rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.page-hero .page-brand {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero .page-brand-lockup {
  margin-bottom: 0.75rem;
}

.page-hero .company-line {
  font-size: 0.88rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.page-count,
.tool-suite-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.suite-page.suite-docs .page-count,
.tool-page.suite-docs .tool-suite-label { color: #3d6b8a; }
.suite-page.suite-visuals .page-count,
.tool-page.suite-visuals .tool-suite-label { color: var(--ember); }
.suite-page.suite-voice .page-count,
.tool-page.suite-voice .tool-suite-label { color: #5a6b3d; }

/* Tool grid (interactive cards — allowed) */

.tool-grid-section {
  padding: 3rem 0;
}

.tool-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .tool-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.tool-card {
  display: grid;
  gap: 0.45rem;
  height: 100%;
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tool-card:hover {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  color: inherit;
}

.tool-num {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
}

.tool-card-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.tool-card-summary {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.tool-card-cta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.suite-jump {
  padding: 1rem 0 4rem;
}

.suite-jump h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.jump-links a {
  font-weight: 600;
  text-decoration: none;
}

/* Tool detail */

.tool-detail {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
}

@media (min-width: 880px) {
  .tool-detail {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3rem;
  }
}

.tool-detail-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
}

.tool-detail-copy h2:not(:first-child) {
  margin-top: 2rem;
}

.tool-detail-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 54ch;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.demo-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 92, 92, 0.08);
  border-left: 2px solid var(--teal);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.demo-note[hidden] {
  display: none;
}

.tool-aside {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 880px) {
  .tool-aside {
    padding: 0 0 0 1.5rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.tool-aside h2 {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.tool-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.tool-aside a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}

.tool-aside a:hover,
.tool-aside a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.tool-aside a[aria-current="page"] {
  font-weight: 600;
}

.tool-pager {
  display: grid;
  gap: 1rem;
  padding: 0 0 4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

@media (min-width: 700px) {
  .tool-pager {
    grid-template-columns: 1fr 1fr;
  }
}

.pager-link {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0;
}

.pager-link span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pager-link strong {
  font-family: var(--font-brand);
  font-size: 1.05rem;
}

.pager-link.next {
  text-align: right;
}

.pager-link:hover strong {
  color: var(--teal);
}

/* Footer */

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line-strong);
  background: rgba(26, 47, 56, 0.03);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.footer-company {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.02em;
}

.footer-tag {
  margin: 0;
  color: var(--ink-soft);
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col-title {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink);
}

.footer-cols ul {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-cols a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-cols a:hover {
  color: var(--teal);
}

.footer-base {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-base p {
  margin: 0;
}

.footer-base p:first-child {
  font-weight: 600;
  color: var(--ink);
}

.footer-base a {
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 0.7fr 1.5fr;
  }

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-base {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .footer-base p:last-child {
    text-align: right;
  }
}

/* Scroll reveal */

[data-reveal-section] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal-section].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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