:root {
  --navy: #0b1d3a;
  --gold: #c69c2d;
  --warm: #f7f5f0;
  --slate: #6b7280;
  --line: #e3e1d9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--navy);
  background: var(--warm);
  font:
    15px/1.6 "Segoe UI",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
  background: var(--navy);
  color: white;
  padding: 10px;
  z-index: 3;
}
.skip:focus {
  top: 10px;
}
header {
  max-width: 1370px;
  margin: auto;
  padding: 25px 50px;
  display: flex;
  align-items: center;
  gap: 55px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  border-radius: 7px;
}
.brand > span {
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 350;
  line-height: 1;
}
.brand b {
  font-weight: 750;
}
.brand small {
  display: block;
  letter-spacing: 2px;
  font-size: 7px;
  color: var(--slate);
  margin-top: 8px;
  font-weight: 650;
}
nav {
  display: flex;
  gap: 29px;
  margin-left: auto;
  font-size: 12px;
  color: var(--slate);
}
nav a:hover {
  color: var(--navy);
}
.login {
  font-size: 12px;
  font-weight: 650;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  white-space: nowrap;
}
.hero {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding: 78px max(50px, calc((100vw - 1270px) / 2)) 82px;
  overflow: hidden;
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 65%, #ffffff04 65% 75%, transparent 75%),
    radial-gradient(ellipse at 85% 5%, #36436050, transparent 65%);
}
.hero > * {
  position: relative;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  margin: 0 0 22px;
  color: #94711e;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8c48c;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.eyebrow > span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
h1 {
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.16;
  letter-spacing: -2px;
  font-weight: 650;
  margin: 0 0 27px;
}
h1 em,
.register-copy em {
  font-style: normal;
  color: #dcc27f;
  font-weight: 350;
}
.lead {
  font-size: 14px;
  line-height: 1.9;
  color: #c3cbda;
  max-width: 485px;
  margin: 0 0 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 0;
  border-radius: 6px;
  padding: 15px 21px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.button.gold {
  background: var(--gold);
  color: var(--navy);
}
.button.gold:hover {
  background: #d6b352;
}
.button.navy {
  background: var(--navy);
  color: #fff;
}
.button.navy:hover {
  background: #17365d;
}
.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
}
.hero-actions .text-link {
  color: #d1d8e3;
}
.hero-note {
  font-size: 10px;
  color: #9ba9bd;
  margin: 22px 0 0;
}
.product-preview {
  background: var(--warm);
  color: var(--navy);
  border: 1px solid #34435d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px #0003;
  transform: translateY(9px);
}
.preview-top {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #142746;
  color: #cbd2df;
  padding: 15px 17px;
  font-size: 8px;
  letter-spacing: 0.9px;
}
.preview-top > span:last-child {
  margin-left: auto;
  border: 1px solid #40506a;
  padding: 2px 6px;
  border-radius: 3px;
}
.preview-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.preview-select {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 11px;
  padding: 17px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.preview-select > div {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 11px;
}
.preview-select small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.7px;
  color: var(--slate);
  margin-bottom: 4px;
}
.preview-select strong {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}
.preview-chart {
  padding: 22px 21px 12px;
  background: #fff;
}
.preview-chart > div > span {
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 1px;
  color: #9a761e;
}
.preview-chart h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin: 7px 0 16px;
}
.preview-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.preview-caption {
  font-size: 8px;
  color: #818899;
  letter-spacing: 0.65px;
  display: block;
  text-align: center;
  margin: 14px 0 2px;
}
.preview-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #faf9f5;
  border-top: 1px solid var(--line);
  padding: 17px 19px;
  gap: 12px;
}
.preview-bottom small {
  display: block;
  font-size: 6px;
  color: #99803e;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.preview-bottom strong {
  font-weight: 500;
  font-size: 9px;
}
.statement {
  max-width: 1270px;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.statement > span:first-child {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #927335;
  white-space: nowrap;
}
.statement p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.statement p b {
  font-weight: 350;
}
.statement-mark {
  font-size: 44px;
  line-height: 1;
  color: #c0b494;
  font-weight: 750;
  letter-spacing: -6px;
  padding-right: 8px;
}
.section {
  max-width: 1270px;
  margin: auto;
  padding: 78px 0;
}
.section-heading {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px;
}
.section h2 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 0;
}
.section-heading > .eyebrow {
  margin-bottom: 20px;
}
.section-heading > p {
  max-width: 370px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--slate);
  margin: 0 0 3px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}
