  :root {
    /* Brand colors sampled from the Indinuity logo */
    --cyan:        #37C4F1;   /* front face / primary */
    --cyan-bright: #5DD3F5;   /* hover */
    --cyan-deep:   #1FB6E3;   /* mid-tone, used for accents */
    --teal-dark:   #20829F;   /* right shadow face */
    --blue-mid:    #3F9CD5;   /* mid blue */

    /* Navy harmonized with the logo (cool, blue-leaning, not pure black) */
    --navy:        #0A1722;
    --navy-2:      #0F1E2D;
    --navy-3:      #14283A;
    --line-dark:   #1E3447;
    --line-soft:   #E0DDD3;

    /* Light surfaces */
    --paper:       #FAF8F2;   /* warm off-white */
    --paper-2:     #F2EFE6;

    /* Text */
    --text:        #E8EDF2;
    --text-dim:    #8FA0B0;
    --text-faint:  #5A6B7C;
    --ink-text:    #0D1B2A;
    --ink-text-dim:#48576A;

    /* Status accent for badges */
    --green:       #14B86F;
    --amber:       #E89B2A;
    --violet:      #8B6CD4;

    --serif: "Instrument Serif", "Times New Roman", serif;
    --sans:  "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --maxw: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
  }

  *,*::before,*::after { box-sizing: border-box; }
  html,body { margin:0; padding:0; }
  /* Clip horizontal overflow at the root too. body{overflow-x:hidden} alone is
     unreliable when html stays visible; `clip` clips without breaking sticky/
     fixed or vertical scroll (with hidden as the fallback for old browsers). */
  html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
  body {
    font-family: var(--sans);
    font-weight: 400;
    background: var(--navy);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
    overflow-x: clip;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  ::selection { background: var(--cyan); color: var(--navy); }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

  /* ─── Eyebrow ─── */
  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
  }
  .light .eyebrow { color: var(--teal-dark); }

  /* ─── Nav ─── */
  nav.top {
    position: sticky; top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 23, 34, 0.78);
    border-bottom: 1px solid rgba(55,196,241,0.08);
  }
  nav.top .inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text);
  }
  .logo svg { width: 32px; height: 32px; }
  .nav-links {
    display: flex; gap: 30px;
    font-size: 14px;
    color: var(--text-dim);
  }
  .nav-links a { transition: color .2s ease; }
  .nav-links a:hover { color: var(--cyan); }
  .nav-cta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 9px 16px;
    border: 1px solid rgba(55,196,241,0.25);
    border-radius: 999px;
    color: var(--text);
    transition: all .2s ease;
  }
  .nav-cta:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(55,196,241,0.06);
  }
  @media (max-width: 720px){
    .nav-links { display: none; }
  }

  /* ─── Hero ─── */
  .hero {
    position: relative;
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
    background:
      radial-gradient(1100px 600px at 75% 20%, rgba(55,196,241,0.08), transparent 60%),
      radial-gradient(900px 500px at 15% 90%, rgba(32,130,159,0.10), transparent 60%),
      var(--navy);
  }
  .hero canvas#particles {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }
  .hero .grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(55,196,241,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(55,196,241,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
    pointer-events: none;
  }

  .hero .inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
  }
  .hero-eyebrow {
    margin-bottom: 28px;
    animation: fade-up .8s .1s both;
  }
  h1.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 8.5vw, 116px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    color: var(--text);
    animation: fade-up .9s .2s both;
  }
  h1.hero-title .em {
    font-style: italic;
    color: var(--cyan);
  }
  h1.hero-title .dot { color: var(--cyan); }
  .hero-sub {
    max-width: 640px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.55;
    color: var(--text-dim);
    margin: 0 0 40px;
    animation: fade-up .9s .35s both;
  }
  .hero-sub strong { color: var(--text); font-weight: 500; }

  .cta-row {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fade-up .9s .5s both;
  }
  .btn {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 22px;
    border-radius: 8px;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all .2s ease;
    cursor: pointer;
    border: 1px solid transparent;
  }
  .btn-primary {
    background: var(--cyan);
    color: var(--navy);
  }
  .btn-primary:hover {
    background: var(--cyan-bright);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -8px rgba(55,196,241,0.5);
  }
  .btn-ghost {
    color: var(--text);
    border-color: rgba(143,160,176,0.25);
    background: rgba(143,160,176,0.04);
  }
  .btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(55,196,241,0.06);
  }
  .btn .arrow { transition: transform .2s ease; }
  .btn:hover .arrow { transform: translateX(3px); }

  .hero-meta {
    position: absolute;
    bottom: 32px; left: var(--gutter); right: var(--gutter);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    animation: fade-up .9s .8s both;
  }
  .hero-meta .dot-sep { opacity: 0.4; margin: 0 8px; }
  .hero-meta .live-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(55,196,241,0.6);
    animation: pulse 2s infinite;
  }
  @media (max-width: 640px){
    .hero-meta { flex-direction: column; gap: 12px; align-items: flex-start; }
  }

  /* ─── Sections ─── */
  section { padding: 120px 0; position: relative; }
  section.light { background: var(--paper); color: var(--ink-text); }
  section.light .text-dim { color: var(--ink-text-dim); }
  .text-dim { color: var(--text-dim); }

  .sect-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 40px; margin-bottom: 64px; flex-wrap: wrap;
  }
  .sect-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 16px 0 0;
    max-width: 720px;
  }
  .sect-head h2 em { color: var(--cyan-deep); font-style: italic; }
  section.light .sect-head h2 em { color: var(--teal-dark); }
  .sect-head .sect-intro { font-size: 15px; max-width: 360px; }

  /* ─── Products ─── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
  }
  @media (max-width: 720px){ .products-grid { grid-template-columns: 1fr; } }
  .product-card {
    background: var(--paper);
    padding: 36px;
    display: flex; flex-direction: column;
    min-height: 340px;
    position: relative;
    transition: background .25s ease;
  }
  .product-card:hover { background: var(--paper-2); }
  .product-card .top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 28px;
  }
  .product-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    display: grid; place-items: center;
    color: white;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15);
  }
  .product-icon.rewardify { background: linear-gradient(135deg, #FBC34A, #E89B2A); }
  .product-icon.ubartab { background: linear-gradient(135deg, #E0556C, #B83452); }
  .product-icon.ephefms { background: linear-gradient(135deg, var(--cyan), var(--teal-dark)); }
  .product-icon.ccms { background: linear-gradient(135deg, #5BA858, #3D7E3F); }

  .badge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid currentColor;
  }
  .badge-live { color: #047857; background: rgba(20,184,111,0.08); }
  .badge-soon { color: #B45309; background: rgba(232,155,42,0.10); }
  .badge-dev  { color: #6D28D9; background: rgba(139,108,212,0.10); }
  .badge .pip { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

  .product-name {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
  }
  .product-tag {
    font-size: 14px;
    color: var(--ink-text-dim);
    margin: 0 0 20px;
  }
  .product-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-text-dim);
    margin: 0 0 24px;
    flex: 1;
  }
  .product-desc strong { color: var(--ink-text); font-weight: 500; }
  .chips {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 24px;
  }
  .chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(13,27,42,0.05);
    color: var(--ink-text-dim);
  }
  .product-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-text);
    border-bottom: 1px solid transparent;
    align-self: flex-start;
    padding-bottom: 2px;
    transition: border-color .2s ease, gap .2s ease;
  }
  .product-link:hover {
    border-bottom-color: var(--cyan-deep);
    color: var(--cyan-deep);
    gap: 12px;
  }

  /* ─── Placeholder "your next app" card ─── */
  .product-card.is-placeholder {
    background: var(--paper-2);
  }
  .product-card.is-placeholder:hover {
    background: var(--paper-2);
  }
  .product-card.is-placeholder .product-icon.placeholder {
    background: transparent;
    border: 1.6px dashed var(--ink-text-dim);
    color: var(--ink-text-dim);
    box-shadow: none;
  }
  .product-card.is-placeholder .product-name,
  .product-card.is-placeholder .product-tag {
    color: var(--ink-text-dim);
  }

  /* ─── Services ─── */
  .services { background: var(--navy); color: var(--text); }
  .services .sect-head h2 { color: var(--text); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    overflow: hidden;
  }
  @media (max-width: 880px){ .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px){ .services-grid { grid-template-columns: 1fr; } }
  .service-card {
    background: var(--navy-2);
    padding: 32px 28px;
    transition: background .25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card:hover { background: var(--navy-3); }
  .service-card::after {
    content: "↗";
    position: absolute;
    top: 24px; right: 24px;
    color: var(--text-faint);
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
  }
  .service-card:hover::after { color: var(--cyan); transform: translate(2px, -2px); }
  .service-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: 28px;
  }
  .service-icon {
    width: 32px; height: 32px;
    margin-bottom: 24px;
    color: var(--cyan);
  }
  .service-title {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .service-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
    margin: 0;
  }

  /* ─── Stack ─── */
  .stack { background: var(--paper); color: var(--ink-text); padding: 100px 0; }
  .stack-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px; align-items: center;
  }
  @media (max-width: 880px){ .stack-inner { grid-template-columns: 1fr; gap: 40px; } }
  .stack-copy h3 {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 16px 0 16px;
  }
  .stack-copy p {
    font-size: 15px;
    color: var(--ink-text-dim);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
  }
  .stack-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    overflow: hidden;
  }
  @media (max-width: 540px){ .stack-logos { grid-template-columns: repeat(2, 1fr); } }
  .stack-cell {
    background: var(--paper);
    aspect-ratio: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
    padding: 20px;
    transition: background .2s ease;
  }
  .stack-cell:hover { background: var(--paper-2); }
  .stack-cell svg { width: 36px; height: 36px; opacity: 0.85; }
  .stack-cell span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--ink-text-dim);
  }
  .stack-cell.featured { background: linear-gradient(135deg, rgba(55,196,241,0.06), rgba(32,130,159,0.04)); }
  .stack-cell.featured span { color: var(--teal-dark); font-weight: 500; }

  /* ─── About ─── */
  .about { background: var(--navy); color: var(--text); }
  .about-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px; align-items: start;
  }
  @media (max-width: 880px){ .about-inner { grid-template-columns: 1fr; gap: 48px; } }
  .about-copy h3 {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 16px 0 28px;
  }
  .about-copy h3 em { color: var(--cyan); font-style: italic; }
  .about-copy p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dim);
    margin: 0 0 18px;
    max-width: 560px;
  }
  .founder-card {
    background: var(--navy-2);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    padding: 32px;
  }
  .founder-photo {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--teal-dark));
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
  }
  .founder-photo::after {
    content: attr(data-initials);
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: white;
    font-family: var(--serif);
    font-size: 28px;
  }
  .founder-name {
    font-family: var(--serif);
    font-size: 24px; font-weight: 400;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
  }
  .founder-role {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 18px;
  }
  .founder-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0 0 20px;
  }
  .founder-links {
    display: flex; gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
  }
  .founder-links a {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line-dark);
    display: grid; place-items: center;
    color: var(--text-dim);
    transition: all .2s ease;
  }
  .founder-links a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
  }

  /* ─── Contact CTA ─── */
  .contact {
    padding: 140px 0 100px;
    background:
      radial-gradient(800px 400px at 50% 0%, rgba(55,196,241,0.10), transparent 70%),
      var(--navy);
    text-align: center;
  }
  .contact h2 {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 24px 0 24px;
  }
  .contact h2 em { color: var(--cyan); font-style: italic; }
  .contact p {
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 17px;
  }
  .contact .cta-row { justify-content: center; }

  /* ─── Footer ─── */
  footer {
    border-top: 1px solid var(--line-dark);
    padding: 40px 0;
    color: var(--text-faint);
    font-family: var(--mono);
    font-size: 12px;
  }
  footer .inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
  }
  footer .links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  footer a:hover { color: var(--cyan); }
  @media (max-width: 640px) {
    footer .inner { justify-content: center; text-align: center; }
    footer .links { justify-content: center; gap: 10px 16px; }
  }

  /* ─── Animations ─── */
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(55,196,241,0.6); }
    50%      { box-shadow: 0 0 0 6px rgba(55,196,241,0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── Book a discovery call modal ─── */
  .book-modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: clamp(16px, 5vw, 64px);
  }
  .book-modal.open { display: flex; }
  .book-overlay {
    position: absolute; inset: 0;
    background: rgba(10, 23, 34, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .book-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: min(88vh, 900px);
    /* Google's scheduling widget is light-themed, so give it a white surface */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 90px -20px rgba(0,0,0,0.65);
    display: flex; flex-direction: column;
    animation: fade-up .35s ease both;
  }
  .book-bar {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
  }
  .book-title {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink-text);
    letter-spacing: -0.01em;
  }
  .book-close {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #fff;
    color: var(--ink-text-dim);
    font-size: 22px; line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
  }
  .book-close:hover { color: var(--teal-dark); border-color: var(--teal-dark); }
  /* white gutter around the embedded widget for breathing room */
  .book-frame {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
    padding: 12px;
  }
  .book-frame iframe {
    width: 100%; height: 100%;
    border: 0; display: block;
    background: #fff;
  }
  @media (max-width: 640px) {
    .book-modal { padding: 10px; }
    .book-dialog { height: 92vh; max-width: 100%; }
    .book-frame { padding: 6px; }
  }

  /* ─── Contact us modal ─── */
  .contact-modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: clamp(16px, 5vw, 56px);
  }
  .contact-modal.open { display: flex; }
  .contact-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--navy-2);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    padding: 34px 32px;
    box-shadow: 0 30px 90px -20px rgba(0,0,0,0.65);
    animation: fade-up .35s ease both;
  }
  .contact-close {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: rgba(10,23,34,0.5);
    color: var(--text-dim);
    font-size: 22px; line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
  }
  .contact-close:hover { color: var(--cyan); border-color: var(--cyan); }
  .contact-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 8px;
    color: var(--text);
  }
  .contact-sub {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0 0 22px;
  }
  #contactForm input,
  #contactForm textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    background: var(--navy-3);
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    color: var(--text);
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.5;
  }
  #contactForm textarea { resize: vertical; min-height: 110px; }
  #contactForm input::placeholder,
  #contactForm textarea::placeholder { color: var(--text-faint); }
  #contactForm input:focus,
  #contactForm textarea:focus { outline: none; border-color: var(--cyan); }
  #contactForm .g-recaptcha { margin: 4px 0 16px; }
  #contactForm button[type="submit"] { width: 100%; justify-content: center; }
  .contact-result {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    min-height: 1em;
  }
  .contact-result.success { color: var(--green); }
  .contact-result.error { color: #E0556C; }
  .contact-legal {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-faint);
  }
  .contact-legal a { color: var(--text-dim); text-decoration: underline; }
  .contact-legal a:hover { color: var(--cyan); }

  /* reCAPTCHA v3 works invisibly; hide the floating badge. Permitted because the
     required attribution text is shown in the contact form (.contact-legal). */
  /* display:none (not visibility:hidden) so the 256px-wide fixed badge box is
     removed from layout — otherwise it overflows the mobile viewport to the
     right. reCAPTCHA v3 still runs; the required notice is shown in the form. */
  .grecaptcha-badge { display: none !important; }

  /* ─── Cookie notice ─── */
  .cookie-notice {
    position: fixed;
    left: 50%; bottom: 20px;
    transform: translate(-50%, 200%);
    z-index: 1100;
    max-width: 680px;
    width: calc(100% - 32px);
    display: flex; align-items: center; gap: 16px;
    background: var(--navy-2);
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.6);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
  }
  .cookie-notice.visible { transform: translate(-50%, 0); opacity: 1; }
  .cookie-notice p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
  .cookie-notice a { color: var(--cyan); }
  .cookie-actions { flex: 0 0 auto; display: flex; gap: 8px; }
  .cookie-btn {
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    padding: 9px 16px;
    border: 1px solid transparent; border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
  }
  .cookie-accept { background: var(--cyan); color: var(--navy); }
  .cookie-accept:hover { background: var(--cyan-bright); }
  .cookie-decline { background: transparent; color: var(--text-dim); border-color: var(--line-dark); }
  .cookie-decline:hover { color: var(--text); border-color: var(--text-faint); }
  @media (max-width: 540px) {
    .cookie-notice { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
  }

  /* ─── Legal pages ─── */
  .legal { padding: 140px 0 90px; }
  .legal .wrap { max-width: 820px; }
  .legal-title {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.02; letter-spacing: -0.02em;
    margin: 14px 0 8px; color: var(--text);
  }
  .legal-meta {
    font-family: var(--mono); font-size: 12px;
    color: var(--text-faint); margin: 0 0 40px;
  }
  .legal h2 {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--text); margin: 40px 0 12px; letter-spacing: -0.01em;
  }
  .legal p, .legal li {
    font-size: 15px; line-height: 1.75; color: var(--text-dim); margin: 0 0 14px;
  }
  .legal ul { margin: 0 0 14px; padding-left: 20px; }
  .legal li { margin-bottom: 8px; }
  .legal a { color: var(--cyan); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
  .legal a:hover { border-bottom-color: var(--cyan); }
  .legal strong { color: var(--text); font-weight: 500; }

  /* ─── Live chat launcher (on-brand, replaces Tawk's default bubble) ─── */
  .chat-launcher {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 1090;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 18px;
    border: none; border-radius: 999px;
    background: var(--cyan); color: var(--navy);
    font-family: var(--sans); font-size: 14px; font-weight: 600;
    line-height: 1; cursor: pointer;
    box-shadow: 0 12px 30px -8px rgba(55,196,241,0.5);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .chat-launcher:hover {
    background: var(--cyan-bright);
    transform: translateY(-2px);
    box-shadow: 0 16px 38px -8px rgba(55,196,241,0.65);
  }
  .chat-launcher-icon { display: inline-grid; place-items: center; }
  .chat-launcher-icon svg { width: 20px; height: 20px; display: block; }
  .tawk-open .chat-launcher { display: none; }
  @media (max-width: 640px) {
    .chat-launcher {
      bottom: 16px; right: 16px;
      width: 52px; height: 52px;
      padding: 0; gap: 0;
      justify-content: center;
    }
    .chat-launcher-label { display: none; }
    .chat-launcher-icon svg { width: 22px; height: 22px; }
  }

  /* Force-hide Tawk's default attention grabber (we use our own launcher).
     Applied via CSS so it never flashes before the JS hideWidget() runs. */
  img[src*="/attention-grabbers/"],
  img[alt="Chat attention grabber"],
  iframe[title="Tawk.to Attention Bubble"],
  [class*="attention-grabber"],
  [class*="attention-bubble"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
