@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Manrope:wght@400;500;600;700;800&family=Roboto:ital,wght@0,400;1,400&display=swap');

:root {
  --ink: #1a1612;
  --muted: #6b665f;
  --soft: #f5f2ed;
  --line: #e8e1d8;
  --paper: #fffdfa;
  --white: #ffffff;
  --accent: #2479ff;
  --accent2: #ff3e24;
  --danger: #b42318;
  --service-peach: #ffe5d8;
  --service-blue: #d0f6ff;
  --service-yellow: #fff2b5;
  --service-border: #dfe1e4;
  --container: 1280px;
  --card-shadow: 0 20px 40px -28px rgba(20, 30, 60, 0.15);
  --card-shadow-hover: 0 24px 48px -30px rgba(20, 30, 60, 0.22);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --body-copy: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

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

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  outline: none;
  padding: 0.72rem 1rem;
}

textarea {
  border-radius: 20px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26, 22, 18, 0.08);
}

button,
.pill-button,
.ghost-button,
.secondary-btn,
.auth-link {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  line-height: 1.35;
  min-height: 42px;
  padding: 0.72rem 1.25rem;
  white-space: nowrap;
}

button,
.pill-button {
  background: var(--ink);
  color: var(--white);
}

button:hover,
.pill-button:hover {
  background: #2a241e;
}

.ghost-button,
.secondary-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.ghost-button:hover,
.secondary-btn:hover {
  background: var(--soft);
}

#app {
  background: var(--paper);
  margin: 0 auto;
  max-width: 1920px;
  min-height: 100vh;
  overflow: hidden;
  width: 100%;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 220px 1fr auto;
  margin: 0 auto;
  max-width: var(--container);
  min-height: 65px;
  padding: 11px 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.18rem;
  font-weight: 800;
  gap: 0.65rem;
}

.brand-logo {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}

.logo-mark {
  display: block;
  height: 26px;
  width: 26px;
}

.logo-text {
  align-items: center;
  display: inline-flex;
  gap: 3px;
  height: 18px;
}

.logo-ail {
  display: block;
  height: 17.5px;
  width: 30.5px;
}

.logo-dot {
  background: var(--accent);
  display: block;
  height: 3.25px;
  margin-top: 5px;
  width: 4.85px;
}

.logo-text-word {
  display: block;
  height: 16.3px;
  width: 46.3px;
}

.brand-mark {
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
  height: 22px;
  position: relative;
  width: 22px;
}

.brand-mark::after {
  background: #c8ff5d;
  border-radius: 4px;
  content: "";
  height: 12px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 12px;
}

.site-nav {
  display: flex;
  gap: 2.1rem;
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

#auth-section {
  align-self: center;
  justify-self: end;
  min-width: 0;
}

.auth-form {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(150px, 1fr) minmax(135px, 1fr) auto auto;
  max-width: 680px;
}

.auth-form-wide {
  grid-template-columns: repeat(2, minmax(135px, 1fr)) repeat(2, auto);
}

.auth-form input {
  min-height: 42px;
  min-width: 0;
}

.auth-message {
  color: var(--danger);
  font-size: 0.82rem;
  grid-column: 1 / -1;
  min-height: 1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.auth-message:empty {
  display: none;
}

.auth-message.success {
  color: #067647;
}

#auth-section > span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin-right: 0.75rem;
}

.hero {
  background:
    radial-gradient(ellipse 720px 1120px at 97% 93%, rgba(105, 226, 255, 1) 0%, rgba(105, 226, 255, 0.2) 100%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
  min-height: 825px;
  padding: 105px 0;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 5.9rem;
  grid-template-columns: 1fr minmax(440px, 536px);
  margin: 0 auto;
  max-width: var(--container);
  min-height: 560px;
}

.eyebrow,
.section-label {
  align-items: center;
  border: 1px solid rgba(26, 22, 18, 0.1);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  gap: 0.55rem;
  line-height: 1.25;
  padding: 0.55rem 0.9rem;
}

.eyebrow span,
.section-label span {
  background: var(--accent2);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.hero h1 {
  font-size: clamp(3.4rem, 3.95vw, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 1.7rem 0 1.5rem;
  max-width: 650px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0;
  max-width: 550px;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.7rem;
}

.hero-stats div {
  display: grid;
  gap: 0.2rem;
}

.hero-stats strong {
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-preview-image {
  display: block;
  filter: drop-shadow(0 20px 20px rgba(20, 30, 60, 0.15));
  height: auto;
  max-width: 560px;
  width: 100%;
}

.content-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 24px;
  overflow: hidden;
  padding: 1.15rem 0;
  white-space: nowrap;
}

.content-strip div {
  animation: marquee 34s linear infinite;
  display: flex;
  gap: 4rem;
  min-width: max-content;
  will-change: transform;
}

.content-strip span {
  flex: 0 0 auto;
  font-weight: 700;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 2rem));
  }
}