.tool-primary,
.tool-stack article {
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.number {
  font-size: 10px;
  letter-spacing: 1px;
  color: #9a761e;
  display: block;
  margin-bottom: 26px;
}
.tool-grid h3 {
  font-weight: 550;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin: 0 0 17px;
}
.tool-grid p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.9;
  max-width: 460px;
  margin: 0;
}
.tool-stack {
  display: grid;
  gap: 22px;
}
.tool-stack article {
  padding: 27px 30px;
}
.tool-stack .number {
  margin-bottom: 14px;
}
.tool-stack h3 {
  font-size: 23px;
}
.tool-stack small {
  display: block;
  margin-top: 14px;
  color: #8c8f96;
  font-size: 10px;
  line-height: 1.8;
}
.method-rows {
  margin-top: 31px;
  border-top: 1px solid var(--line);
}
.method-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.method-rows b {
  font-weight: 600;
}
.method-rows span {
  font-size: 10px;
  color: var(--slate);
  text-align: right;
}
.steps {
  border-block: 1px solid var(--line);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.steps-grid article {
  border-top: 2px solid #d0b56a;
  padding-top: 20px;
}
.steps-grid span {
  font-size: 11px;
  color: #94711e;
  letter-spacing: 1px;
}
.steps-grid h3 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 16px 0 13px;
}
.steps-grid p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--slate);
  margin: 0;
  max-width: 330px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.plan-grid article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 35px 37px;
}
.trial-plan {
  background: white;
  border-top: 3px solid var(--gold) !important;
}
.plan-grid h3 {
  font-size: 27px;
  letter-spacing: -0.7px;
  margin: 0 0 17px;
  font-weight: 600;
}
.plan-grid p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--slate);
  margin: 0;
}
.plan-grid ul {
  list-style: none;
  padding: 17px 0 22px;
  font-size: 12px;
  line-height: 2.5;
  margin: 0;
}
.plan-grid li:before {
  content: "✓";
  color: #a48025;
  margin-right: 10px;
}
.trial-plan > .button {
  display: flex;
  width: 100%;
}
.trial-plan > small {
  display: block;
  font-size: 10px;
  color: var(--slate);
  text-align: center;
  margin-top: 14px;
}
.member-plan {
  background: #eceae3;
}
.member-plan > .eyebrow {
  display: block;
  margin-bottom: 22px;
}
.plan-note {
  border-top: 1px solid #d3d0c6;
  padding-top: 23px;
  margin-top: 27px;
}
.plan-note > span {
  font-size: 11px;
  color: var(--slate);
  display: block;
}
.plan-note b {
  font-size: 21px;
  font-weight: 500;
  display: block;
  margin: 7px 0 10px;
}
.plan-note > p {
  font-size: 10px !important;
}
.registration {
  max-width: none;
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px max(50px, calc((100vw - 1270px) / 2));
}
.registration .eyebrow {
  color: #d3b965;
}
.register-copy h2 {
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -1.4px;
}
.register-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #bbc7da;
  max-width: 420px;
  margin: 25px 0 0;
}
.privacy-note {
  border-top: 1px solid #31415b;
  margin-top: 32px;
  padding-top: 23px;
  max-width: 420px;
}
.privacy-note > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #c7ad67;
}
.privacy-note > p {
  font-size: 11px;
  color: #a3b1c5;
  line-height: 1.9;
  margin-bottom: 0;
}
.register-card {
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 34px;
}
.register-card h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.register-card form > p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--slate);
  margin: 0 0 24px;
}
.register-card label:not(.consent) {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: #4d5d72;
  margin-bottom: 18px;
}
.register-card input:not([type="checkbox"]),
.register-card select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce0e5;
  border-radius: 5px;
  padding: 11px 12px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
}
.consent {
  display: flex;
  gap: 10px;
  font-size: 10px;
  color: var(--slate);
  line-height: 1.8;
  margin: 21px 0;
}
.consent input {
  flex: none;
  width: 15px;
  height: 15px;
  accent-color: var(--navy);
  margin: 3px 0 0;
}
.register-card .button {
  width: 100%;
}
.register-card form > small {
  display: block;
  text-align: center;
  color: var(--slate);
  font-size: 9px;
  line-height: 1.8;
  margin-top: 13px;
}
.trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.register-card .form-error {
  background: #fff1f1;
  color: #a52b3a !important;
  border: 1px solid #efd1d1;
  padding: 12px;
  border-radius: 5px;
  margin: 15px 0 0 !important;
}
.signup-success {
  text-align: center;
  padding: 50px 5px;
}
.signup-success > span {
  display: grid;
  place-items: center;
  background: #edf5ef;
  color: #087f66;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 25px;
  margin: 0 auto 24px;
}
.signup-success > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--slate);
  margin: 22px 0 25px;
}
.signup-success > a {
  font-size: 11px;
  color: #94711e;
}
footer {
  max-width: 1370px;
  margin: auto;
  padding: 28px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
footer .brand > span {
  font-size: 25px;
}
footer p {
  font-size: 10px;
  color: var(--slate);
}
footer p a {
  color: inherit;
  text-decoration: underline;
}
footer > a:last-child {
  font-size: 11px;
  font-weight: 600;
  color: #94711e;
}
@media (max-width: 1380px) {
  .statement,
  .section:not(.registration) {
    margin-inline: 50px;
  }
  .hero,
  .registration {
    padding-inline: 50px;
  }
  .hero {
    gap: 35px;
  }
  .section {
    padding-block: 65px;
  }
}
@media (max-width: 980px) {
  header {
    padding: 21px 30px;
    gap: 27px;
  }
  nav {
    gap: 17px;
    font-size: 11px;
  }
  .hero {
    padding: 55px 30px;
    gap: 28px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.3px;
  }
  .lead {
    font-size: 12px;
  }
  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .button {
    font-size: 11px;
  }
  .preview-bottom strong {
    font-size: 8px;
  }
  .statement,
  .section:not(.registration) {
    margin-inline: 30px;
  }
  .statement {
    gap: 25px;
  }
  .statement p {
    font-size: 17px;
  }
  .section-heading {
    gap: 35px;
  }
  .section h2 {
    font-size: 30px;
  }
  .section-heading > p {
    max-width: 290px;
    font-size: 12px;
  }
  .tool-primary,
  .tool-stack article {
    padding: 25px;
  }
  .tool-grid h3 {
    font-size: 23px;
  }
  .method-rows > div {
    flex-direction: column;
    gap: 6px;
  }
  .method-rows span {
    text-align: left;
  }
  .plan-grid article {
    padding: 28px;
  }
  .registration {
    gap: 35px;
    padding-inline: 30px;
  }
  .register-copy h2 {
    font-size: 38px;
  }
  .register-card {
    padding: 27px;
  }
  .preview-select strong {
    font-size: 9px;
  }
  footer {
    padding-inline: 30px;
  }
  .statement-mark {
    font-size: 36px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 19px 20px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .brand > span {
    font-size: 27px;
  }
  header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  header .login {
    margin-left: auto;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 22px 44px;
    gap: 35px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -1.4px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .lead {
    max-width: 440px;
    font-size: 13px;
  }
  .hero-actions {
    gap: 25px;
  }
  .product-preview {
    transform: none;
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .preview-chart h2 {
    font-size: 18px;
  }
  .preview-select strong {
    font-size: 11px;
  }
  .preview-bottom strong {
    font-size: 9px;
  }
  .statement,
  .section:not(.registration) {
    margin-inline: 22px;
  }
  .statement {
    padding: 27px 0;
    align-items: start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .statement > span:first-child {
    width: 100%;
  }
  .statement p {
    font-size: 17px;
    flex: 1;
  }
  .statement-mark {
    font-size: 30px;
  }
  .section {
    padding-block: 44px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading > .eyebrow {
    margin-bottom: 17px;
  }
  .section h2 {
    font-size: 30px;
  }
  .section-heading > p {
    margin-top: 22px;
    max-width: 440px;
    line-height: 1.9;
  }
  .tool-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tool-stack {
    gap: 16px;
  }
  .tool-primary,
  .tool-stack article {
    padding: 25px;
  }
  .tool-primary h3 {
    font-size: 25px;
  }
  .method-rows > div {
    flex-direction: row;
    gap: 15px;
    font-size: 11px;
  }
  .method-rows span {
    text-align: right;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 26px;
  }
  .steps-grid h3 {
    margin: 10px 0;
  }
  .steps-grid p {
    max-width: none;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plan-grid article {
    padding: 28px;
  }
  .plan-grid h3 {
    font-size: 25px;
  }
  .registration {
    grid-template-columns: 1fr;
    padding: 44px 22px;
    gap: 30px;
  }
  .register-copy h2 {
    font-size: 39px;
  }
  .register-copy > p:not(.eyebrow) {
    max-width: none;
  }
  .privacy-note {
    margin-top: 22px;
    max-width: none;
  }
  .register-card {
    padding: 27px 23px;
  }
  .register-card h3 {
    font-size: 24px;
  }
  footer {
    padding: 25px 22px;
    flex-wrap: wrap;
    gap: 20px;
  }
  footer p {
    order: 3;
    width: 100%;
    margin: 0;
    font-size: 9px;
  }
  footer > a:last-child {
    margin-left: auto;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- FinBase v2: đăng ký bằng Google ---- */
.google-start h3 {
  margin-top: 0;
}
.google-start .button {
  margin: 6px 0 20px;
}
.mini-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mini-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.mini-steps b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f7f5f0;
  border: 1px solid #e5e4df;
  font-size: 12px;
}
