:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #251d31;
  --muted: #625f64;
  --line: #d6d3ca;
  --mint: #d1f49e;
  --lilac: #d7bcff;
  --display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
figure, h1, h2, h3, p, ul, fieldset { margin: 0; }
img { max-width: 100%; display: block; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 3px solid #7f44b0; outline-offset: 4px; }
section[id] { scroll-margin-top: 28px; }
.wrap { width: min(100% - clamp(40px, 9vw, 152px), 1232px); margin-inline: auto; }
.skip, .sr, .tab-input { position: absolute; height: 1px; width: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip:focus { z-index: 4; clip-path: none; top: 10px; left: 12px; width: auto; height: auto; padding: 12px; background: white; }
.top { min-height: 88px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.main-nav, .account-nav, footer nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.main-nav { margin-left: auto; }
.account-nav { margin-left: clamp(10px, 3vw, 44px); }
.main-nav a, .login-link, footer nav a { font-size: .92rem; font-weight: 600; }
.main-nav a:hover, .login-link:hover, footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 49px; padding: 11px 21px; border: 1px solid var(--ink); border-radius: 9px; font-weight: 650; font-size: .96rem; transition: background .18s, transform .18s; }
.button span { font-family: var(--mono); font-size: 1.2em; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: #493552; }
.button-outline:hover { background: #eeece6; }
.top-action { min-height: 41px; padding: 8px 15px; font-size: .88rem; gap: 14px; }
.hero { padding-block: clamp(62px, 6vw, 96px) clamp(64px, 7vw, 106px); display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: clamp(32px, 4.9vw, 80px); }
.overline, .preview-top small, .project-title small, .connect-list > li > small { font-family: var(--mono); font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.overline { display: flex; align-items: center; gap: 12px; }
.duo { position: relative; width: 22px; height: 12px; transform: skewX(-26deg); background: #c5a2ed; border-right: 8px solid #b4d97e; }
h1, .section-title h2 { font-weight: 560; letter-spacing: -.065em; line-height: 1.02; }
h1 { font-size: clamp(3.65rem, 5.95vw, 5.9rem); margin-block: 23px 20px; }
h1 em, h2 em { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; letter-spacing: -.07em; }
.lead { max-width: 34em; font-size: clamp(1.04rem, 1.4vw, 1.23rem); color: var(--muted); line-height: 1.56; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.text-link { font-size: .95rem; font-weight: 640; }
.text-link span { display: inline-block; margin-left: 2px; transition: transform .18s; }
.text-link:hover span { transform: translateY(3px); }

.stage { position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: clamp(24px, 3.2vw, 48px); border: 1px solid #a89bb9; border-radius: 19px; background: #c9b2e2; }
.stage::before, .stage::after, .stage-pattern { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage::before { background-image: radial-gradient(#624a7142 .8px, transparent .9px); background-size: 7px 7px; }
.stage-pattern { background: #9574af; clip-path: polygon(72% 0,100% 0,100% 30%,32% 100%,5% 100%); }
.stage::after { background: #dcc5f0; clip-path: polygon(93% 0,100% 0,100% 18%,21% 100%,3% 100%); }
.preview { margin-inline: auto; max-width: 515px; min-width: 0; border: 1px solid #43374d; border-radius: 13px; overflow: hidden; background: #fffdfa; box-shadow: 5px 6px 0 #251d3125, 0 12px 30px #251d3114; }
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 11px clamp(12px, 1.45vw, 22px); background: #2d2534; color: white; }
.preview-top > span { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .88rem; letter-spacing: -.03em; }
.preview-top small { text-align: right; font-size: .55rem; color: #e5dbea; }
.project-title { display: flex; align-items: center; gap: 11px; padding: 20px clamp(14px, 2vw, 30px) 13px; }
.project-glyph { display: grid; place-content: center; flex: none; width: 37px; height: 37px; background: var(--mint); border-radius: 8px; font: 700 22px/1 var(--mono); }
.project-title small { display:block; color: #69626c; font-size: .55rem; }
.project-title h2 { font-size: clamp(1.12rem, 1.45vw, 1.38rem); letter-spacing: -.04em; line-height: 1.18; }
.preview-tabs { border: 0; min-width: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; }
.preview-tabs label { cursor: pointer; color: var(--muted); padding: 9px 0 7px; margin-right: clamp(11px, 1.35vw, 20px); border-bottom: 2px solid transparent; font-size: .76rem; line-height: 1.15; }
.preview-tabs label:first-of-type { margin-left: clamp(14px, 2vw, 30px); }
.tab-input:checked + label { color: var(--ink); border-color: var(--ink); font-weight: 700; }
.tab-input:focus-visible + label { outline: 2px solid #7f44b0; outline-offset: 1px; }
.panels { width: 100%; flex: 0 0 100%; border-top: 1px solid #e5e1da; }
.panel { display: none; padding: 18px clamp(14px, 2vw, 30px); min-height: 179px; }
#view-chat:checked ~ .panels > .panel-chat, #view-tasks:checked ~ .panels > .panel-tasks, #view-docs:checked ~ .panels > .panel-docs { display: block; }
.message, .list-item { display: flex; align-items: flex-start; gap: 11px; }
.message + .message { margin-top: 13px; }
.avatar, .provider-ico { display: grid; flex: none; place-items: center; font: 650 .85rem/1 var(--mono); border-radius: 7px; }
.avatar { width: 29px; height: 29px; }
.grok { color: #352447; background: #e2d0f1; }
.codex { color: #263926; background: #d9edbe; }
.ag { color: #3e2d21; background: #f6d4b3; }
.message h3, .list-item strong { font-size: .8rem; font-weight: 700; line-height: 1.3; }
.message h3 small { font: .57rem var(--mono); color: #726c75; margin-left: 5px; }
.message p { margin-top: 3px; color: #444046; line-height: 1.4; font-size: .75rem; }
.message p b { color: #603888; }
.attachment { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 3px 7px; color: #334831; background: #edf3e5; border: 1px solid #c9d6bd; border-radius: 4px; font-size: .66rem; font-weight: 600; }
.list-item { align-items: center; }
.list-item + .list-item { margin-top: 9px; }
.list-item strong, .list-item small { display: block; }
.list-item small { margin-top: 1px; font-size: .66rem; color: #69626c; }
.check { width: 16px; height: 16px; border: 1px solid #aba2b2; border-radius: 50%; }
.check.done { display: grid; place-items: center; border-color: #658743; background: #d8edc6; font: 600 .6rem/1 var(--display); }
.check.progress { background: linear-gradient(to right, #b292cc 50%, transparent 50%); }
.paper { width: 24px; height: 28px; background: repeating-linear-gradient(to bottom, transparent 0 4px,#a48ba9 4px 5px) center / 12px 12px no-repeat #f0e9f4; border: 1px solid #c5b0d0; border-radius: 3px; }
.preview-bottom { display: flex; align-items: center; gap: 8px; padding: 10px clamp(14px, 2vw, 30px); border-top: 1px solid #e5e1da; font-size: .68rem; color: #645e67; }
.mini-avatars { display: inline-flex; padding-left: 3px; }
.mini-avatars i { display: grid; place-items: center; width: 19px; height: 19px; background: #decaed; border: 1px solid white; border-radius: 50%; margin-left: -3px; font: 700 .52rem/1 var(--mono); color: #392e40; }
.mini-avatars i:nth-child(2) { background: #d7eabd; }
.mini-avatars i:nth-child(3) { background: #f3cfaa; }

.block { padding-block: clamp(54px, 6vw, 87px); }
.workflow { border-top: 1px solid var(--line); }
.section-title h2 { margin-top: 16px; font-size: clamp(2.5rem, 4.05vw, 4.1rem); }
.section-desc { max-width: 59ch; margin-top: 19px; color: var(--muted); line-height: 1.55; font-size: 1.02rem; }
.steps, .price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.steps { gap: clamp(22px, 4vw, 70px); margin-top: 40px; }
.steps article { padding-top: 17px; border-top: 1px solid var(--line); }
.feature-icon { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e6dded; color: #43334d; }
.feature-icon i { display: block; position: relative; }
.icon-project i { width: 19px; height: 13px; border: 1.7px solid; border-radius: 2px; }
.icon-project i::after { content: ""; position: absolute; top: -5px; left: -2px; width: 8px; height: 4px; border: solid currentColor; border-width: 1.7px 1.7px 0; border-radius: 3px 3px 0 0; }
.icon-chat { background: #dde6cf; }
.icon-chat i { width: 18px; height: 14px; border: 1.7px solid; border-radius: 5px; }
.icon-chat i::after { content: ""; position: absolute; bottom: -4px; left: 3px; width: 5px; height: 5px; transform: skewY(-35deg); border: solid currentColor; border-width: 0 0 1.7px 1.7px; background: #dde6cf; }
.icon-check { background: #eee2d3; }
.icon-check i { border: solid currentColor; border-width: 0 0 2px 2px; width: 17px; height: 10px; transform: translateY(-2px) rotate(-45deg); }
.steps h3 { margin: 16px 0 6px; font-size: 1.22rem; letter-spacing: -.035em; }
.steps p { color: var(--muted); line-height: 1.55; font-size: .97rem; max-width: 37ch; }
.connections { color: #fbf7fc; background: var(--ink); }
.connection-grid { padding-block: clamp(52px, 6.5vw, 95px); display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: clamp(32px,8vw,130px); }
.connections .overline { color: var(--mint); }
.connections .section-title h2 { max-width: 11em; }
.connections .section-title h2 em { color: var(--lilac); }
.connections .section-desc { color: #d2cbd4; max-width: 42ch; }
.connect-list, .limits { list-style: none; padding: 0; }
.connect-list li { display: flex; gap: 13px; align-items: center; border-top: 1px solid #514858; padding-block: 19px; }
.connect-list li:last-child { border-bottom: 1px solid #514858; }
.connect-list h3 { font-size: 1.04rem; letter-spacing: -.025em; }
.connect-list p { margin-top: 3px; font-size: .88rem; color: #d2cbd4; }
.provider-ico { width: 39px; height: 39px; font-size: 1.17rem; }
.connect-list > li > small { margin-left: auto; color: #d3c6dd; font-size: .61rem; }
.price-grid { margin-top: 30px; gap: 15px; }
.price-card { display: flex; flex-direction: column; background: #fbfaf6; border: 1px solid var(--line); border-radius: 13px; padding: clamp(20px,2.35vw,36px); }
.price-card.accent { background: #e0efcc; border-color: #b0c39b; }
.price-card h3 { font-size: 1.46rem; letter-spacing: -.045em; }
.audience { margin-top: 5px; color: #5c575d; font-size: .9rem; }
.amount { margin-top: 24px; font-weight: 590; font-size: 3.7rem; letter-spacing: -.08em; line-height: 1.13; }
.amount span { font-size: 1.65rem; font-weight: 500; letter-spacing: -.05em; }
.period { margin-top: 4px; font-size: .82rem; color: #575459; min-height: 2.9em; }
.limits { margin: 18px 0 24px; padding-top: 13px; border-top: 1px solid #aaa5a178; }
.limits li { margin-bottom: 4px; font-size: .9rem; }
.limits li::before { content: "✓"; display: inline-block; margin-right: 8px; font-size: .82rem; }
.price-card .button { margin-top: auto; }
footer.wrap { padding-block: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
@media (min-width: 1700px) { .hero { padding-block: 100px; } }
@media (max-width: 940px) {
  .hero { gap: 24px; grid-template-columns: .95fr 1fr; }
  h1 { font-size: clamp(3.1rem,6vw,4rem); }
  .stage { padding: 18px; }
  .hero-actions { gap: 18px; }
  .account-nav { margin-left: 8px; }
  .main-nav { gap: 18px; }
}
@media (max-width: 750px) {
  .wrap { width: min(100% - 40px, 630px); }
  .top { min-height: 68px; gap: 12px; }
  .account-nav { margin-left: 2px; gap: 14px; }
  .main-nav { gap: 15px; }
  .main-nav a:not(:last-child) { display: none; }
  .top .brand img { width: 113px; height: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 49px 47px; gap: 32px; }
  h1 { font-size: clamp(3.55rem,9.6vw,5.1rem); margin-block: 17px; }
  .hero-copy { max-width: 550px; }
  .hero-actions { margin-top: 21px; }
  .stage { padding: clamp(20px,5vw,38px); }
  .preview { max-width: none; }
  .preview-top { padding-inline: 16px; }
  .panel { min-height: 155px; }
  .steps { grid-template-columns: 1fr; gap: 19px; margin-top: 23px; }
  .steps article { display: grid; grid-template-columns: 38px 1fr; gap: 4px 14px; align-items: center; }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 2; max-width: 50ch; }
  .connection-grid { grid-template-columns: 1fr; gap: 22px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 23px; }
  .period { min-height: 0; }
  .amount { margin-top: 17px; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .main-nav { display: none; }
  .account-nav { margin-left: auto; gap: 10px; }
  .top .brand img { width: 96px; }
  .top-action { padding: 7px 11px; gap: 8px; }
  .stage { padding: 13px; }
  .hero { gap: 28px; }
  h1 { font-size: clamp(2.95rem,12.8vw,3.55rem); }
  .connect-list li { gap: 9px; }
  .connect-list > li > small { font-size: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
