/* Visual structure adapted from the AI SaaS Landing Page Template by Waleed Ajmal (MIT). */
:root {
  color-scheme: light;
  --ink: #17233a;
  --muted: #5b6678;
  --paper: #f7f8fb;
  --line: #e5e9f1;
  --blue: #a9c2ff;
  --blue-strong: #5068ad;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #7798ed; outline-offset: 4px; border-radius: 4px; }
img, svg { display: block; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(23,35,58,.08); background: rgba(250,251,253,.9); backdrop-filter: blur(16px); }
.header-inner, .container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-size: 15px; font-weight: 680; letter-spacing: -.035em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); margin-left: auto; }
.desktop-nav a, .language-switcher summary { color: #465268; font-size: 13px; font-weight: 550; text-decoration: none; }
.desktop-nav a:hover, .language-switcher a:hover { color: var(--blue-strong); }
.language-switcher { position: relative; }
.language-switcher summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; border: 1px solid #dce2ec; border-radius: 99px; padding: 8px 12px; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: "⌄"; font-size: 14px; margin-top: -4px; }
.language-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 12; min-width: 170px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 16px 36px rgba(26,39,65,.13); }
.language-list a { display: block; padding: 8px 10px; border-radius: 8px; color: #465268; font-size: 13px; text-decoration: none; }
.language-list a:hover, .language-list [aria-current="page"] { color: var(--ink); background: #f1f4fa; }
.mobile-nav { display: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; color: #f7f8fc; background: #111b30; }
.hero::before, .hero::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.hero::before { width: 660px; height: 660px; right: -160px; top: -275px; background: radial-gradient(circle, rgba(115,143,218,.28), rgba(47,68,113,.1) 44%, transparent 70%); }
.hero::after { inset: 0; opacity: .25; background-image: linear-gradient(rgba(217,228,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(217,228,255,.045) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent 5%, #000 100%); }
.hero-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; min-height: 650px; padding-block: clamp(76px, 11vw, 132px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr); align-items: center; gap: clamp(34px, 7vw, 90px); }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #b9c7e2; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #aec4ff; box-shadow: 0 0 16px #aec4ff; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 680px; margin: 24px 0 22px; font-family: var(--serif); font-size: clamp(48px, 6.15vw, 76px); font-weight: 400; letter-spacing: -.055em; line-height: .99; text-wrap: balance; }
.hero-copy > p { max-width: 570px; margin-bottom: 30px; color: #c0c9d9; font-size: 16px; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 650; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: #17233a; background: #edf2ff; }
.button-light:hover { background: white; }
.text-link { color: #dbe5fa; font-size: 13px; font-weight: 600; text-underline-offset: 5px; }
.hero-footnote { margin-top: 54px; color: #8290a9; font-size: 11px; letter-spacing: .06em; }
.workflow-card { position: relative; padding: 26px; border: 1px solid rgba(206,220,255,.2); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)); box-shadow: 0 28px 90px rgba(3,8,20,.26); backdrop-filter: blur(12px); }
.workflow-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid rgba(219,229,255,.14); }
.workflow-label { color: #8f9cb4; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.workflow-title { margin: 4px 0 0; color: #f4f6fc; font-size: 15px; font-weight: 620; }
.example-pill { padding: 6px 9px; border: 1px solid rgba(182,202,255,.2); border-radius: 999px; color: #c6d4f2; font-size: 9px; white-space: nowrap; }
.flow-caption { margin: 19px 0 11px; color: #97a4bc; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.source-chip { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 8px 10px; border: 1px solid rgba(217,228,255,.13); border-radius: 9px; background: rgba(255,255,255,.045); color: #d2dbeb; font-size: 11px; }
.source-icon { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 6px; color: #bdcdff; background: rgba(161,187,255,.13); font-size: 11px; }
.flow-down { height: 34px; display: flex; align-items: center; justify-content: center; color: #8999b8; font-size: 18px; }
.assistant-node { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid rgba(168,194,255,.35); border-radius: 12px; background: linear-gradient(110deg, rgba(99,126,193,.23), rgba(60,81,133,.15)); }
.assistant-symbol { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #b4c7ff; color: #17233a; font-size: 18px; }
.assistant-name { color: #eff3fd; font-size: 12px; font-weight: 650; }
.assistant-desc { margin-top: 2px; color: #aab6cd; font-size: 10px; }
.assistant-arrow { color: #b8c9f5; font-size: 18px; }
.result-note { margin-top: 10px; padding: 11px 13px; border-radius: 10px; background: rgba(9,15,28,.27); color: #bdc8dc; font-size: 10px; line-height: 1.5; }
.section { padding: clamp(76px, 10vw, 120px) 0; }
.section-light { background: #fff; }
.section-soft { background: #f1f3f8; }
.section-head { max-width: 670px; margin-bottom: 45px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { display: block; margin-bottom: 13px; color: var(--blue-strong); font-size: 10px; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin-bottom: 15px; font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); font-weight: 400; letter-spacing: -.05em; line-height: 1.05; text-wrap: balance; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { min-height: 270px; padding: 25px 24px 26px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,44,74,.08); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.service-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #edf1fb; color: #465e9c; font-size: 19px; }
.service-number { color: #9ca5b4; font-size: 11px; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.approach-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 75px; align-items: start; }
.approach-intro { position: sticky; top: 120px; }
.approach-intro .section-head { margin-bottom: 0; }
.steps { display: grid; gap: 0; border-top: 1px solid #d9deea; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 15px; padding: 23px 0 25px; border-bottom: 1px solid #d9deea; }
.step-number { color: #7184b3; font-family: var(--serif); font-size: 22px; }
.step h3 { margin: 1px 0 6px; font-size: 15px; font-weight: 680; }
.step p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.principle-band { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 78px; padding: clamp(28px, 5vw, 52px); border: 1px solid #dbe1ee; border-radius: 20px; background: linear-gradient(125deg, #f7f8fc, #e8edf8); }
.principle-band h3 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.principle-band p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.principle-list { display: grid; gap: 12px; }
.principle-item { display: flex; gap: 12px; align-items: flex-start; color: #38455d; font-size: 12px; }
.principle-item::before { content: "↗"; display: grid; width: 23px; height: 23px; flex: none; place-items: center; border-radius: 50%; background: #d9e3fb; color: #405a9a; font-size: 13px; }
.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-layout .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 38px 20px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 620; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 4px; color: #596d9e; font-size: 21px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: -3px 32px 20px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.closing { padding: 66px 0; color: white; background: #182641; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.closing h2 { max-width: 670px; margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 52px); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
.closing .button { flex: none; color: #17233a; background: #dce6ff; }
.site-footer { padding: 36px 0 28px; background: #f5f6f9; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 29px; border-bottom: 1px solid #dfe3eb; }
.footer-brand p { max-width: 330px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-nav { display: flex; gap: clamp(20px, 5vw, 58px); align-items: flex-start; }
.footer-nav a { color: #4c586d; font-size: 12px; text-decoration: none; }
.footer-nav a:hover { color: var(--blue-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 17px; color: #7a8493; font-size: 10px; }
.footer-bottom p { margin: 0; }
.source-note a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .desktop-nav, .language-switcher { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { position: relative; z-index: 11; display: grid; width: 42px; height: 42px; place-items: center; list-style: none; border: 1px solid #dce2ec; border-radius: 50%; cursor: pointer; color: var(--ink); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 17px; height: 1.5px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; content: ""; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .mobile-nav[open] summary { position: fixed; top: 16px; right: 20px; z-index: 10002; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: white; }
  .mobile-nav[open] .menu-icon { background: transparent; }
  .mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  /* Adapted mobile slide-in navigation treatment from the MIT template's .tr-menu. */
  .mobile-nav-panel { position: fixed; inset: 0; z-index: 10001; display: flex; flex-direction: column; justify-content: center; padding: 78px 32px 36px; background: rgba(12,19,34,.97); backdrop-filter: blur(14px); }
  .mobile-nav-panel a { padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,.12); color: #f5f7fc; font-size: clamp(20px, 6vw, 28px); font-weight: 550; text-decoration: none; }
  .mobile-nav-panel a.mobile-language { display: inline-block; padding: 7px 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; color: #c4cde0; font-size: 11px; }
  .mobile-languages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-block: 76px 70px; }
  .hero-copy { max-width: 760px; }
  .workflow-card { width: min(100%, 600px); margin-inline: auto; }
  .approach-layout, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .approach-intro { position: static; }
  .principle-band { gap: 30px; }
}

@media (max-width: 620px) {
  .header-inner, .container, .hero-inner { width: min(100% - 36px, 1160px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 14px; }
  .hero-inner { padding-block: 66px 56px; gap: 45px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero-copy > p { font-size: 14px; }
  .hero-footnote { margin-top: 32px; font-size: 9px; }
  .workflow-card { padding: 17px; border-radius: 17px; }
  .source-list { grid-template-columns: 1fr; }
  .assistant-node { grid-template-columns: 34px 1fr auto; gap: 9px; padding: 10px; }
  .assistant-symbol { width: 34px; height: 34px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 31px; }
  .section h2 { font-size: 41px; }
  .service-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card { min-height: 0; padding: 21px; }
  .service-top { margin-bottom: 24px; }
  .principle-band { grid-template-columns: 1fr; margin-top: 52px; padding: 25px 22px; }
  .step { grid-template-columns: 42px 1fr; gap: 10px; }
  .closing-inner, .footer-main { flex-direction: column; align-items: flex-start; }
  .closing-inner { gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 13px 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