.services {
  margin: 0 auto;
  max-width: var(--container);
  padding: 100px 0;
}

.services-header {
  align-items: flex-start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 501px 1fr;
  margin-bottom: 0;
}

.services-title h2 {
  font-size: clamp(2.6rem, 3.35vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  margin: 0.55rem 0 0;
  max-width: 501px;
}

.services-kicker {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 700;
  gap: 0.5rem;
  line-height: 1.25;
}

.services-kicker span {
  background: var(--accent2);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.services-header > p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  margin: 2.1rem 0 0 177px;
  max-width: 551px;
}

.services-feature {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 733px) minmax(0, 523px);
  margin-top: 0;
}

.services-window {
  display: block;
  height: auto;
  margin-left: -12px;
  margin-top: -1px;
  max-width: calc(100% + 24px);
  width: calc(100% + 24px);
}

.services-aside {
  background: #f6f8ff;
  border: 1px solid rgba(223, 225, 228, 0.55);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 531px;
  padding: 32px 33px;
}

.services-aside h3 {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.27;
  margin: 0 0 1.5rem;
  max-width: 430px;
}

.services-aside blockquote {
  border-left: 2px solid var(--accent2);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  max-width: 357px;
  padding: 0 0 0 18px;
}

.services-metrics {
  display: grid;
  margin: 0;
}

.services-metrics div {
  align-items: center;
  border-top: 1px solid #e8e9ee;
  display: flex;
  justify-content: space-between;
  min-height: 45px;
}

.services-metrics dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.services-metrics dd {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  padding: 0 24px;
}

.services-aside,
.process-aside,
.service-card,
.process-card,
.audience-card,
.price-calculator,
.plan-card {
  box-shadow: var(--card-shadow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.services-aside:hover,
.process-aside:hover,
.service-card:hover,
.process-card:hover,
.audience-card:hover,
.price-calculator:hover,
.plan-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.service-card {
  border: 1px solid var(--service-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 233px;
  overflow: hidden;
  padding: 33px;
}

.service-card-peach {
  background: var(--service-peach);
}

.service-card-blue {
  background: var(--service-blue);
}

.service-card-yellow {
  background: var(--service-yellow);
}

.service-card-accent {
  background: var(--accent);
  color: var(--white);
}

.service-icon {
  display: block;
  height: 40px;
  margin-bottom: 17px;
  object-fit: contain;
  object-position: left center;
  width: 40px;
}

.service-card h3 {
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  max-width: 340px;
}

.service-card-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.service-tags span {
  align-items: center;
  background: var(--white);
  border: 1px solid #f5f5f5;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 500;
  min-height: 27px;
  padding: 5px 11px;
}

.service-card-accent .service-icon {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.14));
}

.service-card-accent .service-tags span {
  color: var(--accent);
}

.process {
  background: linear-gradient(180deg, var(--white) 0%, #fcfaf6 60%, var(--white) 100%);
  margin: 0 auto;
  max-width: 1920px;
  padding: 100px 0;
}

.process-header,
.process-feature,
.process-steps,
.process-prompt {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.process-header {
  align-items: flex-end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 501px 1fr;
  padding-bottom: 40px;
}

.process-title h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.55rem 0 0;
}

.process-header > p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0 0 0.6rem;
  max-width: 551px;
}

.process-feature {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 523px) minmax(0, 733px);
}

.process-aside {
  background: linear-gradient(181.5deg, #f6f7ff 1.3%, var(--white) 93.4%);
  border: 1px solid #f5f5f5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 531px;
  padding: 32px 33px 33px;
}

.process-aside h3 {
  color: #13161a;
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 457px;
}

.process-aside blockquote {
  border-left: 3px solid var(--accent2);
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  max-width: 382px;
  padding-left: 16px;
}

.process-metrics {
  display: grid;
  margin: 0;
}

.process-metrics div {
  align-items: center;
  border-top: 1px solid rgba(19, 22, 26, 0.08);
  display: flex;
  justify-content: space-between;
  min-height: 45px;
}

.process-metrics div:first-child {
  border-top: 0;
}

.process-metrics dt {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
}

.process-metrics dd {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
}

.process-window {
  display: block;
  filter: drop-shadow(0 20px 20px rgba(20, 30, 60, 0.15));
  height: auto;
  margin-left: -12px;
  max-width: calc(100% + 24px);
  width: calc(100% + 24px);
}

.process-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.process-card {
  border: 1px solid var(--service-border);
  border-radius: 20px;
  min-height: 188px;
  overflow: hidden;
  padding: 33px;
}

.process-card-accent {
  background: var(--accent);
  border-color: var(--service-border);
  color: var(--white);
}

.process-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 22, 26, 0.1);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(26, 22, 18, 0.08);
  color: var(--accent);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 400;
  height: 40px;
  justify-content: center;
  margin-bottom: 16px;
  transform: rotate(-8deg);
  width: 40px;
}

