@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #211532;
  --muted: #5b506b;
  --brand: #300571;
  --accent: #5a2793;
  --night: #220c3d;
  --lavender: #dfc9ff;
  --paper: #fbf9fd;
  --line: #e2d9ec;
  --white: #fff;
  --wrap: 76rem;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 Geist, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7943b4; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--lavender); }
::selection { background: var(--lavender); color: var(--night); }
.wrap { width: min(var(--wrap), calc(100% - 6rem)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
h1, h2, h3 { line-height: 1.07; text-wrap: balance; }
h1, h2 { font-weight: 650; letter-spacing: -.04em; }
h1 { font-size: clamp(3.15rem, 5.35vw, 5.3rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h3 { font-size: 1.33rem; letter-spacing: -.025em; }
p { color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; position: absolute; top: .5rem; left: .5rem; padding: .75rem; background: var(--white); z-index: 3; }

.site-header { position: relative; z-index: 2; background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.2rem; }
.brand { display: flex; align-items: center; min-height: 44px; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
nav a { display: flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 540; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); color: var(--ink); }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; font-weight: 650; text-decoration: none; }
.button { padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: .55rem; transition: background-color .18s ease, color .18s ease; }
.button-dark { background: var(--night); color: var(--white); }
.button-dark:hover { background: var(--accent); }
.button-light { color: var(--night); background: var(--lavender); }
.button-light:hover { background: var(--white); }
.button-outline { border-color: var(--line); color: var(--night); }
.button-outline:hover { background: #f1e7fb; }
.text-link { color: var(--accent); }
.text-link:hover { text-decoration: underline; }

.hero, .subhero {
  color: var(--white);
  background-color: var(--night);
  background-image: linear-gradient(112deg, var(--night) 32%, var(--brand));
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(2rem, 5.4vw, 5.5rem);
  align-items: center;
  padding-block: clamp(4.9rem, 9.2vw, 9rem);
}
.hero h1 em { display: block; font-style: normal; color: var(--lavender); }
.hero-copy > p, .subhero p { color: #e6d8f6; max-width: 43ch; font-size: clamp(1.06rem, 1.6vw, 1.27rem); margin-top: 1.45rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.45rem; margin-top: 1.85rem; }
.actions .text-link { color: var(--lavender); }
.dashboard {
  position: relative;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .85rem;
  box-shadow: 0 27px 65px rgb(19 5 35 / 38%);
}
.dashboard-top, .dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.dashboard-top { padding: .95rem 1.25rem; border-bottom: 1px solid var(--line); min-height: 3.65rem; }
.dashboard-name { display: inline-flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 680; }
.example { font-size: .75rem; color: var(--muted); text-align: right; }
.dashboard-content { padding: 1.35rem 1.25rem 1.25rem; }
.dashboard-heading { align-items: baseline; }
.dashboard-heading strong { font-size: 1.19rem; line-height: 1.1; }
.dashboard-heading span { font-size: .75rem; color: var(--muted); text-align: right; }
.chart { display: flex; gap: .7rem; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.chart-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: right; height: 9.6rem; font-size: .7rem; line-height: 1; color: var(--muted); }
.chart-data { flex: 1; }
.bars {
  height: 9.4rem;
  display: flex;
  justify-content: space-around;
  align-items: end;
  padding-inline: .25rem;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #ebe3f3 calc(25% - 1px) 25%);
}
.bars i { display: block; width: 10%; height: var(--bar); background: #8d61b5; border-radius: .22rem .22rem 0 0; }
.bars i:last-child { background: var(--brand); }
.chart-labels { display: flex; justify-content: space-around; padding: .4rem .25rem 0; font-size: .71rem; color: var(--muted); }
.insight { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .9rem; margin-top: 1.15rem; background: #f4edfb; border-radius: .45rem; }
.insight-icon { color: var(--accent); width: 1rem; min-width: 1rem; height: 1rem; margin-top: .25rem; background: currentColor; clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 64%, 50% 100%, 35% 64%, 0 50%, 35% 35%); font-size: 0; }
.insight strong { display: block; font-size: .87rem; }
.insight p { font-size: .85rem; line-height: 1.45; margin-top: .16rem; }

.section-intro, .project-layout, .closing, .contact-layout, .faq { display: grid; grid-template-columns: 1fr .85fr; align-items: start; gap: 2rem 4.5rem; }
.section-intro p, .project-layout p, .contact-layout p { max-width: 45ch; font-size: 1.08rem; }
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
  padding: 0;
  margin: 2.55rem 0 1.1rem;
}
.steps li { counter-increment: step; padding-top: 1rem; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-size: .78rem; font-weight: 650; margin-bottom: 1rem; }
.steps p { margin-top: .65rem; }
.project-band { background: #eee4f8; overflow: hidden; }
.project-layout { padding-block: clamp(3.75rem, 8vw, 6rem); align-items: center; }
.project-layout p, .contact-layout h2 + p { margin: 1rem 0 1.4rem; }
.project-art { min-height: 16rem; display: grid; place-items: center; position: relative; isolation: isolate; }
.project-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid #d9c4ee; border-radius: 50%; z-index: -1; }
.project-art img { width: min(64%, 19rem); filter: drop-shadow(0 16px 22px rgb(48 5 113 / 16%)); }
.closing { align-items: center; }
.closing a { justify-self: end; }
.site-footer { background: var(--night); color: #ecdefa; padding-block: 2rem; }
.site-footer small { white-space: nowrap; }

.subhero { padding-block: clamp(4.1rem, 8vw, 7rem); }
.subhero h1 { max-width: 17ch; }
.subhero p { max-width: 57ch; }
.plan-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
.plan:first-child { border-color: #bd9bdd; }
.plan h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.check-list { list-style: none; padding: 0; margin: 1.3rem 0; }
.check-list li { position: relative; padding-left: 1.25rem; margin: .48rem 0; }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: .48em; width: .55rem; height: .36rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }
.price { width: 100%; font-weight: 650; color: var(--ink); border-top: 1px solid var(--line); padding-top: 1.15rem; margin: auto 0 1rem; }
.faq h2, .contact-layout h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
details { border-bottom: 1px solid var(--line); padding-block: .85rem; }
details:first-child { border-top: 1px solid var(--line); }
summary { font-weight: 650; padding: .35rem 0; min-height: 44px; }
details p { margin: .25rem 0 .45rem; }
.contact-panel { background: var(--white); border: 1px solid var(--line); border-radius: .7rem; padding: 1.5rem; }
.contact-panel h3 { margin-bottom: 1rem; }
.contact-panel form { display: grid; gap: .6rem; }
.contact-panel label { font-weight: 650; }
.contact-panel label span, .contact-channels dt span { font-weight: 400; color: var(--muted); }
.contact-panel input, .contact-panel select, .contact-panel textarea { width: 100%; padding: .6rem; min-height: 44px; border: 1px solid #9482a7; border-radius: .35rem; background: var(--paper); color: var(--ink); font: inherit; }
.contact-panel textarea { resize: vertical; }
.contact-panel button { justify-self: start; margin-top: .5rem; }
.contact-panel button:disabled { cursor: wait; opacity: .72; }
.contact-panel #contact-help { font-size: .9rem; }
#contact-status:not(:empty) { margin-top: 1rem; font-weight: 550; }
#contact-status[data-result="success"] { color: #215c37; }
#contact-status[data-result="error"] { color: #9d263c; }
.contact-channels { margin: 2rem 0 0; }
.contact-channels dt { font-weight: 650; }
.contact-channels dd { margin: .15rem 0 .8rem; }
.contact-channels a { color: var(--accent); }

@media (max-width: 62rem) {
  .wrap { width: min(var(--wrap), calc(100% - 4rem)); }
  .hero-layout { grid-template-columns: 1fr .95fr; gap: 2rem; }
  h1 { font-size: clamp(2.85rem, 6vw, 4.6rem); }
  .site-header nav { gap: .25rem .9rem; }
  .header-inner { gap: .75rem; }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.4rem; }
  .hero-layout, .section-intro, .project-layout, .closing, .faq, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-layout { padding-block: 3.4rem 3.65rem; gap: 2.2rem; }
  .dashboard { width: min(100%, 32rem); }
  .brand img { width: 114px; }
  .header-cta { white-space: nowrap; font-size: .85rem; min-height: 44px; padding: .45rem .65rem; }
  .menu-toggle { display: block; margin-left: auto; font-size: .85rem; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--paper); padding: .5rem 1.25rem .9rem; border-bottom: 1px solid var(--line); }
  .menu-toggle[aria-expanded="true"] + nav { display: grid; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.6rem; }
  .project-art { min-height: 9rem; }
  .project-art::before { width: min(48%, 17rem); }
  .project-art img { width: min(39%, 12rem); }
  .closing a { justify-self: start; }
  .footer-inner { flex-wrap: wrap; gap: .7rem 1.5rem; }
  .site-footer nav { order: 3; width: 100%; gap: .25rem 1.15rem; }
}
@media (max-width: 38rem) {
  .plan-section { grid-template-columns: 1fr; }
  .header-inner { gap: .45rem; }
  .brand img { width: 100px; }
}
@media (max-width: 24rem) {
  .header-inner { width: calc(100% - 1.5rem); }
  .header-cta { font-size: .78rem; }
  .header-cta span { display: none; }
  h1 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { --motion-ease: cubic-bezier(.16, 1, .3, 1); }

  @view-transition { navigation: auto; }
  :root { view-transition-name: none; }
  main { view-transition-name: page-content; }
  ::view-transition-old(page-content) { animation-duration: 150ms; }
  ::view-transition-new(page-content) { animation-duration: 240ms; }

  .hero-copy > *, .subhero .wrap > * {
    animation: text-arrival 650ms var(--motion-ease) backwards;
  }
  .hero-copy > p, .subhero p { animation-delay: 65ms; }
  .hero-copy .actions { animation-delay: 120ms; }

  .dashboard.motion-entered {
    animation: panel-arrival 680ms var(--motion-ease) backwards;
  }
  .dashboard.motion-entered .bars i {
    transform-origin: bottom;
    animation: plot-bar 640ms var(--motion-ease) calc(150ms + var(--beat, 0ms)) backwards;
  }
  .bars i:nth-child(2) { --beat: 42ms; }
  .bars i:nth-child(3) { --beat: 84ms; }
  .bars i:nth-child(4) { --beat: 126ms; }
  .bars i:nth-child(5) { --beat: 168ms; }
  .bars i:nth-child(6) { --beat: 210ms; }
  .dashboard.motion-entered .insight {
    animation: text-arrival 470ms var(--motion-ease) 430ms backwards;
  }

  .steps.motion-entered li, .plan-section.motion-entered .plan, .contact-panel.motion-entered {
    animation: text-arrival 540ms var(--motion-ease) backwards;
  }
  .steps.motion-entered li:nth-child(2), .plan-section.motion-entered .plan:nth-child(2) {
    animation-delay: 70ms;
  }
  .steps.motion-entered li:nth-child(3) { animation-delay: 140ms; }
  .project-art.motion-entered::before { animation: mark-orbit 720ms var(--motion-ease) backwards; }
  .project-art.motion-entered img { animation: mark-arrival 740ms var(--motion-ease) 55ms backwards; }

  .button > span, .text-link > span { transition: transform 200ms var(--motion-ease); }
  .button:is(:hover, :focus-visible) > span, .text-link:is(:hover, :focus-visible) > span {
    transform: translate(3px, -2px);
  }
  .actions .text-link:is(:hover, :focus-visible) > span { transform: translateY(3px); }
  details[open] > p { animation: content-open 240ms var(--motion-ease) backwards; }

  @media (max-width: 48rem) {
    .menu-toggle[aria-expanded="true"] + nav { animation: content-open 230ms var(--motion-ease) backwards; }
  }

  @keyframes text-arrival {
    from { opacity: .55; transform: translateY(16px); }
  }
  @keyframes panel-arrival {
    from { opacity: .7; transform: translateY(26px) scale(.985); }
  }
  @keyframes plot-bar {
    from { transform: scaleY(.06); }
  }
  @keyframes mark-orbit {
    from { opacity: .2; transform: scale(.84); }
  }
  @keyframes mark-arrival {
    from { clip-path: inset(0 92% 0 0); opacity: .45; transform: translateX(-12px); }
    to { clip-path: inset(-32% -20%); opacity: 1; transform: translateX(0); }
  }
  @keyframes content-open {
    from { opacity: .5; transform: translateY(-6px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
