/* Shared English/Vietnamese public layout, extracted from the English homepage. */
/* ============================================================
       1. Tokens & reset
       ============================================================ */
    :root {
      --ink: #0B3B33;
      --ink-2: #3E5A52;
      --ink-3: #7A8F89;
      --bg: #FAFBF9;
      --line: #E8EFEC;
      --tide: #2E9E8F;
      --proceed: #1B6B4E;
      --ink-dark: #041713;
      --warn: #C28A1D;
      --danger: #C0392B;
      --skeleton: #ECEFF1;

      --font-sans: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

      --shadow-card: 0 1px 2px rgba(16, 42, 66, .06), 0 8px 24px rgba(16, 42, 66, .06);
      --shadow-raised: 0 8px 24px rgba(16, 42, 66, .25);
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; scroll-padding-top: 24px; }

    [hidden] { display: none !important; }

    body {
      margin: 0;
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.6;
      color: var(--ink);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* ============================================================
       2. Type scale
       ============================================================ */
    h1, h2, h3 { margin: 0; color: var(--ink); }

    h1 { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
    h2 { font-size: 28px; line-height: 1.25; font-weight: 600; }
    h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }

    .overline {
      margin: 0 0 10px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--ink-3);
    }

    @media (max-width: 1024px) {
      h1 { font-size: 28px; }
      h2 { font-size: 22px; }
    }

    /* ============================================================
       3. Layout primitives
       ============================================================ */
    html, body { max-width: 100%; }
    .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 88px 0; }
    .section-head { max-width: 720px; margin-bottom: 40px; }
    .section-head h2 { margin-top: 0; }

    .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;
    }

    /* ============================================================
       4. Icons, links & focus
       ============================================================ */
    .icon { width: 20px; height: 20px; flex: none; }

    a { color: var(--ink); }

    :focus-visible,
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    summary:focus-visible {
      outline: 2px solid var(--proceed);
      outline-offset: 2px;
    }

    /* ============================================================
       5. Buttons
       ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: inherit;
      font-size: 16px;
      font-weight: 600;
      line-height: 1;
      min-height: 48px;
      padding: 12px 22px;
      border-radius: 8px;
      border: 1px solid transparent;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;
      transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    }

    .btn-primary { background: var(--tide); border-color: var(--tide); color: #fff; }
    .btn-primary:hover { background: #175A42; border-color: #175A42; }

    .btn-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
    .btn-outline:hover { background: var(--bg); }

    .btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
    .btn-dark:hover { background: var(--ink-dark); border-color: var(--ink-dark); }

    .btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: #fff; }
    .btn-ghost:hover { background: rgba(255, 255, 255, .14); }

    /* ============================================================
       6. Nav (sits on the hero's ink-blue field)
       ============================================================ */
    .site-nav {
      background: #0B3B33;
      color: #fff;
      padding: 14px 0;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      font-size: 20px;
    }
    .brand .icon { width: 22px; height: 22px; }

    .nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
    .nav-links a:not(.nav-cta) {
      color: rgba(255, 255, 255, .82);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      padding: 12px 0; /* touch target >= 44px */
    }
    .nav-links a:not(.nav-cta):hover { color: #fff; }

    .nav-cta {
      padding: 10px 18px;
      min-height: 44px;
      font-size: 15px;
    }

    @media (max-width: 1024px) {
      .nav-links { gap: 14px; }
      .nav-links a:not(.nav-cta) { font-size: 14px; }
      .nav-cta { padding: 10px 14px; font-size: 14px; }
    }

    /* ============================================================
       7. Hero — tide-in-motion waves
       ============================================================ */
    .hero {
      position: relative;
      overflow: hidden;
      color: #fff;
      min-height: 680px;
      padding: 88px 0 200px;
      background:
        radial-gradient(closest-side at 50% 12%, rgba(46, 140, 119, .16), transparent),
        linear-gradient(180deg, #0B3B33 0%, #09342B 32%, #06221B 68%, #041713 100%);
    }

    .hero-inner { position: relative; z-index: 3; }

    .hero .kicker {
      margin: 0 0 18px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .3em;
      color: #7FD4C1;
    }

    .hero h1 {
      color: #fff;
      max-width: 780px;
      overflow-wrap: break-word;
      margin-bottom: 20px;
      font-size: 64px;
      line-height: 1.04;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .hero-sub { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 640px; margin: 0 0 32px; }

    /* Waves */
    .hero-waves {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 62%;
      z-index: 1;
      pointer-events: none;
    }

    .wave {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 200%;
      height: 100%;
      display: block;
    }
    .wave.w1 { animation: drift 22s linear infinite; }
    .wave.w2 { animation: drift 30s linear infinite; }
    .wave.w3 { animation: drift 46s linear infinite reverse; }
    .wave.w4 { animation: drift 60s linear infinite reverse; }

    @keyframes drift { to { transform: translateX(-50%); } }

    /* Glows */
    .glow {
      position: absolute;
      z-index: 0;
      border-radius: 50%;
      filter: blur(60px);
      pointer-events: none;
      animation: breathe 7s ease-in-out infinite;
    }
    .glow-1 { width: 440px; height: 440px; top: 6%; right: 4%; background: rgba(46, 140, 119, .32); }
    .glow-2 { width: 480px; height: 480px; bottom: 10%; left: 2%; background: rgba(20, 58, 87, .3); animation-delay: -2.3s; }
    .glow-3 { width: 360px; height: 360px; top: 16%; left: 24%; background: rgba(230, 241, 236, .22); animation-delay: -4.6s; }

    @keyframes breathe {
      0%, 100% { transform: scale(1); opacity: .45; }
      50% { transform: scale(1.12); opacity: .75; }
    }

    /* Sparkles */
    .sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
    .sparkle {
      position: absolute;
      border-radius: 50%;
      background: #fff;
      opacity: 0;
      animation: twinkle ease-in-out infinite;
    }
    @keyframes twinkle {
      0%, 100% { opacity: 0; }
      50% { opacity: .6; }
    }

    /* Hero -> light content transition */
    .hero-fade {
      position: relative;
      height: 120px;
      background: linear-gradient(180deg, #041713, #FAFBF9);
    }
    .hero-fade::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: rgba(255, 255, 255, .1);
    }

    /* Raised white query card */
    .query-card {
      position: relative;
      z-index: 5;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow-raised);
      padding: 16px;
      max-width: 640px;
    }

    .query-form { display: flex; gap: 10px; }

    .query-input {
      flex: 1;
      min-width: 0;
      min-height: 48px;
      padding: 10px 14px;
      font-family: inherit;
      font-size: 16px;
      color: var(--ink);
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }
    .query-input::placeholder { color: var(--ink-3); }
    .query-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2); text-align: left; }

    .hero-micro {
      margin: 14px 0 0;
      font-size: 11px;
      letter-spacing: .01em;
      color: rgba(255, 255, 255, .72);
    }

    /* ============================================================
       8. Demo result card (inline expansion)
       ============================================================ */
    .demo-card {
      margin-top: 12px;
      max-width: 640px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow-raised);
      padding: 20px;
    }

    .demo-note { margin: 0 0 16px; font-size: 12px; color: var(--ink-3); }

    .demo-content { display: none; }
    .demo-card.is-loaded .demo-content { display: block; }

    .demo-body { display: flex; align-items: center; gap: 28px; }

    /* Skeleton state */
    .demo-skeleton { display: none; align-items: center; gap: 28px; }
    .demo-card.is-loading .demo-skeleton { display: flex; }

    .sk-ring { width: 120px; height: 120px; flex: none; transform: rotate(-90deg); }
    .sk-track { fill: none; stroke: var(--skeleton); stroke-width: 10; }
    .sk-progress {
      fill: none;
      stroke: var(--proceed);
      stroke-width: 10;
      stroke-linecap: round;
      stroke-dasharray: 72 28;
      stroke-dashoffset: 100;
      animation: ring-draw .6s ease-out forwards;
    }

    @keyframes ring-draw { to { stroke-dashoffset: 0; } }

    .sk-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
    .sk-lines span { display: block; height: 12px; border-radius: 6px; background: var(--skeleton); }
    .sk-lines .sk-title { height: 16px; width: 90px; background: var(--line); margin-bottom: 4px; }
    .sk-lines span:nth-child(2) { width: 100%; }
    .sk-lines span:nth-child(3) { width: 94%; }
    .sk-lines span:nth-child(4) { width: 88%; }
    .sk-lines span:nth-child(5) { width: 96%; }
    .sk-lines span:nth-child(6) { width: 90%; }

    /* Risk ring — memory point */
    .demo-ring-wrap { position: relative; width: 120px; height: 120px; flex: none; }
    .ring { width: 120px; height: 120px; display: block; transform: rotate(-90deg); }
    .ring-track { fill: none; stroke: var(--line); stroke-width: 10; }
    .ring-progress {
      fill: none;
      stroke: var(--proceed);
      stroke-width: 10;
      stroke-linecap: round;
      stroke-dasharray: 72 28;
      stroke-dashoffset: 0;
    }

    .ring-center {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .score { font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); }
    .ring-label { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

    .demo-checks { flex: 1; min-width: 0; }
    .demo-checks-title {
      margin: 0 0 10px;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--ink-3);
    }

    .check-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px 16px;
    }
    .check-list li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--ink-2);
    }
    .check-list li .icon { width: 16px; height: 16px; color: var(--proceed); }

    .demo-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
      padding: 6px 0;
      font-weight: 600;
      font-size: 15px;
      color: var(--ink);
      text-decoration: none;
    }
    .demo-link:hover { text-decoration: underline; }
    .demo-link .icon { width: 16px; height: 16px; }
    .demo-verdict { margin-top: 14px; padding: 10px 14px; border: 1px solid var(--ink-3); border-radius: 8px; font-weight: 600; font-size: 15px; }

    /* ============================================================
       9. Trust bar
       ============================================================ */
    .trust-bar {
      background: #fff;
      border-bottom: 1px solid var(--line);
      padding: 20px 0;
    }
    .trust-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px 28px;
      flex-wrap: wrap;
    }
    .trust-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink-2);
      font-size: 14px;
      padding: 8px 0;
    }
    .trust-item .icon { color: var(--ink-3); }
    .trust-item a { font-weight: 600; text-decoration: none; }
    .trust-item a:hover { text-decoration: underline; }

    /* ============================================================
       10. How it works
       ============================================================ */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

    .step {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow-card);
      padding: 28px 24px;
    }
    .step-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 10px;
      color: var(--ink);
      background: var(--bg);
      border: 1px solid var(--line);
      margin-bottom: 16px;
    }
    .step-icon .icon { width: 22px; height: 22px; }

    .step-num {
      display: block;
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--ink-3);
    }
    .step h3 { margin-bottom: 8px; }
    .step p { margin: 0; font-size: 15px; color: var(--ink-2); }

    /* ============================================================
       11. Pricing
       ============================================================ */
    .pricing { background: var(--bg); }
    .pricing-note { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: stretch;
    }

    .card {
      position: relative;
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow-card);
      padding: 28px 24px;
    }
    .card h3 { margin-bottom: 4px; }

    .price { font-size: 32px; font-weight: 700; color: var(--ink); margin: 4px 0 20px; }
    .price span { font-size: 14px; font-weight: 400; color: var(--ink-3); }

    .card ul {
      list-style: none;
      margin: 0 0 28px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
    .card li .icon { color: var(--proceed); margin-top: 3px; }
    .card .btn { margin-top: auto; }

    /* Recommended card: ink-blue inverted + 3px green bar + badge */
    .card-recommended { background: var(--ink); border-color: var(--ink); }
    .card-recommended::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--proceed);
      border-radius: 12px 12px 0 0;
    }
    .card-recommended h3 { color: #fff; }
    .card-recommended .price { color: #fff; }
    .card-recommended .price span { color: rgba(255, 255, 255, .65); }
    .card-recommended li { color: rgba(255, 255, 255, .85); }
    .card-recommended li .icon { color: #5CC08F; }
    .card-recommended .btn-primary {
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    }

    .badge {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      margin-bottom: 12px;
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: #fff;
      background: var(--proceed);
      border-radius: 999px;
    }

    /* Monitoring secondary row */
    .monitoring {
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: var(--shadow-card);
      padding: 20px 24px;
    }
    .monitoring-main {
      display: flex;
      align-items: baseline;
      gap: 8px 20px;
      flex-wrap: wrap;
      flex: 1;
      min-width: 0;
    }
    .monitoring-title { font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; }
    .monitoring-price { color: var(--ink); font-weight: 700; font-size: 20px; }
    .monitoring-price span { font-size: 13px; font-weight: 400; color: var(--ink-3); }
    .monitoring-list { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
    .monitoring-list li { display: inline; }
    .monitoring-list li + li::before { content: " · "; color: var(--ink-3); }
    .monitoring .btn { flex: none; }

    /* ============================================================
       12. FAQ
       ============================================================ */
    .faq { max-width: 720px; }
    .faq details {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      margin-bottom: 12px;
    }
    .faq summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 44px;
      padding: 18px 20px;
      font-weight: 600;
      color: var(--ink);
      cursor: pointer;
      list-style: none;
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after {
      content: "+";
      flex: none;
      font-size: 20px;
      font-weight: 400;
      line-height: 1;
      color: var(--ink-3);
      transition: transform .15s ease;
    }
    .faq details[open] summary::after { transform: rotate(45deg); }
    .faq-body { padding: 0 20px 18px; font-size: 15px; color: var(--ink-2); }
    .faq-body p { margin: 0; }

    /* ============================================================
       13. Footer
       ============================================================ */
    .site-footer {
      background: var(--ink-dark);
      color: rgba(255, 255, 255, .75);
      padding: 56px 0 40px;
    }
    .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      color: #fff;
      text-decoration: none;
      font-weight: 600;
      font-size: 18px;
    }
    .footer-brand .icon { width: 20px; height: 20px; }

    .footer-disclaimers { max-width: 820px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .65); }
    .footer-disclaimers p { margin: 0 0 10px; }
    .footer-disclaimers strong { color: #fff; font-weight: 600; }

    .footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
    .footer-links a {
      color: rgba(255, 255, 255, .8);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 0;
    }
    .footer-links a:hover { color: #fff; }

    .footer-copy { margin: 24px 0 0; font-size: 12px; color: rgba(255, 255, 255, .45); }

    /* ============================================================
       14. Reduced motion
       ============================================================ */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .wave, .glow { animation: none !important; }
      .sparkles { display: none; }
    }

    /* ============================================================
       15. Responsive (768px)
       ============================================================ */
    @media (max-width: 1024px) {
      .section { padding: 64px 0; }
      .hero { min-height: 0; padding: 48px 0 160px; }
      .hero h1 { font-size: 34px; }
      .hero-sub { font-size: 16px; }
      .hero-fade { height: 88px; }

      /* query box stacks */
      .query-form { flex-direction: column; }
      .query-form .btn { width: 100%; }

      /* demo card stacks */
      .demo-body, .demo-skeleton { flex-direction: column; align-items: flex-start; }
      .check-list { grid-template-columns: 1fr; }

      /* steps + pricing stack */
      .steps { grid-template-columns: 1fr; }
      .pricing-grid { grid-template-columns: 1fr; }

      /* monitoring stays one row */
      .monitoring { align-items: flex-start; }
    }
/* Shared localized/core and editorial components; phone defaults. */
.zc-localized .hero{min-height:0;padding-bottom:100px}.zc-localized .hero h1{max-width:850px}.zc-localized .hero p:not(.localized-notice){max-width:760px}.zc-localized .query-card{max-width:850px}.zc-localized .query-card label{display:block;color:#0B3B33;margin-bottom:8px}.zc-localized .query-card p{font-size:14px;color:#3E5A52}.zc-localized .query-form{display:flex;gap:12px}.zc-localized .query-form input{flex:1;min-width:0}.zc-localized .query-form .btn{white-space:normal}.zc-localized .card h2{font-size:24px}.zc-localized .features-grid{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}.zc-localized .card{padding:28px;border:1px solid var(--line);border-radius:12px;background:white}.zc-localized .card p{margin-block:14px}.zc-localized .card .price{font-size:36px;font-weight:700}.zc-localized .card ul{padding-left:22px;flex:1}.zc-localized .card .btn{margin-top:auto}.zc-localized .localized-notice{padding:20px;border-left:4px solid #1B6B4E;background:#edf5f1;color:#0B3B33}.zc-localized #vi-result table{width:100%;border-collapse:collapse}.zc-localized #vi-result th,.zc-localized #vi-result td{padding:12px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.zc-localized #vi-result th{width:50%}.zc-localized .site-footer{margin-top:32px}.zc-localized .hero:has(.query-card) .hero-inner{padding-bottom:24px}
.guides-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}.guide-card{display:flex;flex-direction:column;padding:26px;border:1px solid var(--line,#dce4e9);border-radius:12px;background:#fff;min-width:0}.guide-card h3{font-size:22px;margin:12px 0}.guide-card p{color:#3E5A52}.guide-card>a{margin-top:auto;min-height:44px;display:flex;align-items:center;color:#1B6B4E}.guide-language{font-size:12px;letter-spacing:.06em;color:#1B6B4E}.blog-index .page-head{background:#edf5f1;padding:48px 0}.blog-index .section-head{margin-bottom:24px}
@media(max-width:639px){.zc-localized .query-form{flex-direction:column}.zc-localized .query-form .btn{width:100%}.zc-localized .hero h1{font-size:32px}.zc-localized .hero{padding-bottom:80px}}
@media(min-width:768px){.guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zc-localized .features-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.guides-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.zc-localized .section:has(#vi-result:empty){display:none}.zc-localized .localized-cta{padding-block:32px}.zc-localized .localized-cta .btn{white-space:normal;max-width:100%;text-align:center}.zc-localized .localized-notice{margin-block:32px}