.process-card h3 {
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.process-card p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 0;
}

.process-card-accent p {
  color: var(--white);
}

.process-prompt {
  margin-top: 88px;
}

.process-prompt-header {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  margin-bottom: 40px;
}

.process-prompt-header h3 {
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.55rem 0 0;
  max-width: 650px;
}

.process-prompt-header p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0 0 0.35rem;
}

.landing-prompt-form {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 22px 44px -28px rgba(36, 121, 255, 0.5);
  display: grid;
  gap: 0;
  min-height: 220px;
  padding: 24px;
}

.landing-prompt-form textarea {
  border: 0;
  border-radius: 0;
  min-height: 124px;
  padding: 0;
  resize: vertical;
}

.landing-prompt-form textarea:focus {
  box-shadow: none;
}

.landing-prompt-actions {
  align-items: center;
  border-top: 1px solid rgba(19, 22, 26, 0.08);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 18px;
}

.landing-prompt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-prompt-tags button {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.75rem;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
}

.landing-prompt-tags button:hover {
  background: #eef6ff;
}

.landing-prompt-submit {
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 1.4rem;
  height: 48px;
  min-height: 48px;
  padding: 0;
  width: 48px;
}

.landing-prompt-submit:hover {
  background: #1268ef;
}

.audience {
  background: var(--service-blue);
  margin: 0 auto;
  max-width: 1920px;
  padding: 100px 0;
}

.audience-header,
.audience-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.audience-header {
  align-items: flex-end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 501px 1fr;
  padding-bottom: 40px;
}

.audience-title h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.55rem 0 0;
}

.audience-header > p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0 0 0.6rem;
  max-width: 551px;
}

.audience-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-card {
  background: linear-gradient(181.5deg, #f6f7ff 1.3%, var(--white) 93.4%);
  border: 1px solid #f5f5f5;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 32px 33px 33px;
}

.audience-card h3 {
  color: #13161a;
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
  max-width: 242px;
}

.audience-card dl {
  display: grid;
  margin: 0;
}

.audience-card dl div {
  align-items: center;
  border-top: 1px solid rgba(19, 22, 26, 0.08);
  display: flex;
  justify-content: space-between;
  min-height: 45px;
}

.audience-card dl div:first-child {
  border-top: 0;
}

.audience-card dt {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
  line-height: 1.55;
}

.audience-card dt::before {
  color: var(--accent2);
  content: "● ";
  font-size: 0.65rem;
}

.audience-card dd {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.price {
  background: linear-gradient(180deg, var(--white) 0%, #fcfaf6 60%, var(--white) 100%);
  margin: 0 auto;
  max-width: 1920px;
  padding: 100px 0;
}

.price-header,
.price-calculator,
.plans-heading,
.plans-grid,
.faq-header,
.faq-list,
main {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.price-header {
  align-items: flex-end;
  display: grid;
  gap: 2rem;
  grid-template-columns: 501px 1fr;
  padding-bottom: 40px;
}

.price-title h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.55rem 0 0;
}

.price-header > p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  justify-self: end;
  line-height: 1.55;
  margin: 0 0 0.6rem;
  max-width: 551px;
}

.price-calculator {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(36, 121, 255, 0.2);
  overflow: hidden;
  padding: 40px 41px 38px 40px;
}

.calculator-header {
  align-items: flex-start;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 36px;
}

.calculator-header h3 {
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 5px;
}

.calculator-header p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 0;
}

.currency-switcher {
  color: var(--muted);
  display: grid;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.4rem;
  min-width: 112px;
}

.currency-switcher-hidden {
  display: none;
}

.currency-switcher select {
  border-radius: 12px;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
}

.calculator-control {
  margin-bottom: 27px;
}

.calculator-control-top {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calculator-control label {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  font-weight: 400;
}

.calculator-control output {
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.price-calculator input[type="range"] {
  --range-progress: 0%;
  appearance: none;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--range-progress),
    #f5f5f5 var(--range-progress),
    #f5f5f5 100%
  );
  border: 0;
  border-radius: 999px;
  height: 6px;
  padding: 0;
  width: 100%;
}

.price-calculator input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  height: 22px;
  width: 22px;
}

.price-calculator input[type="range"]::-moz-range-thumb {
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  height: 16px;
  width: 16px;
}

.range-marks {
  color: var(--muted);
  display: flex;
  font-size: 0.63rem;
  font-weight: 500;
  justify-content: space-between;
  line-height: 1;
  margin-top: 12px;
}

.calculator-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 28px;
}

.preset-btn {
  background: transparent;
  border: 1px solid var(--service-border);
  color: var(--ink);
  font-size: 0.88rem;
  min-height: 38px;
  padding: 0.58rem 1rem;
}

.preset-btn:hover,
.preset-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.calculator-total {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 11px;
}

.calculator-total span {
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 600;
}

