:root{
      --bg: #f4f8ff;
      --paper: #ffffff;
      --ink: #0b1020;
      --muted: rgba(11, 16, 32, .72);
      --faint: rgba(11, 16, 32, .10);
      --accent: #0b5ed7;
      --accent2: #1e88e5;
      --radius: 18px;
      --radius2: 26px;
      --shadow: 0 20px 60px rgba(0,0,0,.10);
      --shadow2: 0 10px 30px rgba(0,0,0,.08);
      --max: 1120px;
    }

    *{ box-sizing: border-box; }
    html{ scroll-behavior: smooth; }
    body{
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: "Instrument Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.45;
    }
    a{ color: inherit; text-decoration: none; }
    a:hover{ text-decoration: underline; text-underline-offset: 3px; }

    /* Layout */
    .wrap{
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 22px;
    }
    .section{
      padding: 78px 0;
    }
    .section.tight{ padding: 56px 0; }
    .section.alt{
      background: linear-gradient(180deg, rgba(11,94,215,.08), rgba(11,94,215,0));
      border-top: 1px solid var(--faint);
      border-bottom: 1px solid var(--faint);
    }

    /* Header */
    header{
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(10px);
      background: rgba(251,250,247,.78);
      border-bottom: 1px solid rgba(17,18,20,.08);
    }
    .nav{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      gap: 14px;
    }
    .brand{
      display: flex;
      align-items: baseline;
      gap: 10px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .logo-mark{
      width: 28px;
      height: 28px;
      border-radius: 10px;
      background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 42%),
        linear-gradient(135deg, #0b5ed7, #0a2a6b);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 8px 16px rgba(11,94,215,.30);
      position: relative;
      flex: 0 0 auto;
    }
    .logo-mark::after{
      content: "";
      position: absolute;
      left: 6px;
      right: 6px;
      bottom: 7px;
      height: 2px;
      border-radius: 999px;
      background: rgba(255,255,255,.75);
    }
    .brand .logo{
      font-family: "Fraunces", serif;
      font-weight: 700;
      font-size: 22px;
      color: #0b2a5a;
      background: linear-gradient(180deg, #0b5ed7, #08307a);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .brand .tag{
      font-size: 12px;
      color: var(--muted);
      border-left: 1px solid rgba(17,18,20,.18);
      padding-left: 10px;
      white-space: nowrap;
    }

    nav ul{
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 16px;
    }
    nav a{
      font-size: 14px;
      color: rgba(17,18,20,.82);
      text-decoration: none;
      padding: 8px 10px;
      border-radius: 999px;
    }
    nav a:hover{
      background: rgba(17,18,20,.06);
      text-decoration: none;
    }

    .nav-actions{
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 999px;
      border: 1px solid rgba(17,18,20,.16);
      background: var(--paper);
      box-shadow: 0 1px 0 rgba(0,0,0,.04);
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      text-decoration: none;
      transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    }
    .btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow2); text-decoration: none; }
    .btn.primary{
      background: var(--accent);
      color: #fff;
      border-color: rgba(11,94,215,.24);
    }
    .btn.primary:hover{ background: #0a52be; }
    .btn.ghost{
      background: transparent;
      border: 1px solid rgba(17,18,20,.18);
    }
    .btn.small{ padding: 10px 14px; font-size: 13px; }
    .btn.linkish{
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      font-weight: 700;
      color: var(--accent);
    }
    .btn.linkish:hover{ transform:none; box-shadow:none; text-decoration: underline; }

    .hamburger{
      display: none;
      border: 1px solid rgba(17,18,20,.18);
      border-radius: 12px;
      padding: 10px 12px;
      background: var(--paper);
      cursor: pointer;
    }
    .hamburger span{
      display: block;
      width: 20px;
      height: 2px;
      background: var(--ink);
      margin: 4px 0;
      border-radius: 2px;
    }
    .mobile-nav{
      display: none;
      padding: 10px 0 16px;
    }
    .mobile-nav a{
      display: block;
      padding: 10px 12px;
      border-radius: 12px;
      color: rgba(17,18,20,.86);
    }
    .mobile-nav a:hover{ background: rgba(17,18,20,.06); text-decoration: none; }

    /* Hero */
    .hero{
      padding: 62px 0 28px;
    }
    .hero-grid{
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 26px;
      align-items: center;
    }
    .kicker{
      display: inline-flex;
      gap: 10px;
      align-items: center;
      font-size: 13px;
      color: rgba(17,18,20,.70);
      padding: 8px 12px;
      border: 1px solid rgba(17,18,20,.12);
      border-radius: 999px;
      background: rgba(255,255,255,.55);
      width: fit-content;
    }
    .dot{
      width: 8px; height: 8px; border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 6px rgba(11,94,215,.18);
    }

    h1{
      font-family: "Fraunces", serif;
      font-size: clamp(42px, 5vw, 62px);
      line-height: 1.02;
      letter-spacing: -0.03em;
      margin: 14px 0 14px;
    }
    .lead{
      font-size: 18px;
      color: rgba(17,18,20,.76);
      max-width: 54ch;
      margin: 0 0 18px;
    }
    .hero-ctas{
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
      align-items: center;
    }
    .trust{
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 10px;
      margin-top: 18px;
    }
    .pill{
      border: 1px solid rgba(17,18,20,.12);
      background: rgba(255,255,255,.70);
      border-radius: 16px;
      padding: 12px 12px;
      font-size: 13px;
      color: rgba(17,18,20,.78);
    }
    .pill strong{ color: var(--ink); }

    .hero-art{
      position: relative;
      border-radius: var(--radius2);
      overflow: hidden;
      box-shadow: var(--shadow);
      background: radial-gradient(circle at 25% 30%, rgba(11,94,215,.22), transparent 60%),
                  radial-gradient(circle at 70% 70%, rgba(30,136,229,.18), transparent 60%),
                  #0b1020;
      min-height: 420px;
    }
    .hero-art::after{
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, rgba(11,94,215,.28), rgba(6,18,40,.35));
      mix-blend-mode: multiply;
      opacity: .75;
      pointer-events: none;
    }
    .hero-art .ring{
      position: absolute;
      inset: auto auto 18% 10%;
      width: 320px;
      height: 320px;
      border-radius: 999px;
      background: rgba(11,94,215,.92);
      filter: saturate(1.1);
      opacity: .92;
    }
    .hero-art img{
      position: absolute;
      right: -5%;
      bottom: -6%;
      width: 110%;
      height: 110%;
      object-fit: cover;
      filter: contrast(1.04) saturate(.92);
      opacity: .96;
      mix-blend-mode: normal;
    }
    .hero-art .caption{
      position: absolute;
      left: 18px;
      bottom: 16px;
      right: 18px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      color: rgba(255,255,255,.88);
    }
    .hero-art .caption .mini{
      font-size: 12px;
      color: rgba(255,255,255,.72);
    }
    .hero-art .badge{
      font-size: 12px;
      font-weight: 700;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.18);
      padding: 10px 12px;
      border-radius: 999px;
      backdrop-filter: blur(8px);
      white-space: nowrap;
    }

    /* Cards and grids */
    .grid-2{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
    .grid-3{
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 16px;
    }
    .grid-2-wide{
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 16px;
    }
    .card{
      background: var(--paper);
      border: 1px solid rgba(17,18,20,.10);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: 0 1px 0 rgba(0,0,0,.04);
    }
    .card h3{
      margin: 0 0 8px;
      font-size: 18px;
      letter-spacing: -0.02em;
    }
    .card p{
      margin: 0 0 12px;
      color: rgba(17,18,20,.74);
      font-size: 14px;
    }
    .icon-strip{
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 12px;
      margin-top: 16px;
    }
    .mini-card{
      background: var(--paper);
      border: 1px solid rgba(11,16,32,.10);
      border-radius: 14px;
      padding: 12px 14px;
      display: grid;
      gap: 6px;
      box-shadow: 0 1px 0 rgba(0,0,0,.04);
    }
    .mini-card .mini-title{
      font-weight: 700;
      letter-spacing: -0.01em;
      font-size: 14px;
    }
    .mini-card .mini-sub{
      font-size: 12px;
      color: var(--muted);
    }
    .mini-icon{
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(140deg, rgba(11,94,215,.18), rgba(10,42,107,.32));
      border: 1px solid rgba(11,16,32,.12);
    }
    .mini-icon svg{
      width: 18px;
      height: 18px;
      fill: none;
      stroke: #0b5ed7;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .bluesy-photo{
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(11,16,32,.12);
      background: #0b1020;
    }
    .bluesy-photo img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: saturate(.95) contrast(1.05);
      transform: scale(1.01);
    }
    .bluesy-photo::after{
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(140deg, rgba(11,94,215,.35), rgba(6,18,40,.18));
      mix-blend-mode: multiply;
      opacity: .7;
      pointer-events: none;
    }
    .photo-grid{
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 10px;
      margin: 12px 0 0;
    }
    .meta-row{
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    .offer-head{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px;
    }
    .offer-icon{
      width: 40px;
      height: 40px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(140deg, rgba(11,94,215,.18), rgba(10,42,107,.32));
      border: 1px solid rgba(11,16,32,.12);
      box-shadow: 0 10px 24px rgba(11,94,215,.12);
      flex: 0 0 auto;
    }
    .offer-icon svg{
      width: 22px;
      height: 22px;
      fill: none;
      stroke: #0b5ed7;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .tag-row{
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 6px 0 10px;
    }
    .tag{
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(11,16,32,.04);
      border: 1px solid rgba(11,16,32,.08);
      color: rgba(11,16,32,.78);
      white-space: nowrap;
    }
    .offer-cta{
      font-weight: 700;
      color: var(--accent);
      margin: 8px 0 0;
    }
    .set-menu{
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 14px 0 18px;
    }
    details.story-card summary{
      cursor: pointer;
      list-style: none;
    }
    details.story-card summary::-webkit-details-marker{ display: none; }
    details.story-card summary .summary-title{
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.02em;
      display: block;
      margin-bottom: 6px;
    }
    details.story-card summary .summary-preview{
      margin: 0 0 6px;
      color: rgba(17,18,20,.74);
      font-size: 14px;
    }
    details.story-card[open] summary{ margin-bottom: 10px; }
    .chip{
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(17,18,20,.04);
      border: 1px solid rgba(17,18,20,.08);
      color: rgba(17,18,20,.76);
      white-space: nowrap;
    }

    .section-title{
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 16px;
      margin-bottom: 18px;
    }
    .section-title h2{
      font-family: "Fraunces", serif;
      font-size: 32px;
      margin: 0;
      letter-spacing: -0.02em;
    }
    .section-title .sub{
      max-width: 64ch;
      color: rgba(17,18,20,.74);
      font-size: 15px;
      margin: 0;
    }

    /* Media strip (horizontal scroll) */
    .media-strip{
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(240px, 1fr);
      gap: 14px;
      overflow-x: auto;
      padding: 6px 2px 10px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .media-strip::-webkit-scrollbar{ height: 10px; }
    .media-strip::-webkit-scrollbar-thumb{
      background: rgba(17,18,20,.18);
      border-radius: 999px;
    }
    .media-card{
      scroll-snap-align: start;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(17,18,20,.10);
      background: #0f1012;
      position: relative;
      min-height: 160px;
      box-shadow: 0 1px 0 rgba(0,0,0,.04);
    }
    .media-card img,
    .media-card video{
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: contrast(1.03) saturate(1.05);
      display: block;
      opacity: .92;
    }
    .play{
      position: absolute;
      left: 14px;
      bottom: 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(0,0,0,.35);
      backdrop-filter: blur(8px);
      color: rgba(255,255,255,.92);
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
    }
    .play:hover{ text-decoration: none; background: rgba(0,0,0,.46); }
    .play .tri{
      width: 0; height: 0;
      border-left: 9px solid rgba(255,255,255,.92);
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      margin-left: 2px;
    }

    /* Lists */
    ul.clean{
      margin: 0;
      padding-left: 18px;
      color: rgba(17,18,20,.76);
      font-size: 14px;
    }
    ul.clean li{ margin: 8px 0; }

    /* Tech table */
    .tech{
      width: 100%;
      border-collapse: collapse;
      overflow: hidden;
      border-radius: 16px;
      border: 1px solid rgba(17,18,20,.10);
      background: #fff;
    }
    .tech th, .tech td{
      text-align: left;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(17,18,20,.08);
      vertical-align: top;
      font-size: 14px;
    }
    .tech th{
      background: rgba(17,18,20,.03);
      font-weight: 700;
    }
    .tech tr:last-child td{ border-bottom: 0; }

    /* Contact */
    .contact-grid{
      display: grid;
      grid-template-columns: 1fr .9fr;
      gap: 18px;
      align-items: start;
    }
    form{
      display: grid;
      gap: 12px;
    }
    label{
      display: grid;
      gap: 6px;
      font-size: 13px;
      color: rgba(17,18,20,.78);
    }
    input, textarea, select{
      width: 100%;
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid rgba(17,18,20,.16);
      background: #fff;
      font: inherit;
      font-size: 14px;
    }
    textarea{ min-height: 140px; resize: vertical; }
    .hint{
      font-size: 12px;
      color: rgba(17,18,20,.62);
      margin-top: -4px;
    }
    .notice{
      border-left: 3px solid var(--accent);
      padding: 12px 12px;
      border-radius: 14px;
      background: rgba(11,94,215,.08);
      color: rgba(17,18,20,.76);
      font-size: 14px;
    }
    .legal-mini{
      margin-top: 14px;
      border: 1px solid rgba(17,18,20,.12);
      border-radius: 14px;
      padding: 12px;
      background: rgba(255,255,255,.5);
      font-size: 13px;
    }
    .footer-meta{
      margin-top: 14px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .legal-block{
      border: 1px solid rgba(17,18,20,.12);
      border-radius: 14px;
      padding: 12px 12px 14px;
      background: rgba(255,255,255,.55);
      font-size: 13px;
      color: rgba(17,18,20,.78);
      line-height: 1.35;
    }
    .legal-block p{
      margin: 0 0 8px;
    }
    .legal-block p:last-child{
      margin-bottom: 0;
    }
    .legal-mini{
      /* Legacy class kept temporarily; replaced by plain legal blocks in footer. */
      border: none;
      border-radius: 0;
      padding: 0;
      color: rgba(17,18,20,.78);
      margin: 0;
    }

    footer{
      padding: 34px 0 44px;
      border-top: 1px solid rgba(17,18,20,.10);
      color: rgba(17,18,20,.72);
    }
    .foot{
      display: flex;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
    }
    .links{
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }
    .links a{
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid rgba(17,18,20,.12);
      background: rgba(255,255,255,.55);
      text-decoration: none;
      font-size: 13px;
    }
    .links a:hover{ background: rgba(17,18,20,.06); }

    /* Responsive */
    @media (max-width: 980px){
      nav ul{ display:none; }
      .hamburger{ display: inline-block; }
      .mobile-nav{ display:none; }
      .hero-grid{ grid-template-columns: 1fr; }
      .hero-art{ min-height: 360px; }
      .trust{ grid-template-columns: 1fr; }
      .grid-3{ grid-template-columns: 1fr; }
      .grid-2-wide{ grid-template-columns: 1fr; }
      .grid-2{ grid-template-columns: 1fr; }
      .icon-strip{ grid-template-columns: 1fr; }
      .contact-grid{ grid-template-columns: 1fr; }
      .brand .tag{ display:none; }
    }

    @media (prefers-reduced-motion: reduce){
      html{ scroll-behavior: auto; }
      .btn{ transition: none; }
      .btn:hover{ transform:none; }
    }
