/* KymViet — Thư Ngỏ Hợp Tác / Letter of Intent.
   Dùng chung tokens + nav của go.css. File này chỉ chứa style riêng phần nội dung thư,
   prefix .tn- và scope trong body.kv-tn-page để không xung đột với trang /go/. */

.kv-tn-page { background: var(--cream); }

.tn-ribbon { height: 4px; background: var(--brand-gradient); }

/* ── HERO / LETTERHEAD ── */
.tn-hero { padding: 64px var(--pad-x) 40px; position: relative; overflow: hidden; }
.tn-hero::before {
  content: ''; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(5,175,155,.12) 0%, transparent 68%); pointer-events: none;
}
.tn-hero::after {
  content: ''; position: absolute; bottom: -120px; left: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(252,185,65,.12) 0%, transparent 68%); pointer-events: none;
}
.tn-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.tn-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--grey-line); background: #fff; color: var(--teal);
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 26px;
}
.tn-tag i { font-size: 13px; }
.tn-hero h1 { font-size: 46px; font-weight: 600; color: var(--ink); line-height: 1.14; margin-bottom: 18px; letter-spacing: -.5px; }
.tn-hero h1 em { color: var(--teal); font-style: italic; font-weight: 400; display: block; font-size: 26px; margin-top: 12px; letter-spacing: 0; }
.tn-to { font-size: 17px; color: var(--muted); font-weight: 500; }
.tn-to strong { color: var(--ink); font-weight: 600; }

/* ── LETTER BODY ── */
.tn-letter { padding: 8px var(--pad-x) 40px; position: relative; }
.tn-doc {
  background: #fff; max-width: 900px; margin: 0 auto;
  border: 1px solid var(--grey-line); border-radius: 6px;
  box-shadow: 0 20px 60px rgba(32,32,32,.06); overflow: hidden;
}
.tn-doc-top { height: 6px; background: var(--brand-gradient); }
.tn-body { padding: 48px clamp(24px, 5vw, 64px); }
.tn-body p { font-size: 18.5px; line-height: 1.9; color: var(--ink2); margin-bottom: 22px; font-weight: 500; }
.tn-body p.tn-lead { font-size: 20px; color: var(--ink); font-weight: 500; }
.tn-body strong { color: var(--ink); font-weight: 600; }
.tn-mission { display: inline-block; background: var(--teal-pale); color: var(--teal-dark); font-weight: 600; font-style: italic; padding: 2px 8px; border-radius: 4px; }

.tn-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin: 40px 0 18px; display: flex; align-items: center; gap: 10px;
}
.tn-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

