:root {
  --navy: #071a2b;
  --navy-2: #0c263d;
  --blue: #4a91ff;
  --blue-dark: #246ed7;
  --mint: #71d6bd;
  --ink: #102337;
  --muted: #627285;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce3ea;
  --soft-blue: #eaf2ff;
  --shadow: 0 24px 70px rgba(7, 26, 43, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.91); border-bottom: 1px solid rgba(220,227,234,.8); backdrop-filter: blur(18px); }
.nav-shell { width: min(1160px, calc(100% - 48px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 780; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .16em; vertical-align: 3px; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 650; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 16px; color: var(--white); background: var(--navy); border-radius: 999px; }
.nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }

.hero { min-height: 710px; padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(54px, 6.3vw, 88px); line-height: .96; letter-spacing: -.075em; font-weight: 780; }
.hero-lede { max-width: 620px; margin: 30px 0 32px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 49px; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-dark); box-shadow: 0 10px 25px rgba(36,110,215,.24); }
.button-primary:hover { background: var(--navy); }
.button-secondary { border-color: var(--line); background: var(--white); }
.button-secondary:hover { box-shadow: 0 10px 25px rgba(7,26,43,.08); }
.capability-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 38px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 12px; font-weight: 650; }
.capability-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--mint); border-radius: 50%; vertical-align: 1px; }