.calculator-total strong {
  color: var(--accent2);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.calculator-payment {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-top: 25px;
  padding-top: 24px;
}

.calculator-pay-btn {
  background: var(--ink);
  color: var(--white);
  min-height: 48px;
  min-width: 190px;
  padding: 0.85rem 1.4rem;
}

.calculator-pay-btn:hover {
  background: var(--accent);
}

.calculator-pay-btn:disabled {
  cursor: progress;
  opacity: 0.72;
}

.calculator-payment p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  max-width: 420px;
  text-align: right;
}

.plans-heading {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  padding: 80px 0 40px;
}

.plans-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  align-items: center;
  border: 1px solid var(--service-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 533px;
  padding: 33px 29px;
}

.plan-card-peach {
  background: var(--service-peach);
}

.plan-card-blue {
  background: var(--service-blue);
}

.plan-card-yellow {
  background: var(--service-yellow);
}

.plan-code {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

.plan-card h3 {
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 8px 0;
  text-align: center;
}

.plan-price {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.plan-price strong {
  color: var(--accent2);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.08;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.plan-card dl {
  display: grid;
  margin: 18px 0 20px;
  padding: 0;
  width: 100%;
}

.plan-card dl div {
  align-items: center;
  border-top: 1px solid rgba(19, 22, 26, 0.08);
  display: flex;
  justify-content: space-between;
  min-height: 45px;
}

.plan-card dt {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
}

.plan-card dd {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.plan-button {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
  min-height: 42px;
  padding: 10px 23px;
  width: 100%;
}

.plan-button:hover {
  background: #2a241e;
}

.faq {
  background: var(--white);
  margin: 0 auto;
  max-width: 1920px;
  padding: 100px 0;
}

.faq-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
}

.faq-title {
  max-width: 501px;
}

.faq-title h2 {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.55rem 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: linear-gradient(90deg, #eafdff 0%, #aeefff 66%, #69e2ff 100%);
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: border-color 180ms ease;
}

.faq-item[open] {
  background: var(--white);
  border: 1px solid var(--accent);
}

.faq-item summary {
  align-items: flex-start;
  cursor: pointer;
  display: grid;
  gap: 24px;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  list-style: none;
  min-height: 70px;
  padding: 22px 26px;
  position: relative;
  z-index: 1;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  min-height: 0;
  padding: 23px 27px 14px;
}

.faq-number {
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
  padding-top: 4px;
}

.faq-question {
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.faq-toggle {
  height: 24px;
  position: relative;
  width: 16px;
}

.faq-toggle::before,
.faq-toggle::after {
  background: var(--muted);
  content: "";
  height: 1px;
  left: 1px;
  position: absolute;
  top: 12px;
  width: 13px;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--accent);
}

.faq-item p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 1.13rem;
  line-height: 1.58;
  margin: 0;
  padding: 0 64px 0 95px;
}

.faq-item p:last-child {
  padding-bottom: 23px;
}

.faq-item p + p {
  padding-top: 0.75rem;
}

main {
  display: grid;
  gap: 1rem;
  padding: 0 0 5rem;
}

main[hidden] {
  display: none;
}

main section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
}

#model-selector {
  align-items: center;
  display: flex;
  gap: 1rem;
}

#model-selector label,
#subscription h2,
#result h2 {
  margin-top: 0;
}

#prompt {
  display: block;
  min-height: 150px;
  resize: vertical;
  width: 100%;
}

#prompt-area button {
  margin-top: 0.9rem;
}

#output {
  background: var(--soft);
  border-radius: 18px;
  min-height: 90px;
  padding: 1rem;
  white-space: pre-wrap;
}

.usage-output {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.workspace-body,
.docs-body {
  background: #000000;
}

.workspace-shell {
  background:
    radial-gradient(ellipse 760px 680px at 88% 12%, rgba(105, 226, 255, 0.24) 0%, rgba(105, 226, 255, 0) 70%),
    var(--paper);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) var(--document-width, 420px);
  margin: 0 auto;
  max-width: 1920px;
  min-height: 100vh;
}

.workspace-sidebar,
.workspace-document {
  background: var(--white);
  border-color: var(--line);
  border-style: solid;
  border-width: 0 1px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
}

.workspace-document {
  border-width: 0 0 0 1px;
  gap: 22px;
  position: relative;
}

.document-resizer {
  bottom: 0;
  cursor: col-resize;
  left: -7px;
  position: absolute;
  top: 0;
  width: 14px;
  z-index: 2;
}

.document-resizer::after {
  background: transparent;
  bottom: 0;
  content: "";
  left: 6px;
  position: absolute;
  top: 0;
  transition: background 160ms ease;
  width: 2px;
}

.document-resizer:hover::after,
.workspace-shell.is-resizing-document .document-resizer::after {
  background: var(--accent);
}

.workspace-shell.is-resizing-document {
  cursor: col-resize;
  user-select: none;
}

