:root {
  --ink: #0b1220;
  --muted: #526077;
  --surface: #ffffff;
  --soft: #f3f6fb;
  --line: #dce4f0;
  --navy: #081528;
  --blue: #2d63ff;
  --cyan: #19c7d3;
  --violet: #7a5cff;
  --green: #168454;
  --orange: #f19b34;
  --pink: #f14d85;
  --shadow: 0 24px 70px rgba(21, 41, 82, .13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 10px 14px; background: white; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,228,240,.8);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: white; font-size: 14px; letter-spacing: -.08em; background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--cyan)); box-shadow: 0 9px 24px rgba(45,99,255,.28); }
.brand span:last-child { font-size: 18px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.site-nav a { padding: 10px 12px; border-radius: 11px; color: #344158; font-size: 14px; font-weight: 720; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); background: #edf2ff; }
.header-action { margin-left: 6px; padding: 10px 16px !important; color: white !important; background: var(--ink) !important; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: white; cursor: pointer; }

.hero { overflow: hidden; position: relative; padding: 92px 0 76px; background: radial-gradient(circle at 82% 16%, rgba(25,199,211,.17), transparent 27%), radial-gradient(circle at 73% 65%, rgba(122,92,255,.15), transparent 35%), linear-gradient(180deg, #f7faff, #fff); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: linear-gradient(rgba(45,99,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(45,99,255,.08) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 770px; font-size: clamp(44px, 6.3vw, 78px); line-height: .99; letter-spacing: -.062em; }
.gradient-text { color: transparent; background: linear-gradient(100deg, var(--blue), var(--violet) 53%, #079ca8); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 650px; margin-bottom: 28px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 19px; border: 1px solid transparent; border-radius: 13px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 13px 26px rgba(45,99,255,.25); }
.button-secondary { background: white; border-color: var(--line); }
.button-small { min-height: 40px; padding-inline: 15px; font-size: 14px; }
.hero-orbit { min-height: 450px; position: relative; display: grid; place-items: center; }
.studio-core { width: 230px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: white; text-align: center; background: radial-gradient(circle at 30% 25%, #4d77ff, #151f65 56%, #081528); box-shadow: 0 36px 90px rgba(35,58,160,.33); border: 10px solid rgba(255,255,255,.7); }
.studio-core strong { display: block; font-size: 52px; letter-spacing: -.09em; line-height: 1; }
.studio-core span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.orbit-card { position: absolute; width: 160px; min-height: 84px; padding: 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 19px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.orbit-card strong { display: block; margin-bottom: 3px; font-size: 15px; }
.orbit-card span { color: var(--muted); font-size: 12px; }
.orbit-card:nth-child(2) { left: 0; top: 38px; }
.orbit-card:nth-child(3) { right: 2px; top: 76px; }
.orbit-card:nth-child(4) { left: 30px; bottom: 26px; }
.orbit-card:nth-child(5) { right: 22px; bottom: 18px; }
.mini-icon { width: 28px; height: 28px; margin-bottom: 8px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; color: white; }
.mini-pink { background: linear-gradient(135deg, var(--pink), #ff8c73); }
.mini-orange { background: linear-gradient(135deg, var(--orange), #ffcb4a); }
.mini-green { background: linear-gradient(135deg, var(--green), #39b97a); }
.mini-blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--ink); background: linear-gradient(145deg, #f4f7ff, #eefbfc); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; max-width: 680px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.045em; }
.section-head p { max-width: 480px; margin-bottom: 3px; color: var(--muted); }
.section-dark .section-head p { color: var(--muted); }
.kicker { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card { overflow: hidden; position: relative; display: flex; flex-direction: column; min-height: 530px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 16px 50px rgba(20,38,78,.07); transition: transform .22s ease, box-shadow .22s ease; }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app-art { position: relative; height: 285px; overflow: hidden; display: grid; place-items: center; }
.app-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.app-card:hover .app-art img { transform: scale(1.025); }
.app-art-sugar { background: linear-gradient(135deg, #ffd6e8, #c4efff); }
.app-art-sugar img { width: 54%; object-fit: cover; object-position: top; border: 5px solid rgba(255,255,255,.8); border-radius: 24px 24px 0 0; transform: translateY(28px); box-shadow: 0 20px 50px rgba(225,69,131,.23); }
.app-card:hover .app-art-sugar img { transform: translateY(22px) scale(1.02); }
.app-art-windup { background: #201d2b; }
.app-art-tgi { background: linear-gradient(135deg, #e9fff0, #d6f4ee); }
.app-art-tgi img { width: 56%; object-position: top; border: 5px solid white; border-radius: 24px 24px 0 0; transform: translateY(28px); box-shadow: 0 20px 50px rgba(22,132,84,.19); }
.app-card:hover .app-art-tgi img { transform: translateY(22px) scale(1.02); }
.app-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.app-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--muted); font-size: 12px; font-weight: 750; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.app-body h3 { margin-bottom: 9px; font-size: 26px; letter-spacing: -.035em; }
.app-body p { color: var(--muted); font-size: 14px; }
.app-link { margin-top: auto; color: var(--blue); font-weight: 850; }

.hub-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.hub-card { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.9); box-shadow: 0 14px 38px rgba(23,49,96,.06); }
.hub-card.wide { grid-column: span 7; }
.hub-card.narrow { grid-column: span 5; }
.hub-card.third { grid-column: span 4; min-height: 205px; }
.hub-card h3 { margin-bottom: 10px; font-size: 25px; }
.hub-card p { color: var(--muted); }
.hub-card .text-link { color: var(--blue); font-weight: 800; }
.hub-number { margin-bottom: 24px; color: var(--blue); font-weight: 900; font-size: 13px; letter-spacing: .08em; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.process-card b { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 10px; color: var(--blue); background: #edf2ff; }
.process-card h3 { margin-bottom: 8px; font-size: 18px; }
.process-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.cta { overflow: hidden; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 48px; border-radius: 28px; color: white; background: linear-gradient(120deg, #183bc8, #684ce5 61%, #068d9c); box-shadow: var(--shadow); }
.cta::after { content: "TT"; position: absolute; right: 22%; color: rgba(255,255,255,.08); font-size: 170px; font-weight: 950; letter-spacing: -.12em; transform: rotate(-8deg); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
.cta p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.cta .button { color: var(--ink); background: white; white-space: nowrap; }

.page-hero { padding: 72px 0 58px; background: linear-gradient(180deg, #f6f9ff, white); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 860px; margin-bottom: 16px; font-size: clamp(42px, 6vw, 68px); }
.page-hero p { max-width: 750px; margin-bottom: 0; color: var(--muted); font-size: 19px; }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: 13px; font-weight: 700; }
.breadcrumbs a { color: var(--blue); }

.product-hero { overflow: hidden; padding: 64px 0; background: var(--product-bg, #f6f9ff); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.product-hero p { max-width: 620px; color: var(--muted); font-size: 19px; }
.product-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 12px; border: 1px solid rgba(12,21,39,.1); border-radius: 999px; background: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; }
.product-showcase { position: relative; min-height: 490px; display: grid; place-items: center; }
.phone-shot { height: 470px; width: auto; max-width: 82%; object-fit: cover; object-position: top; border: 8px solid #101827; border-radius: 32px; box-shadow: 0 30px 70px rgba(24,40,79,.27); }
.landscape-shot { width: 100%; border: 8px solid #151827; border-radius: 25px; box-shadow: 0 30px 70px rgba(24,40,79,.27); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; color: var(--accent, var(--blue)); background: color-mix(in srgb, var(--accent, var(--blue)) 12%, white); font-weight: 900; }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.screen-grid img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }

.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 27px; letter-spacing: -.03em; }
.panel p, .panel li { color: var(--muted); }
.panel ul { padding-left: 20px; }
.aside-card { position: sticky; top: 98px; padding: 25px; border-radius: 22px; color: white; background: var(--navy); }
.aside-card h3 { font-size: 22px; }
.aside-card p { color: #aab8cf; }
.aside-links { display: grid; gap: 9px; margin-top: 20px; }
.aside-links a { padding: 11px 13px; border: 1px solid #2a3b54; border-radius: 11px; font-size: 14px; font-weight: 750; }
.aside-links a:hover { border-color: #65e4ee; color: #65e4ee; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.listing-card { display: flex; flex-direction: column; min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 21px; background: white; }
.listing-card .tag { align-self: flex-start; margin-bottom: 22px; padding: 6px 9px; border-radius: 999px; color: var(--blue); background: #edf2ff; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.listing-card h2, .listing-card h3 { margin-bottom: 9px; font-size: 22px; }
.listing-card p { color: var(--muted); font-size: 14px; }
.listing-card .text-link { margin-top: auto; color: var(--blue); font-weight: 800; }
.empty-state { padding: 62px 28px; border: 1px dashed #bcc9da; border-radius: 23px; text-align: center; background: #f9fbff; }
.empty-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 19px; border-radius: 18px; color: var(--blue); background: #eaf0ff; font-size: 25px; font-weight: 900; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { max-width: 600px; margin: 0 auto; color: var(--muted); }

.source-note { padding: 18px; border-left: 3px solid var(--cyan); background: #edfafa; color: #375b62; font-size: 13px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 750; font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; padding: 13px 14px; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }

.site-footer { padding: 62px 0 26px; color: #dce6f6; background: #06101f; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 45px; }
.footer-brand p { max-width: 350px; margin: 16px 0 0; color: #8899b3; font-size: 14px; }
.footer-col h3 { color: white; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col a { color: #9aabc4; font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #18263b; color: #7688a3; font-size: 12px; }

@media (max-width: 980px) {
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 68px; left: 20px; right: 20px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px 14px; }
  .header-action { margin-left: 0; }
  .hero-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-orbit { min-height: 390px; }
  .app-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .app-card:last-child { grid-column: 1 / -1; }
  .process-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 66px; }
  .hero { padding: 60px 0 46px; }
  h1 { font-size: 45px; }
  .hero-orbit { min-height: 330px; transform: scale(.88); margin: -20px -25px; }
  .studio-core { width: 190px; }
  .orbit-card { width: 140px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .app-grid, .listing-grid, .process-grid, .feature-grid, .screen-grid { grid-template-columns: 1fr; }
  .app-card:last-child { grid-column: auto; }
  .hub-card.wide, .hub-card.narrow, .hub-card.third { grid-column: 1 / -1; }
  .cta { display: block; padding: 34px 26px; }
  .cta .button { margin-top: 22px; }
  .product-showcase { min-height: 390px; }
  .phone-shot { height: 380px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: block; }
}

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