.hero-visual { min-height: 505px; position: relative; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 440px; height: 440px; background: radial-gradient(circle at 65% 30%, rgba(74,145,255,.31), transparent 50%), linear-gradient(145deg, #e9f2ff, #e8f8f3); border-radius: 45% 55% 61% 39% / 40% 43% 57% 60%; transform: rotate(8deg); }
.code-card { position: relative; z-index: 2; width: min(430px, 90%); color: #dce9f7; background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-2deg); }
.code-top { height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.1); }
.code-top > span { display: flex; gap: 6px; }
.code-top i { width: 7px; height: 7px; background: rgba(255,255,255,.3); border-radius: 50%; }
.code-top i:first-child { background: var(--mint); }
.code-top small { color: #8299af; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.code-body { padding: 16px 24px 22px; }
.code-body p { margin: 0; padding: 18px 0; display: grid; grid-template-columns: 34px 1fr; border-bottom: 1px solid rgba(255,255,255,.09); }
.code-body p:last-child { border-bottom: 0; }
.code-body p > span { grid-row: span 2; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.code-body strong { font-size: 17px; }
.code-body small { color: #93a6b8; font-size: 12px; }
.product-chip { position: absolute; right: 0; bottom: 30px; z-index: 3; min-width: 225px; padding: 14px 16px; display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 45px rgba(7,26,43,.15); transition: transform .2s ease; }
.product-chip:hover { transform: translateY(-4px); }
.product-chip small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.product-chip strong { display: block; font-size: 16px; }
.product-chip b { color: var(--blue-dark); }
.tawba-mark { display: inline-grid; place-items: center; width: 43px; height: 43px; color: var(--white); background: #397e6e; border-radius: 13px; font-size: 21px; font-weight: 750; }

.principles-band { color: var(--white); background: var(--navy); }
.principle-grid { padding-top: 45px; padding-bottom: 45px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.principle-grid div { display: grid; grid-template-columns: 34px 1fr; }
.principle-grid span { grid-row: span 2; color: var(--mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.principle-grid h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.principle-grid p { margin: 5px 0 0; color: #9fb1c2; font-size: 12px; }

.section { padding-top: 110px; padding-bottom: 110px; }
.section-soft { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.section-heading h2, .company-preview h2, .contact-section h2 { max-width: 710px; margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p { max-width: 400px; margin: 0; color: var(--muted); font-size: 15px; }

.featured-product { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; min-height: 550px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.product-visual { min-height: 550px; display: grid; place-items: center; background: linear-gradient(145deg, #dfeee9, #f1e8d7); position: relative; overflow: hidden; }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border: 1px solid rgba(32,53,47,.13); border-radius: 50%; }
.product-visual::before { width: 420px; height: 420px; }
.product-visual::after { width: 560px; height: 560px; }
.phone-frame { position: relative; z-index: 2; width: 230px; min-height: 420px; padding: 58px 27px 28px; color: #20352f; background: #f8f6f0; border: 8px solid #20352f; border-radius: 38px; box-shadow: 0 28px 55px rgba(32,53,47,.2); transform: rotate(4deg); }
.phone-speaker { position: absolute; top: 15px; left: 50%; width: 67px; height: 16px; background: #20352f; border-radius: 20px; transform: translateX(-50%); }
.tawba-mark.large { width: 60px; height: 60px; margin: 22px 0 43px; border-radius: 18px; font-size: 29px; }
.phone-frame p { margin: 0 0 21px; font-size: 25px; line-height: 1.05; font-weight: 760; letter-spacing: -.05em; }
.progress-line { height: 8px; margin-bottom: 13px; background: #dbe5e1; border-radius: 8px; }
.progress-line span { display: block; width: 67%; height: 100%; background: #397e6e; border-radius: inherit; }
.phone-frame small { color: #6f807a; font-size: 10px; }
.product-copy { padding: clamp(42px, 7vw, 85px); align-self: center; }
.product-copy h3 { margin: 0 0 20px; font-size: 58px; line-height: 1; letter-spacing: -.07em; }
.product-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; margin: 28px 0 30px; padding: 0; list-style: none; font-size: 13px; font-weight: 650; }
.check-list li::before { content: "✓"; margin-right: 9px; color: #397e6e; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.text-link { color: var(--ink); font-size: 12px; font-weight: 750; }
.text-link span { margin-left: 6px; color: var(--blue-dark); transition: margin .2s ease; }
.text-link:hover span { margin-left: 10px; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-grid article { min-height: 235px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.service-number { color: var(--blue-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.service-grid h3 { margin: 42px 0 10px; font-size: 23px; letter-spacing: -.04em; }
.service-grid p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; }

.company-preview { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 85px; }
.company-preview > div > p:not(.eyebrow) { max-width: 610px; margin: 25px 0 26px; color: var(--muted); }
.company-facts { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.company-facts div { padding: 18px 21px; display: grid; grid-template-columns: 135px 1fr; border-bottom: 1px solid var(--line); }
.company-facts div:last-child { border-bottom: 0; }
.company-facts dt { color: var(--muted); font-size: 11px; }
.company-facts dd { margin: 0; font-size: 13px; font-weight: 700; }

.contact-section { padding: 90px 0; color: var(--white); background: var(--blue-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.eyebrow.light { color: #c7dcff; }
.contact-section h2 { max-width: 500px; }
.contact-section h2 + p { max-width: 520px; margin: 24px 0 0; color: #d5e4fa; }
.contact-actions { border-top: 1px solid rgba(255,255,255,.24); }
.contact-actions > a, .contact-actions > div { min-height: 92px; padding: 18px 0; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.24); }
.contact-actions small { color: #c7dcff; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.contact-actions strong { font-size: 14px; }
.contact-actions a:hover strong { text-decoration: underline; }

.site-footer { padding: 62px 0 48px; color: var(--white); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 40px; }
.brand-inverse small { color: #94a8bb; }
.footer-grid > div:first-child > p { margin: 17px 0 0; color: #94a8bb; font-size: 12px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.footer-grid nav strong { margin-bottom: 4px; color: #94a8bb; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.footer-grid nav a:hover { color: var(--mint); }
.footer-legal { color: #94a8bb; font-size: 11px; }
.footer-legal p { margin: 0 0 14px; }

/* Company and legal pages */
.page-hero { padding: 88px 0 62px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 7vw, 78px); line-height: .98; letter-spacing: -.07em; }
.page-hero > p:not(.eyebrow) { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 17px; }
.page-content { padding-top: 64px; padding-bottom: 100px; }
.profile-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.profile-aside { align-self: start; padding: 25px; color: var(--white); background: var(--navy); border-radius: 18px; }
.profile-aside h2 { margin: 0 0 7px; font-size: 19px; }
.profile-aside p { margin: 0; color: #9fb1c2; font-size: 12px; }
.profile-aside .verified-domain { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.verified-domain strong { display: block; color: var(--mint); font-size: 13px; }
.verified-domain small { color: #9fb1c2; }
.detail-list { margin: 0; border-top: 1px solid var(--line); }
.detail-list div { padding: 22px 0; display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 0; font-size: 15px; font-weight: 700; }
.content-section { max-width: 800px; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }
.content-section h2 { margin: 0 0 12px; font-size: 27px; letter-spacing: -.045em; }
.content-section p, .content-section li { color: var(--muted); font-size: 15px; }
.content-section p { margin: 0 0 12px; }
.content-section ul { margin: 0; padding-left: 20px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.support-card h2 { margin: 0 0 9px; font-size: 21px; }
.support-card p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }

/* Tawba product and policy pages */
.tawba-page { --ink: #20352f; --muted: #667b73; --paper: #f6f4ee; --line: #dce4e0; --blue-dark: #397e6e; --soft-blue: #e5f0ec; background: var(--paper); }
.tawba-page .site-header { background: rgba(246,244,238,.93); }
.tawba-page .eyebrow, .tawba-page .text-link span { color: #397e6e; }
.tawba-page .nav-cta { background: #20352f; }
.tawba-brand img { display: none; }
.tawba-brand .tawba-mark { width: 38px; height: 38px; border-radius: 12px; }
.legal-shell { width: min(850px, calc(100% - 48px)); margin-inline: auto; padding: 75px 0 100px; }
.legal-hero { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0; font-size: clamp(45px, 7vw, 72px); line-height: 1; letter-spacing: -.065em; }
.legal-hero > p:not(.eyebrow) { max-width: 710px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.legal-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.legal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.legal-card h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.legal-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.legal-content { margin-top: 42px; }
.legal-section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.04em; }
.legal-section p, .legal-section li { color: var(--muted); font-size: 15px; }
.legal-section p { margin: 0 0 10px; }
.legal-section ul { margin: 10px 0 0; padding-left: 22px; }
.legal-meta { margin-top: 30px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.support-panel { margin-top: 30px; padding: 29px; color: var(--white); background: #20352f; border-radius: 20px; }
.support-panel h2 { margin-top: 0; }
.support-panel p { color: #cbd8d3; }
.support-panel a { color: #92d8c7; text-decoration: underline; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin: 0; font-size: clamp(72px, 14vw, 150px); line-height: 1; letter-spacing: -.09em; }
.error-page p { color: var(--muted); }

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

@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 22; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 21; padding: 110px 24px 40px; display: none; flex-direction: column; align-items: flex-start; gap: 22px; color: var(--white); background: var(--navy); font-size: 26px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav .nav-cta { padding: 0; background: transparent; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only) { background: var(--white); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 460px; }
  .principle-grid { grid-template-columns: 1fr; gap: 28px; }
  .featured-product { grid-template-columns: 1fr; }
  .product-visual { min-height: 500px; }
  .company-preview, .contact-grid, .profile-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .section-shell, .nav-shell, .legal-shell { width: min(100% - 32px, 1160px); }
  .nav-shell { min-height: 70px; }
  .hero { padding-top: 60px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(50px, 16vw, 70px); }
  .hero-lede { font-size: 16px; }
  .hero-visual { min-height: 380px; }
  .visual-glow { width: 330px; height: 330px; }
  .code-card { width: 94%; }
  .product-chip { right: 5px; bottom: 5px; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .featured-product, .product-visual { min-height: auto; }
  .product-visual { padding: 55px 0; }
  .product-copy { padding: 38px 25px 45px; }
  .product-copy h3 { font-size: 48px; }
  .check-list, .service-grid, .support-grid, .legal-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 210px; }
  .company-facts div, .detail-list div { grid-template-columns: 1fr; gap: 5px; }
  .contact-section { padding: 70px 0; }
  .contact-actions > a, .contact-actions > div { grid-template-columns: 72px 1fr auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-legal { grid-column: 1 / -1; }
  .page-hero { padding-top: 60px; }
  .legal-shell { padding-top: 55px; }
}

@media (max-width: 420px) {
  .hero-actions .button { width: 100%; }
  .capability-list { display: grid; grid-template-columns: 1fr 1fr; }
  .code-body { padding-inline: 17px; }
  .product-chip { min-width: 205px; }
  .contact-actions > a, .contact-actions > div { grid-template-columns: 1fr auto; }
  .contact-actions small { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-legal { grid-column: auto; }
}