.workspace-logo {
  align-items: center;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 0.65rem;
  margin-bottom: 28px;
}

.workspace-new-btn {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  width: 100%;
}

.workspace-new-btn:hover {
  background: #2a241e;
}

.workspace-side-section {
  margin-top: 28px;
}

.workspace-side-section h2,
.workspace-tools h3 {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.workspace-history {
  display: grid;
  gap: 8px;
}

.workspace-history p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.workspace-history button {
  background: #f8f7f4;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  display: grid;
  font-size: 0.86rem;
  font-weight: 600;
  justify-content: start;
  min-height: 0;
  padding: 12px;
  text-align: left;
  white-space: normal;
}

.workspace-history button:hover {
  background: #eef6ff;
  border-color: rgba(36, 121, 255, 0.28);
}

.workspace-history button span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.workspace-nav {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
}

.workspace-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.workspace-nav a:hover {
  color: var(--accent);
}

.workspace-user {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.workspace-user span {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.workspace-user button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.workspace-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-width: 0;
  padding: 24px;
}

.workspace-topbar {
  align-items: end;
  display: block;
  margin-bottom: 20px;
}

.workspace-topbar h1 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.08;
  margin: 8px 0 0;
}

.workspace-model {
  color: var(--muted);
  align-items: center;
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.workspace-model select {
  border-radius: 999px;
  font-size: 0.86rem;
  min-height: 38px;
  min-width: 190px;
  padding: 0.45rem 2.1rem 0.45rem 0.9rem;
}

.workspace-chat-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 0;
  padding: 20px;
}

.workspace-status {
  background: #eef6ff;
  border: 1px solid rgba(36, 121, 255, 0.35);
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.workspace-status[data-type="error"] {
  background: #fff2f0;
  border-color: rgba(180, 35, 24, 0.35);
  color: var(--danger);
}

.workspace-format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.workspace-format-row button {
  background: #f8f7f4;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.78rem;
  min-height: 34px;
  padding: 0.38rem 0.8rem;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  overflow: auto;
  padding: 8px 4px 18px;
}

.chat-message {
  border-radius: 18px;
  max-width: min(760px, 86%);
  padding: 14px 16px;
}

.chat-message span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.chat-message p {
  font-family: var(--body-copy);
  font-size: 1rem;
  line-height: 1.58;
  margin: 0;
}

.chat-message-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
}

.chat-message-assistant {
  align-self: flex-start;
  background: #f8f7f4;
  color: var(--ink);
}

.workspace-chat-form {
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 154px;
  padding: 14px;
}

.workspace-chat-form textarea {
  border: 0;
  border-radius: 0;
  flex: 1;
  min-height: 76px;
  padding: 0;
  resize: none;
}

.workspace-chat-form textarea:focus {
  box-shadow: none;
}

.workspace-composer-toolbar {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
  min-height: 48px;
}

.composer-left-tools {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
  position: relative;
}

.workspace-chat-form .attachment-menu-toggle {
  background: #f1efeb;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 1.55rem;
  font-weight: 400;
  height: 42px;
  line-height: 1;
  min-height: 42px;
  padding: 0;
  width: 42px;
}

.workspace-chat-form .attachment-menu-toggle:hover {
  background: #e9e6df;
  color: var(--ink);
}

.attachment-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  bottom: calc(100% + 10px);
  box-shadow: 0 18px 36px -22px rgba(20, 30, 60, 0.3);
  display: grid;
  left: 0;
  min-width: 250px;
  padding: 8px;
  position: absolute;
  z-index: 5;
}

.attachment-menu[hidden] {
  display: none;
}

.attachment-menu button,
.attachment-menu a {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  display: block;
  font-weight: 700;
  min-height: 42px;
  padding: 0.7rem 0.8rem;
  text-align: left;
  white-space: nowrap;
}

.attachment-menu button:hover,
.attachment-menu a:hover {
  background: #f8f7f4;
}

.attachment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attachment-chips span {
  align-items: center;
  background: #eef6ff;
  border: 1px solid rgba(36, 121, 255, 0.24);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 6px;
  padding: 0.32rem 0.42rem 0.32rem 0.7rem;
}

.attachment-chips button {
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  height: 20px;
  min-height: 20px;
  padding: 0;
  width: 20px;
}

.workspace-send-btn {
  background: var(--ink);
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 1.45rem;
  height: 48px;
  line-height: 1;
  min-height: 48px;
  padding: 0;
  width: 48px;
}

.workspace-send-btn:hover {
  background: #2a241e;
}

.document-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.document-header span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.document-header h2 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 6px 0 0;
}

.document-header button {
  background: #f8f7f4;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 36px;
  padding: 0.45rem 0.8rem;
}

.document-output {
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 18px;
  flex: 1;
  min-height: 260px;
  overflow: auto;
  padding: 20px;
}

.document-output p {
  font-family: var(--body-copy);
  font-size: 1rem;
  line-height: 1.62;
  margin: 0 0 1rem;
}

