/* KiwiStudio /en/technology/. Tokens and base components come from /home.css. */
body.tech { padding-bottom: 0; word-break: normal; }
.tech h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.16; }
.tech h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; text-wrap: balance; }
.tech h3 { font-size: 20px; line-height: 28px; }
.tech .switch a { white-space: nowrap; }

.t-hero { position: relative; overflow: hidden; padding: var(--s-96) 0 var(--s-80); }
.t-hero .wrap { position: relative; display: grid; gap: var(--s-24); justify-items: start; }
.t-hero h1 { max-width: 880px; text-wrap: balance; }
.t-hero h1 mark { background: var(--accent); color: var(--text); padding: 0 var(--s-12); border-radius: var(--r-8); }
.t-lead { font-size: 20px; line-height: 30px; color: var(--text-2); max-width: 680px; }
.t-actions { display: flex; flex-wrap: wrap; gap: var(--s-12); }
.t-kiwi { width: 420px; right: -140px; top: -150px; transform: rotate(18deg); }

.t-sec { padding: var(--s-80) 0; }
.t-sec.subtle { background: var(--surface-subtle); }
.t-sec.dark { background: var(--inverted); color: var(--on-action); }
.t-eyebrow { display: inline-block; margin-bottom: var(--s-16); padding: var(--s-4) var(--s-12); border-radius: var(--r-full); background: var(--accent); color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.t-intro { margin-top: var(--s-16); font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 720px; }
.dark .t-intro { color: var(--text-inv); }
.t-note { margin-top: var(--s-24); font-size: 13px; line-height: 20px; color: var(--text-3); }
.dark .t-note { color: #a9a9a2; }

.t-grid { display: grid; gap: var(--s-16); margin-top: var(--s-40); }
.t-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.t-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.t-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.t-card { padding: var(--s-24); border: 1px solid var(--border); border-radius: var(--r-16); background: var(--surface); }
.t-card p { margin-top: var(--s-8); color: var(--text-2); }
.t-card .big { display: block; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.t-card .k { display: block; margin-bottom: var(--s-8); font-size: 13px; font-weight: 600; color: var(--info); letter-spacing: .04em; text-transform: uppercase; }

/* pipeline */
.t-steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-12); margin-top: var(--s-40); }
.t-steps li { counter-increment: step; position: relative; padding: var(--s-24) var(--s-16) var(--s-16); border: 1px solid var(--border); border-radius: var(--r-16); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-8); }
.t-steps li::before { content: "0" counter(step); font-size: 13px; font-weight: 600; color: var(--info); }
.t-steps p { font-size: 15px; line-height: 22px; color: var(--text-2); flex: 1; }
.t-io { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-8) var(--s-24); margin-top: var(--s-16); font-weight: 600; }
.t-status { align-self: flex-start; padding: var(--s-2) var(--s-8); border-radius: var(--r-full); font-size: 12px; font-weight: 600; }
.t-status.live { background: var(--accent); color: var(--text); }
.t-status.dev { background: var(--surface-media); color: var(--text-2); }

/* numbers */
.t-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); margin-top: var(--s-40); }
.t-nums div { border-top: 3px solid var(--text); padding-top: var(--s-12); }
.t-nums b { display: block; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.t-nums span { color: var(--text-2); }
.t-link { display: inline-block; margin-top: var(--s-32); font-weight: 600; }

/* plan table */
.t-table { width: 100%; margin-top: var(--s-40); border-collapse: collapse; font-size: 16px; }
.t-table th, .t-table td { padding: var(--s-16) var(--s-12); text-align: left; vertical-align: top; border-bottom: 1px solid #3a3a36; }
.t-table th { font-size: 13px; font-weight: 500; color: #a9a9a2; }
.t-table td:first-child { font-weight: 600; white-space: nowrap; }
.t-table td:nth-child(2) { color: var(--text-inv); }
.t-table td:nth-child(3) { color: var(--accent); }

.t-contact { background: var(--accent); padding: var(--s-80) 0; text-align: center; }
.t-contact .wrap { display: grid; gap: var(--s-24); justify-items: center; }

@media (max-width: 1000px) {
  .t-steps { grid-template-columns: repeat(2, 1fr); }
  .t-grid.c4, .t-nums { grid-template-columns: repeat(2, 1fr); }
  .t-grid.c3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .t-hero { padding: var(--s-64) 0 var(--s-48); }
  .t-kiwi { width: 200px; right: -90px; top: -110px; }
  .t-sec, .t-contact { padding: var(--s-64) 0; }
  .t-steps, .t-grid.c2 { grid-template-columns: 1fr; }
  .tech .switch a { padding: var(--s-8) var(--s-12); font-size: 13px; }
  
  .t-table, .t-table tbody, .t-table tr, .t-table td { display: block; }
  .t-table thead { display: none; }
  .t-table tr { padding: var(--s-16) 0; border-bottom: 1px solid #3a3a36; }
  .t-table td { padding: var(--s-4) 0; border: 0; white-space: normal; }
  .t-table td:nth-child(2)::before { content: "Today: "; color: #a9a9a2; }
  .t-table td:nth-child(3)::before { content: "Plan: "; color: #a9a9a2; }
}
