/* TamarawGO public site: the brand's yellow and navy, low-poly art style. */
:root {
  --yellow: #FECD0E;
  --yellow-light: #FFE45C;
  --amber: #FEAE0A;
  --navy: #0C2737;
  --navy-2: #1B3A52;
  --charcoal: #253745;
  --cream: #FDEFD4;
  --paper: #FFFBF0;
  --orange: #FD9C19;
  --muted: #4A5D6E;
  --radius: 14px;
  --facet: polygon(0 8%, 8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Headings carry the wordmark's heavy italic. */
h1, h2, h3, .display {
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font-weight: 900; font-style: italic; font-size: 1.35rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; font-weight: 700; font-size: .95rem; }
.nav a { text-decoration: none; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover { border-color: var(--navy); }
@media (max-width: 760px) { .nav { display: none; } }

/* Sections with low-poly backgrounds */
.poly-yellow { background: var(--yellow) url("poly-yellow.svg") center / cover no-repeat; }
.poly-navy { background: var(--navy) url("poly-navy.svg") center / cover no-repeat; color: #fff; }
.poly-cream { background: var(--cream) url("poly-cream.svg") center / cover no-repeat; }
section { padding-block: clamp(56px, 8vw, 96px); }

/* Hero */
.hero { padding-block: 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
/* One word, like the banner: speed lines, "Tamaraw" in navy, "GO" in deep gold. */
.wordmark { font-size: clamp(2.4rem, 7.4vw, 5.4rem); margin-bottom: .15em; white-space: nowrap; }
.wordmark .go { color: var(--amber); padding-right: .06em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark .go { background: linear-gradient(180deg, #F9B800 0%, #E58A00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.wordmark .speed { display: inline-block; width: .8em; height: .45em; margin-right: .08em; vertical-align: .08em; }
.tagline { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin-bottom: 1.4em; }
@media (max-width: 860px) { .tagline { justify-content: center; } }
.tagline span + span::before { content: "\2022"; margin-right: 14px; }
@media (max-width: 480px) {
  .tagline { font-size: .74rem; letter-spacing: .05em; gap: 6px 9px; flex-wrap: nowrap; }
  .tagline span { white-space: nowrap; }
  .tagline span + span::before { margin-right: 9px; }
  .hero-art { width: min(300px, 76vw); }
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; max-width: 34em; }
@media (max-width: 860px) { .lead { margin-inline: auto; } }
.hero-art { position: relative; justify-self: center; width: min(440px, 80vw); }
.hero-art img { position: relative; filter: drop-shadow(0 18px 24px rgba(12, 39, 55, .25)); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
@media (max-width: 860px) { .actions { justify-content: center; } }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; text-decoration: none;
  clip-path: var(--facet);
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-light); }
.btn-outline { background: rgba(255, 255, 255, .55); color: var(--navy); }
.btn[aria-disabled="true"] { cursor: default; opacity: .9; }
.btn small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.btn .stack { line-height: 1.15; text-align: left; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; padding: 26px 24px; clip-path: var(--facet);
  box-shadow: 0 1px 0 rgba(12, 39, 55, .06);
}
.card p { color: var(--muted); margin: 0; }
.poly-navy .card { background: rgba(255, 255, 255, .07); }
.poly-navy .card p { color: rgba(255, 255, 255, .82); }
.badge {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--yellow); color: var(--navy); font-weight: 900; font-style: italic; font-size: 1.5rem;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}
.fact { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; font-style: italic; color: var(--yellow); line-height: 1.1; margin-bottom: 8px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.poly-navy .section-head p { color: rgba(255, 255, 255, .82); }
.kicker { display: inline-block; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; padding: 4px 10px; background: var(--navy); color: var(--yellow); clip-path: var(--facet); }
.poly-navy .kicker, .poly-yellow .kicker { background: var(--yellow); color: var(--navy); }
.poly-yellow .kicker { background: var(--navy); color: var(--yellow); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; background: var(--yellow);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}
.poly-yellow .ticks li::before { background: var(--navy); }
.banner { clip-path: var(--facet); overflow: hidden; }

/* Safety note */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff;
  border-left: 6px solid var(--orange); font-weight: 600;
}

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); padding-block: 48px 32px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer .brand span { color: #fff; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { text-decoration: none; font-weight: 700; color: #fff; }
.site-footer nav a:hover { color: var(--yellow); }
/* The BIR badge sits on white, at a size a phone camera can read. */
.site-footer .bir-seal { grid-column: 1 / -1; }
.site-footer .bir-seal p { margin: 0 0 10px; font-size: .9rem; }
.site-footer .bir-seal a { display: block; width: min(720px, 100%); background: #fff; border-radius: 12px; padding: 10px; }
.site-footer .bir-seal img { width: 100%; height: auto; image-rendering: -webkit-optimize-contrast; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .85rem; color: rgba(255, 255, 255, .65); }

/* Long-form pages (privacy, terms, account deletion) */
.page-head { padding-block: 0 48px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose { background: #fff; padding: clamp(24px, 4vw, 48px); margin-block: -24px 72px; clip-path: var(--facet); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #22384A; }
.draft { background: #FFF3DC; border-left: 6px solid var(--orange); padding: 14px 18px; margin-bottom: 28px; font-weight: 600; }
.updated { font-weight: 700; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { font-weight: 700; display: grid; gap: 6px; }
.form input, .form textarea {
  font: inherit; font-weight: 500; padding: 12px 14px; border: 2px solid #D5DEE6; border-radius: 10px; background: #fff; color: var(--navy);
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--yellow); border-color: var(--navy); }
.form .hint { font-weight: 500; color: var(--muted); font-size: .9rem; }
.form .error { color: #B42318; font-weight: 600; font-size: .9rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { background: #E8F7EE; border-left: 6px solid #1F9D55; padding: 16px 18px; font-weight: 600; margin-bottom: 24px; }