.workspace-usage {
  display: grid;
  margin: 0;
}

.workspace-usage div {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 40px;
}

.workspace-usage div:first-child {
  border-top: 0;
}

.workspace-usage dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.workspace-usage dd {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.workspace-tools {
  display: grid;
  gap: 12px;
}

.tool-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-grid button {
  background: #f8f7f4;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
}

.tool-grid button:hover {
  background: #eef6ff;
  border-color: rgba(36, 121, 255, 0.35);
}

.workspace-toast {
  background: var(--ink);
  border-radius: 999px;
  bottom: 24px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  left: 50%;
  padding: 12px 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 10;
}

.docs-shell {
  background:
    radial-gradient(ellipse 780px 660px at 86% 18%, rgba(105, 226, 255, 0.32) 0%, rgba(105, 226, 255, 0) 72%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1920px;
  min-height: 100vh;
}

.docs-sidebar {
  background: var(--white);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
}

.docs-main {
  display: block;
  margin: 0 auto;
  max-width: 1180px;
  min-width: 0;
  padding: 72px 40px;
  width: 100%;
}

.docs-header {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 34px;
}

.docs-header h1 {
  color: var(--ink);
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0.55rem 0 18px;
}

.docs-header p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0;
  max-width: 660px;
}

.docs-upload {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  white-space: nowrap;
}

.docs-upload:hover {
  background: #2a241e;
}

.docs-controls {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.docs-controls input {
  border-radius: 12px;
  flex: 0 1 420px;
  font-size: 0.95rem;
  height: 44px;
  max-width: 420px;
  padding: 0.6rem 0.9rem;
  width: 100%;
}

.docs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.docs-tags button {
  align-items: center;
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.82rem;
  height: 34px;
  min-height: 34px;
  padding: 0 0.85rem;
}

.docs-tags button:hover {
  background: #eef6ff;
  border-color: rgba(36, 121, 255, 0.28);
}

.docs-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 20px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.doc-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.doc-card-icon {
  align-items: center;
  background: #eef6ff;
  border: 1px solid rgba(36, 121, 255, 0.22);
  border-radius: 14px;
  color: var(--accent);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.76rem;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.doc-card h2 {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.doc-card p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.doc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
}

.doc-card-tags span {
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
}

.doc-card button {
  background: var(--ink);
  color: var(--white);
  grid-column: 2;
  justify-self: start;
  min-height: 36px;
  padding: 0.5rem 0.9rem;
}

.doc-card button:hover {
  background: #2a241e;
}

.final-cta {
  background:
    radial-gradient(ellipse 900px 580px at 53% 50%, rgba(105, 226, 255, 0.2) 0%, rgba(105, 226, 255, 1) 100%),
    linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
  margin: 0 auto;
  max-width: 1920px;
  min-height: 655px;
  padding: 93px 0;
}

.final-cta-inner {
  align-items: center;
  display: grid;
  gap: 51px;
  grid-template-columns: 619px 1fr;
  margin: 0 auto;
  max-width: var(--container);
}

.final-cta-copy {
  max-width: 619px;
}

.final-cta-copy h2 {
  color: var(--ink);
  font-size: 4.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 16px 0 28px;
  max-width: 534px;
}

.final-cta-copy h2 span {
  color: var(--accent);
}

.final-cta-copy p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0 0 44px;
  max-width: 505px;
}

.final-cta-image {
  display: block;
  height: auto;
  justify-self: end;
  max-width: 610px;
  width: 100%;
}

.site-footer {
  background: #f6f5f2;
  border-top: 1px solid #eceff2;
  margin: 0 auto;
  max-width: 1920px;
  padding: 73px 0 32px;
}

.site-footer-inner {
  margin: 0 auto;
  max-width: min(var(--container), 1274px);
}

.footer-top {
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 789px) 238px 238px;
  justify-content: space-between;
  min-height: 183px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.footer-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.footer-mark::after {
  background: var(--accent);
  border-radius: 2px;
  content: "";
  height: 12px;
  width: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 17px 0 0;
  max-width: 198px;
}

.footer-legal {
  color: var(--muted);
  display: grid;
  font-family: var(--body-copy);
  font-size: 0.72rem;
  font-style: normal;
  gap: 5px;
  line-height: 1.45;
  margin-top: 24px;
  max-width: 360px;
}

.footer-legal a {
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-column {
  align-content: start;
  display: grid;
  gap: 9px;
}

.footer-column h3 {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 6px;
}

.footer-column a {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.75rem;
  line-height: 1.55;
  text-decoration: none;
  width: fit-content;
}

.footer-column a.active,
.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--accent);
  color: var(--muted);
  display: flex;
  font-size: 0.63rem;
  font-weight: 500;
  justify-content: space-between;
  line-height: 1;
  padding-top: 25px;
}

.register-page {
  display: block;
  max-width: none;
  padding: 0;
}

.register-hero {
  align-items: center;
  background:
    radial-gradient(ellipse 760px 720px at 82% 54%, rgba(105, 226, 255, 0.95) 0%, rgba(105, 226, 255, 0.16) 70%, transparent 100%),
    linear-gradient(180deg, var(--white) 0%, #fcfaf6 100%);
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  margin: 0 auto;
  max-width: 1920px;
  min-height: calc(100vh - 65px);
  padding: 100px max(2rem, calc((100% - var(--container)) / 2));
}

.register-copy h1 {
  font-size: 4.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 16px 0 28px;
  max-width: 650px;
}

.register-copy p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
}

.register-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(36, 121, 255, 0.2);
  display: grid;
  gap: 16px;
  padding: 32px;
}