/* benefit cards */
.tn-benefits { display: grid; gap: 16px; margin: 8px 0; }
.tn-benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border: 1px solid var(--grey-line); border-radius: 8px;
  background: var(--cream); transition: transform .2s, box-shadow .2s;
}
.tn-benefit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(32,32,32,.07); }
.tn-benefit-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 22px; }
.tn-benefit:nth-child(1) .tn-benefit-ic { background: var(--teal); }
.tn-benefit:nth-child(2) .tn-benefit-ic { background: var(--gold); }
.tn-benefit:nth-child(3) .tn-benefit-ic { background: var(--green); }
.tn-benefit h4 { font-size: 17.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.tn-benefit p { font-size: 16px; line-height: 1.72; color: var(--muted); margin: 0; font-weight: 500; }

/* idea list */
.tn-ideas { list-style: none; margin: 6px 0; display: grid; gap: 14px; }
.tn-ideas li {
  position: relative; padding: 17px 20px 17px 54px;
  border-left: 3px solid var(--teal); background: var(--teal-pale);
  border-radius: 0 8px 8px 0; font-size: 16.5px; line-height: 1.72; color: var(--ink2); font-weight: 500;
}
.tn-ideas li::before { content: '\ea67'; font-family: 'tabler-icons'; position: absolute; left: 18px; top: 17px; color: var(--teal); font-size: 20px; }
.tn-ideas li strong { display: block; color: var(--ink); margin-bottom: 3px; font-weight: 600; }

/* recognition */
.tn-recog {
  margin: 34px 0 8px; padding: 24px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-pale), #fff); border: 1px solid var(--gold-light);
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
}
.tn-recog-lead { font-weight: 600; color: var(--ink); font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.tn-recog-lead i { color: var(--gold); font-size: 22px; }
.tn-recog-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.tn-badge { background: #fff; border: 1px solid var(--grey-line); border-radius: 100px; padding: 7px 15px; font-size: 13px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; gap: 7px; }
.tn-badge i { color: var(--teal); font-size: 16px; }

/* signature */
.tn-sign { margin-top: 40px; padding-top: 28px; border-top: 2px dashed var(--grey-line); }
.tn-sign-close { font-size: 18px; line-height: 1.85; color: var(--ink2); margin-bottom: 20px; font-weight: 500; }
.tn-sign-regards { font-style: italic; color: var(--muted); margin-bottom: 18px; }
.tn-sign-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.tn-sign-role { font-size: 14px; color: var(--muted); margin-top: 3px; }
.tn-sign-org { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-dark); margin-top: 10px; }

/* download row */
.tn-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tn-dl {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  border: 1.5px solid var(--teal); color: var(--teal-dark); background: #fff;
  padding: 12px 20px; border-radius: 4px; font-weight: 600; font-size: 14.5px; transition: all .2s;
}
.tn-dl:hover { background: var(--teal); color: #fff; }
.tn-dl i { font-size: 19px; }

/* contact */
.tn-contact { background: var(--ink); color: #fff; padding: 52px var(--pad-x); }
.tn-contact-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.tn-contact h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; line-height: 1.25; }
.tn-contact h3 em { color: var(--gold); font-style: italic; font-weight: 400; }
.tn-contact p { color: rgba(255,255,255,.78); font-size: 16.5px; line-height: 1.7; margin-bottom: 22px; font-weight: 500; }
.tn-contact-list { list-style: none; display: grid; gap: 15px; }
.tn-contact-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,.92); font-weight: 500; }
.tn-contact-list li i { color: var(--teal-light); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.tn-contact-list a { color: rgba(255,255,255,.92); text-decoration: none; transition: color .2s; }
.tn-contact-list a:hover { color: var(--gold); }
.tn-contact-cta {
  display: inline-flex; align-items: center; gap: 9px; background: var(--teal); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 3px; font-weight: 600; font-size: 14px; letter-spacing: .5px; transition: background .2s;
}
.tn-contact-cta:hover { background: var(--teal-dark); }

/* ── FORM ĐỐI TÁC ── */
.tn-form-wrap {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.tn-form-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.tn-form-title::before { content: ''; width: 24px; height: 3px; border-radius: 2px; background: var(--brand-gradient); }
.tn-form { display: grid; gap: 13px; }
.tn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.tn-field { display: grid; gap: 5px; }
.tn-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tn-label b { color: var(--red); font-weight: 700; }
.tn-form input,
.tn-form select,
.tn-form textarea {
  width: 100%; font-family: 'Quicksand', sans-serif; font-size: 14.5px; font-weight: 500; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--grey-line); border-radius: 7px;
  padding: 11px 13px; transition: border-color .2s, box-shadow .2s; outline: none;
}
.tn-form textarea { resize: vertical; min-height: 72px; }
.tn-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234E4E4E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px;
}
.tn-form input:focus,
.tn-form select:focus,
.tn-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(5,175,155,.14); background: #fff; }
.tn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--teal); color: #fff; border: none; cursor: pointer;
  font-family: 'Quicksand', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .3px;
  padding: 13px 22px; border-radius: 7px; margin-top: 3px; transition: background .2s;
}
.tn-submit:hover { background: var(--teal-dark); }
.tn-submit:disabled { opacity: .7; cursor: default; }
.tn-form-msg { font-size: 13.5px; font-weight: 600; margin: 2px 0 0; min-height: 1px; }
.tn-form-msg.ok { color: var(--green); }
.tn-form-msg.err { color: var(--red); }
.tn-contact-info h3 { margin-bottom: 12px; }

@media (max-width: 720px) {
  .tn-hero { padding: 44px var(--pad-x) 28px; }
  .tn-hero h1 { font-size: 32px; }
  .tn-hero h1 em { font-size: 20px; }
  .tn-body { padding: 34px 22px; }
  .tn-body p { font-size: 17px; }
  .tn-body p.tn-lead { font-size: 18px; }
  .tn-ideas li { font-size: 16px; }
  .tn-contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .tn-recog { flex-direction: column; align-items: flex-start; }
  .tn-form-wrap { padding: 22px; }
  .tn-row { grid-template-columns: 1fr; }
}
