@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --paper: #f2f0e9;
  --ink: #171a19;
  --muted: #606663;
  --line: #d4d7d0;
  --blue: #3455e8;
  --blue-dark: #2946ca;
  --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--font); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font); }
.container { width: min(1360px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 20px; padding: 12px 18px; background: white; }
.skip-link:focus { top: 20px; }

/* Navigation */
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -.09em; white-space: nowrap; }
.wordmark-dot { color: var(--blue); }
.navigation, .header-actions { display: flex; align-items: center; }
.navigation { gap: clamp(18px, 2.5vw, 38px); margin-left: auto; }
.navigation a, .login-link { color: #414844; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.navigation a:hover, .login-link:hover { color: var(--blue); }
.header-actions { gap: 28px; }
.nav-cta, .primary-action, .closing-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink); color: #fff; font-weight: 600; transition: background .22s ease, transform .22s ease; }
.nav-cta:hover, .primary-action:hover { background: var(--blue); transform: translateY(-2px); }
.nav-cta { min-height: 46px; padding: 12px 18px; font-size: 13px; }
.nav-cta span, .primary-action span, .closing-action span { font-size: 19px; font-weight: 400; line-height: 1; }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 95px); align-items: center; padding-top: 65px; padding-bottom: 75px; }
.hero-copy { padding: 25px 0 35px; }
.kicker, .small-label, .section-label, .hero-foot, .visual-top, .visual-bottom { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; color: var(--blue-dark); }
.kicker-line { width: 34px; height: 2px; background: var(--blue); }
.hero h1 { max-width: 800px; font-size: clamp(57px, 6.2vw, 102px); font-weight: 700; line-height: .98; letter-spacing: -.082em; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 580px; margin-top: 38px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: #4b534e; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.primary-action { min-height: 62px; padding: 17px 23px; font-size: 15px; }
.text-action { display: inline-flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; transition: color .2s ease, gap .2s ease; }
.text-action:hover { color: var(--blue); gap: 18px; }
.hero-caption { margin-top: 39px; color: #6f7770; font: 500 11px var(--mono); letter-spacing: .01em; }
.visual { position: relative; min-height: 610px; overflow: hidden; border: 1px solid #d4d4cb; background: #e9dfd2; color: var(--ink); }
.visual-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.visual-top, .visual-bottom { position: absolute; z-index: 3; left: 30px; right: 30px; display: flex; justify-content: space-between; }
.visual-top { top: 27px; }
.visual-bottom { bottom: 27px; align-items: end; }
.visual-top span, .visual-bottom span:first-child { padding: 8px 10px; background: rgba(248, 247, 241, .86); backdrop-filter: blur(12px); }
.visual-arrow { color: var(--blue); font: 400 48px/1 var(--font); }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; padding-bottom: 22px; border-top: 1px solid var(--line); color: #7a817b; }
.hero-foot span:last-child span { color: var(--blue); font-size: 17px; }

/* Capabilities */
.statement { background: #fff; padding: 125px 0 140px; }
.section-label { display: flex; justify-content: space-between; gap: 20px; color: var(--blue); }
.statement h2, .use-cases h2, .quickstart h2, .api-section h2, .closing h2 { letter-spacing: -.07em; line-height: 1.08; }
.statement h2 { margin: 42px 0 75px; font-size: clamp(47px, 5.6vw, 88px); font-weight: 700; }
.statement h2 em { color: var(--blue); font-style: normal; }
.feature-list { border-top: 1px solid var(--ink); }
.feature-row { display: grid; grid-template-columns: 100px minmax(230px, .75fr) minmax(0, 1fr) 30px; gap: 24px; align-items: center; min-height: 170px; padding: 29px 10px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.feature-row:hover { background: #f8f8f5; padding-inline: 20px; }
.feature-number { align-self: start; padding-top: 9px; color: var(--blue); font: 600 12px var(--mono); }
.feature-row h3 { font-size: clamp(26px, 2.7vw, 41px); font-weight: 600; letter-spacing: -.06em; }
.feature-row p { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-arrow { align-self: start; color: var(--blue); font-size: 25px; }

/* Models */
.models-section { padding: 120px 0 130px; background: var(--paper); }
.models-intro { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin: 42px 0 58px; }
.models-intro h2 { font-size: clamp(50px, 5.7vw, 88px); font-weight: 700; line-height: 1.07; letter-spacing: -.07em; }
.models-intro h2 em { color: var(--blue); font-style: normal; }
.models-intro p { max-width: 335px; padding-bottom: 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #bfc5bd; border: 1px solid #bfc5bd; }
.model-card { display: flex; min-width: 0; min-height: 286px; flex-direction: column; justify-content: space-between; padding: 25px 27px 28px; background: #f8f8f4; transition: background .2s ease; }
.model-card:hover { background: #fff; }
.model-card:nth-child(2) { background: #e3e9ff; }
.model-card:nth-child(2):hover { background: #d6e0ff; }
.model-card-index { color: #63716a; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; }
.model-card-mark { align-self: end; color: var(--blue); font-size: 90px; font-weight: 700; line-height: .9; letter-spacing: -.12em; }
.model-card-mark span { color: var(--ink); }
.model-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.model-card-bottom h3 { max-width: 220px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.model-card-bottom span { max-width: 120px; color: #67716b; font-size: 11px; line-height: 1.4; text-align: right; }
.models-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 24px; }
.models-footer p { color: #68716b; font-size: 13px; }

/* Uses */
.use-cases { padding: 105px 0; background: #e8eae4; }
.use-cases-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(42px, 6vw, 100px); align-items: stretch; }
.use-cases .section-label { margin-bottom: 66px; }
.use-cases h2 { margin-bottom: 42px; font-size: clamp(44px, 4.7vw, 72px); font-weight: 700; }
.use-cases-content { display: flex; min-width: 0; flex-direction: column; padding: 10px 0 17px; }
.use-cases-content p { max-width: 460px; color: #4d5752; font-size: 19px; line-height: 1.65; }
.use-case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.use-case-tags span { padding: 12px 16px; border: 1px solid #b7bdb6; border-radius: 100px; color: #37433b; font-size: 13px; font-weight: 500; }
.use-cases-visual { position: relative; height: 610px; min-width: 0; overflow: hidden; margin: 0; }
.use-cases-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.use-cases-visual figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; justify-content: space-between; gap: 20px; padding: 12px; background: rgba(248, 247, 241, .9); backdrop-filter: blur(12px); color: #2b3930; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; }

/* Getting started */
.quickstart { padding: 115px 0 130px; background: #181b1a; color: #f6f7f1; }
.quickstart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 150px); }
.section-label.light { color: #b5c1ff; }
.quickstart h2 { margin: 50px 0 28px; font-size: clamp(55px, 6vw, 92px); font-weight: 600; }
.quickstart h2 em { color: #b5c1ff; font-style: normal; }
.quickstart-copy > p { max-width: 340px; color: #b8bfbb; font-size: 17px; }
.quickstart-link { display: inline-flex; gap: 40px; align-items: center; margin-top: 32px; padding: 18px 0; border-bottom: 1px solid #b5c1ff; color: #dce3ff; font-weight: 600; }
.quickstart-link:hover { color: #fff; }
.steps { padding-top: 61px; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 29px 0 33px; border-top: 1px solid #4b514e; }
.step:last-child { border-bottom: 1px solid #4b514e; }
.step > span { color: #b5c1ff; font: 500 12px var(--mono); }
.step h3 { margin-bottom: 9px; font-size: clamp(23px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.045em; }
.step p { color: #aab2ad; font-size: 15px; }

/* API */
.api-section { padding: 125px 0; background: #fff; }
.api-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 120px); align-items: center; }
.small-label { color: var(--blue); }
.api-section h2 { margin: 22px 0 27px; font-size: clamp(55px, 5.7vw, 86px); font-weight: 700; }
.api-copy p { max-width: 370px; margin-bottom: 25px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.code-panel { min-width: 0; border: 1px solid #343b38; background: #1d2421; color: #f0f4ee; box-shadow: 18px 18px 0 #e1e6e0; }
.code-head { display: flex; justify-content: space-between; padding: 19px 24px; border-bottom: 1px solid #3c4841; color: #aebeb2; font: 12px var(--mono); }
.code-head > span:first-child { display: flex; gap: 6px; }
.code-head i { width: 7px; height: 7px; border-radius: 50%; background: #7c9385; }
.code-panel pre { overflow-x: auto; margin: 0; padding: 36px 30px 44px; font: 13px/1.9 var(--mono); }
.code-panel code b { color: #b5c1ff; font-weight: 600; }
.code-panel code span { color: #b9e5c7; }

/* Closing */
.closing { padding: 95px 0 105px; background: var(--blue); color: #fff; }
.closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing .small-label { color: #d3dcff; }
.closing h2 { margin-top: 26px; font-size: clamp(55px, 6.5vw, 105px); font-weight: 700; }
.closing-action { min-width: 230px; min-height: 68px; padding: 19px 23px; flex: none; background: #fff; color: var(--ink); font-size: 15px; }
.closing-action:hover { background: #e4eaff; transform: translateY(-2px); }
.footer { padding: 38px 0; background: #181b1a; color: #fff; }
.footer-inner { display: flex; align-items: center; gap: 36px; }
.footer .wordmark-dot { color: #b5c1ff; }
.footer p { margin-left: 16px; color: #9daaa1; font-size: 13px; }
.footer-inner > div { display: flex; gap: 28px; margin-left: auto; color: #c4cbc6; font-size: 13px; }
.footer-inner > div a:hover { color: #fff; }

@media(max-width: 1100px) {
  .container { width: min(100% - 52px, 1360px); }
  .navigation { gap: 18px; }
  .hero-grid { gap: 35px; }
  .visual { min-height: 540px; }
  .feature-row { grid-template-columns: 65px minmax(200px, .8fr) minmax(0, 1fr) 25px; }
  .model-card { padding: 22px; }
  .model-card-bottom { align-items: start; flex-direction: column; }
  .model-card-bottom span { max-width: none; text-align: left; }
}
@media(max-width: 850px) {
  .header-inner { min-height: 76px; }
  .navigation { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 66px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 720px; }
  .visual { min-height: 480px; }
  .statement { padding: 90px 0 100px; }
  .feature-row { grid-template-columns: 50px 1fr 25px; gap: 15px; min-height: 0; }
  .feature-row h3 { grid-column: 2; }
  .feature-row p { grid-column: 2; grid-row: 2; }
  .feature-arrow { grid-column: 3; grid-row: 1; }
  .models-section { padding: 90px 0 100px; }
  .models-intro { align-items: start; flex-direction: column; gap: 20px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-cases-grid, .quickstart-grid, .api-grid { grid-template-columns: 1fr; gap: 40px; }
  .use-cases-content { padding: 0; }
  .use-cases .section-label { margin-bottom: 38px; }
  .use-cases h2 { margin-bottom: 25px; }
  .use-cases-visual { height: 470px; }
  .steps { padding-top: 10px; }
  .api-grid { gap: 50px; }
}
@media(max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .wordmark { font-size: 29px; }
  .header-actions { gap: 12px; }
  .login-link { font-size: 13px; }
  .nav-cta { min-height: 42px; padding: 9px 11px; gap: 10px; font-size: 11px; }
  .nav-cta span { display: none; }
  .hero-grid { gap: 45px; padding-top: 54px; padding-bottom: 42px; }
  .kicker { font-size: 9px; margin-bottom: 27px; }
  .hero h1 { font-size: clamp(49px, 10vw, 69px); line-height: 1.02; }
  .hero-description { margin-top: 27px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 28px; }
  .primary-action { min-height: 56px; }
  .text-action { align-self: flex-start; }
  .hero-caption { margin-top: 26px; font-size: 10px; }
  .visual { min-height: 410px; }
  .visual-top, .visual-bottom { left: 18px; right: 18px; font-size: 9px; }
  .visual-top { top: 20px; }
  .visual-bottom { bottom: 18px; }
  .visual-top span, .visual-bottom span:first-child { padding: 6px; }
  .hero-foot { font-size: 9px; }
  .hero-foot > span:last-child { max-width: 155px; text-align: right; }
  .statement { padding: 74px 0 85px; }
  .statement h2 { margin: 32px 0 47px; font-size: clamp(42px, 9vw, 60px); }
  .feature-row { padding: 28px 4px; }
  .feature-row h3 { font-size: 27px; }
  .feature-row p { font-size: 14px; }
  .models-section { padding: 75px 0 85px; }
  .models-intro { margin: 32px 0 40px; }
  .models-intro h2 { font-size: clamp(42px, 9vw, 60px); }
  .models-intro p { font-size: 15px; }
  .model-card { min-height: 228px; padding: 16px; }
  .model-card-index { font-size: 8px; }
  .model-card-mark { font-size: 58px; }
  .model-card-bottom h3 { font-size: 19px; }
  .model-card-bottom span { font-size: 10px; }
  .models-footer { align-items: start; flex-direction: column; }
  .use-cases { padding: 75px 0; }
  .use-cases h2 { font-size: 45px; }
  .use-cases-content p { font-size: 17px; }
  .use-cases-grid { gap: 38px; }
  .use-cases-visual { height: 390px; }
  .use-cases-visual img { object-position: 63% center; }
  .use-cases-visual figcaption { right: 12px; bottom: 12px; left: 12px; font-size: 8px; }
  .quickstart { padding: 80px 0; }
  .quickstart h2 { margin-top: 35px; font-size: 58px; }
  .step { grid-template-columns: 54px 1fr; }
  .api-section { padding: 85px 0; }
  .api-section h2 { font-size: 58px; }
  .code-panel { box-shadow: 10px 10px 0 #e1e6e0; }
  .code-panel pre { padding: 22px 18px 28px; font-size: 11px; }
  .closing { padding: 80px 0; }
  .closing-inner { align-items: stretch; flex-direction: column; }
  .closing h2 { font-size: 58px; }
  .closing-action { min-width: 0; }
  .footer-inner { align-items: start; flex-direction: column; gap: 15px; }
  .footer p, .footer-inner > div { margin-left: 0; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