.register-card label {
  color: var(--muted);
  display: grid;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 8px;
}

.register-card input {
  border-radius: 14px;
  min-height: 48px;
}

.register-card button {
  margin-top: 8px;
}

.register-login-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.saved-prompt-notice {
  background: #eef6ff;
  border: 1px solid var(--accent);
  border-radius: 16px;
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1rem;
  line-height: 1.45;
  margin-top: 28px;
  max-width: 520px;
  padding: 16px 18px;
}

.construction-page {
  display: block;
  max-width: none;
  padding: 0;
}

.construction-hero {
  align-items: center;
  background:
    radial-gradient(ellipse 760px 620px at 82% 54%, rgba(105, 226, 255, 0.95) 0%, rgba(105, 226, 255, 0.16) 70%, transparent 100%),
    linear-gradient(180deg, var(--white) 0%, #fcfaf6 100%);
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  margin: 0 auto;
  max-width: 1920px;
  min-height: calc(100vh - 65px);
  padding: 100px max(2rem, calc((100% - var(--container)) / 2));
}

.construction-copy h1 {
  font-size: 4.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 16px 0 28px;
  max-width: 680px;
}

.construction-copy p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.construction-card {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 20px;
  box-shadow: 0 18px 44px -28px rgba(36, 121, 255, 0.38);
  display: grid;
  gap: 18px;
  padding: 32px;
}

.construction-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.88rem;
}

.construction-card strong {
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.05;
}

.construction-card p {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.info-page {
  background: var(--white);
}

.info-page section,
.info-page .info-panel,
.info-page .info-card,
.info-page .info-references,
.info-page .info-references a,
.info-page .pill-button,
.info-page .ghost-button {
  border-radius: 0;
}

.info-hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 382px;
  margin: 24px auto 0;
  max-width: var(--container);
  padding: 92px 24px 72px;
}

.info-copy h1 {
  color: var(--ink);
  font-size: 5.6rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 18px 0 26px;
  max-width: 880px;
}

.info-copy > p {
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
  max-width: 670px;
}

.info-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.info-panel {
  align-content: start;
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  margin-right: 24px;
  padding: 28px;
}

.info-panel > span {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.info-stats {
  display: grid;
  gap: 18px;
}

.info-stats div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
  padding-top: 18px;
}

.info-stats strong {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.info-stats span {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.86rem;
  line-height: 1.45;
}

.info-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px 72px;
}

.info-card {
  background: #f6f5f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 196px;
  padding: 24px;
}

.info-card h2 {
  color: var(--ink);
  font-size: 1.26rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 14px;
}

.info-card p,
.info-section p,
.info-section li {
  color: var(--muted);
  font-family: var(--body-copy);
  font-size: 0.96rem;
  line-height: 1.65;
}

.info-card p {
  margin: 0;
}

.info-sections {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 0 84px;
}

.info-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 318px minmax(0, 1fr);
  padding: 34px 24px;
}

.info-section h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.info-section p {
  margin: 0;
}

.info-section ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-section li {
  padding-left: 22px;
  position: relative;
}

.info-section li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0.72em;
  width: 7px;
}

.info-references {
  background: #f6f5f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 46px 24px;
}

.info-references h2,
.info-references div {
  max-width: 100%;
}

.info-references h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 18px;
  margin-top: 0;
}

.info-references div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-references a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--body-copy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
}

.info-references a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#subscription {
  display: grid;
  gap: 0.75rem;
}

#subscription select {
  border-radius: 12px;
  max-width: 240px;
}

#subscription button {
  max-width: 180px;
}

@media (max-width: 1279px) {
  :root {
    --container: calc(100vw - 2rem);
  }

  .workspace-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .docs-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .docs-main {
    padding: 48px 24px;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .workspace-document {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
    min-height: 0;
  }

  .document-resizer {
    display: none;
  }

  .site-header {
    display: block;
    height: auto;
    padding: 1rem 0;
  }

  .brand {
    margin-bottom: 1rem;
  }

  .site-nav {
    display: none;
  }

  #auth-section {
    justify-self: stretch;
  }

  .auth-form,
  .auth-form-wide {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 0;
    padding: 3.5rem 0 4rem;
  }

  .hero-inner {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .content-strip div {
    padding-left: 1rem;
  }

  .services {
    padding: 4.5rem 0;
  }

  .services-header,
  .services-feature {
    grid-template-columns: 1fr;
  }

  .services-header > p {
    margin: 0;
    max-width: 680px;
  }

  .services-window {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .services-aside {
    min-height: 420px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    padding: 4.5rem 0;
  }

  .audience {
    padding: 4.5rem 0;
  }

  .process-header,
  .process-feature,
  .process-prompt-header,
  .audience-header,
  .price-header,
  .final-cta-inner,
  .register-hero,
  .construction-hero,
  .info-hero {
    grid-template-columns: 1fr;
  }

  .final-cta-image {
    justify-self: start;
    max-width: 560px;
  }

  .process-header > p,
  .process-prompt-header > p,
  .audience-header > p,
  .price-header > p {
    justify-self: start;
    margin: 0;
    max-width: 680px;
  }

  .process-window {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .process-aside {
    min-height: 420px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-section {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) 238px 238px;
  }
}

@media (max-width: 760px) {
  .workspace-shell {
    display: block;
  }

  .docs-shell {
    display: block;
  }

  .workspace-sidebar,
  .workspace-document,
  .docs-sidebar {
    min-height: 0;
  }

  .workspace-main {
    min-height: 0;
    padding: 16px;
  }

  .docs-main {
    padding: 3rem 1rem;
  }

  .workspace-topbar,
  .workspace-composer-toolbar,
  .docs-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .docs-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-tags {
    justify-content: flex-start;
  }

  .workspace-send-btn {
    justify-self: end;
  }

  .workspace-topbar h1 {
    font-size: 2rem;
  }

  .docs-header h1 {
    font-size: 2.4rem;
  }

  .chat-message {
    max-width: 100%;
  }

  .auth-form,
  .auth-form-wide {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .services-header,
  .calculator-header,
  .calculator-control-top,
  .calculator-total,
  .calculator-payment {
    display: block;
  }

  .hero-stats div + div {
    margin-top: 0.8rem;
  }

  .hero-preview-image {
    max-width: 100%;
  }

  .services-title h2 {
    font-size: 2.4rem;
  }

  .process-title h2,
  .process-prompt-header h3,
  .audience-title h2,
  .price-title h2,
  .faq-title h2,
  .plans-heading {
    font-size: 2.4rem;
  }

  .services-feature {
    gap: 1rem;
    margin-top: 2rem;
  }

  .process-feature {
    gap: 1rem;
  }

  .process-prompt {
    margin-top: 4rem;
  }

  .services-aside,
  .process-aside,
  .service-card,
  .audience-card {
    border-radius: 16px;
    padding: 24px;
  }

  .services-aside,
  .process-aside {
    min-height: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .info-hero {
    gap: 28px;
    padding: 4rem 1rem 3rem;
  }

  .info-copy h1 {
    font-size: 3rem;
  }

  .info-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .info-actions a {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .info-card-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem 3rem;
  }

  .info-card {
    min-height: 0;
  }

  .info-sections {
    padding-bottom: 3.5rem;
  }

  .info-section {
    padding: 28px 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    border-radius: 16px;
    padding: 24px;
  }

  .process-prompt-header {
    margin-bottom: 1.5rem;
  }

  .landing-prompt-form {
    min-height: 0;
    padding: 20px;
  }

  .landing-prompt-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-prompt-submit {
    align-self: flex-end;
  }

  .audience-card {
    min-height: 260px;
  }

  .price-calculator {
    padding: 28px 24px;
  }

  .calculator-header,
  .calculator-control-top,
  .calculator-total {
    display: block;
  }

  .calculator-control output,
  .calculator-total strong {
    display: block;
    margin-top: 0.45rem;
  }

  .calculator-pay-btn {
    width: 100%;
  }

  .calculator-payment p {
    margin-top: 0.85rem;
    max-width: none;
    text-align: left;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    gap: 12px;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    padding: 18px 16px;
  }

  .faq-item[open] summary {
    padding: 18px 16px 12px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-item p {
    padding: 0 44px 18px 60px;
  }

  .final-cta {
    min-height: 0;
    padding: 4.5rem 0;
  }

  .final-cta-copy h2,
  .register-copy h1,
  .construction-copy h1,
  .info-copy h1 {
    font-size: 3rem;
  }

  .site-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-top {
    gap: 2rem;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .register-hero,
  .construction-hero,
  .info-hero {
    gap: 32px;
    padding: 4rem 1rem;
  }

  .calculator {
    padding: 4rem 0 3rem;
  }

  .currency-switcher {
    margin-top: 1.3rem;
  }

  .calculator-control output,
  .calculator-total strong {
    display: block;
    margin-top: 0.45rem;
  }

  #model-selector {
    align-items: stretch;
    display: grid;
  }
}
