/* Shared brand theme, matched to store.techsusegad.in (September 2026).
   Keep brand values here so future theme changes have a single entry point. */
:root {
  --brand-ink: #172b23;
  --brand-lime: #d5f578;
  --brand-olive: #687e3f;
  --brand-sage: #eef1e7;
  --brand-surface: #ffffff;
  --brand-muted: #626e64;
  --brand-line: #e2e6df;
  --text-muted: var(--brand-muted);
  --accent: var(--brand-olive);
  --accent-soft: var(--brand-sage);
  --teal: var(--brand-olive);
  --teal-dark: #48602e;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 4px 16px rgb(23 43 35 / 4%);
  --shadow-soft: 0 12px 32px rgb(23 43 35 / 8%);
}
body, body.policy-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--brand-surface);
  color: var(--brand-ink);
}
button, input, textarea, select { font: inherit; }
h1, h2, h3, .logo-text-main { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.2; }
.container { max-width: 1240px; }
.brand-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem 2rem; padding: .65rem 1.25rem;
  background: #172b23; color: #e4ebde; font-size: .75rem;
}
.brand-strip strong { font-size: .7rem; letter-spacing: .08em; }
.brand-strip a { color: #d5f578; text-decoration: none; }
body header, body.theme-dark header {
  background: var(--brand-surface); border-bottom: 1px solid var(--brand-line);
  backdrop-filter: none; box-shadow: none;
}
.nav { gap: 1.5rem; min-height: 100px; flex-wrap: wrap; padding-block: 1.25rem; }
.logo-link { gap: .65rem; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 8px; background: #d5f578; color: #172b23;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 29px; font-weight: 800;
  letter-spacing: -.09em; line-height: 1;
}
.brand-mark sup { font-size: 18px; align-self: flex-start; margin-top: 5px; }
body .logo-text-main, body.theme-dark .logo-text-main {
  color: var(--brand-ink); font-size: 1.5rem; letter-spacing: -.065em;
  text-transform: lowercase; font-weight: 800; line-height: 1.25;
}
.brand-dot { color: var(--brand-olive); }
body .logo-text-sub, body.theme-dark .logo-text-sub { color: var(--brand-muted); font-size: .7rem; letter-spacing: .01em; }
.nav-right { flex: 1; justify-content: flex-end; gap: 1rem; }
.nav-links { gap: .95rem; flex-wrap: wrap; justify-content: flex-end; }
body .nav-links a, body.theme-dark .nav-links a { color: var(--brand-ink); font-size: .8rem; }
.nav-links a::after { background: var(--brand-olive); }
.nav-toggle-bar::before, .nav-toggle-bar::after { background: var(--brand-ink); }
body .portal-menu__toggle, body.theme-dark .portal-menu__toggle,
body .theme-toggle, body.theme-dark .theme-toggle {
  background: var(--brand-sage); color: var(--brand-ink); border: 1px solid var(--brand-line);
  border-radius: 6px; min-height: 40px;
}
body .portal-menu__dropdown, body.theme-dark .portal-menu__dropdown,
body .mobile-nav, body.theme-dark .mobile-nav { background: var(--brand-surface); border-color: var(--brand-line); }
body .portal-menu__dropdown a, body.theme-dark .portal-menu__dropdown a,
body .mobile-nav a, body.theme-dark .mobile-nav a { color: var(--brand-ink); }
body .portal-menu__dropdown a:hover, body .portal-menu__dropdown a:focus-visible { background: var(--brand-sage); }
.hero.container {
  max-width: 1200px; margin: 1.75rem auto 2.5rem; padding: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0;
  background: var(--brand-sage); border-radius: 12px; overflow: hidden;
}
.hero > div:first-child { padding: clamp(1.5rem, 3.2vw, 3rem); }
.brand-eyebrow { font-size: .66rem; letter-spacing: .16em; font-weight: 700; margin: 1.3rem 0; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.9rem); line-height: 1.09; font-weight: 700; margin: 1rem 0 1.5rem; }
.hero h1 span { color: var(--brand-olive); background: none; }
.hero-sub { font-size: .97rem; line-height: 1.8; }
body .pill, body.theme-dark .pill { background: transparent; border: 0; padding: 0; color: var(--brand-muted); }
body .badge, body.theme-dark .badge, body .tag, body.theme-dark .tag {
  background: var(--brand-sage); color: var(--brand-ink); border-color: var(--brand-line);
  border-radius: 5px; font-size: .72rem;
}
.hero .badge { background: var(--brand-surface); }
.hero-meta { font-size: .73rem; margin-top: 1.5rem; }
.hero-image {
  position: relative; align-self: stretch; justify-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; min-height: 440px; padding: 2rem;
  background: #172b23; color: #fff;
}
.hero-image-inner { width: 260px; height: 260px; padding: 0; background: transparent; box-shadow: none; }
.hero-image-inner img { border: 0; background: transparent; }
.hero-tagline { align-self: flex-start; padding: 2rem 1rem 0; }
.hero-tagline span { display: block; font-size: .62rem; color: #d5f578; letter-spacing: .12em; margin-bottom: .8rem; }
.hero-tagline strong { display: block; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 2rem; line-height: 1.15; font-weight: 500; letter-spacing: -.05em; }
body .btn, body.theme-dark .btn { border-radius: 6px; box-shadow: none; padding: .85rem 1.2rem; font-size: .82rem; text-decoration: none; }
body .btn-primary, body.theme-dark .btn-primary, body .policy-form button,
body .mobile-nav .mobile-nav-cta { background: #172b23; border-color: #172b23; color: #fff; }
body .btn-primary:hover, body.theme-dark .btn-primary:hover, body .policy-form button:hover { background: #304b3b; color: #fff; }
body .btn-outline, body.theme-dark .btn-outline { background: transparent; border-color: var(--brand-line); color: var(--brand-ink); }
body .btn-outline:hover, body.theme-dark .btn-outline:hover { background: var(--brand-sage); border-color: var(--brand-olive); }
main > section:not(.hero) { padding-block: 2rem; }
body .card, body.theme-dark .card,
body .review-card, body.theme-dark .review-card,
body .social-post, body.theme-dark .social-post,
body .about-card, body.theme-dark .about-card,
body .policy-card, body.theme-dark .policy-card,
body .portfolio-card, body.theme-dark .portfolio-card,
body .portfolio-hero-copy, body.theme-dark .portfolio-hero-copy,
body .portfolio-highlight, body.theme-dark .portfolio-highlight,
body .logbook-box, body.theme-dark .logbook-box,
body #contact-form, body.theme-dark #contact-form {
  background: var(--brand-surface); color: var(--brand-ink);
  border: 1px solid var(--brand-line); border-radius: 10px; box-shadow: none;
}
.card { padding: 1.5rem; }
.card::before { display: none; }
.card h3 { font-size: 1.05rem; letter-spacing: -.025em; }
body .card p, body.theme-dark .card p, body .section-sub,
body .policy-wrapper .section-sub { color: var(--brand-muted); }
body .social-btn, body.theme-dark .social-btn { background: var(--brand-surface); color: var(--brand-ink); border-color: var(--brand-line); box-shadow: none; }
body .form-group label, body.theme-dark .form-group label { color: var(--brand-ink); }
body .form-control, body.theme-dark .form-control,
body #contact-form input, body.theme-dark #contact-form input,
body #contact-form select, body.theme-dark #contact-form select,
body #contact-form textarea, body.theme-dark #contact-form textarea,
body .policy-form input:not([type="checkbox"]), body .policy-form textarea {
  background: var(--brand-sage); color: var(--brand-ink);
  border: 1px solid var(--brand-line); border-radius: 6px; padding: .7rem .8rem;
}
input, select, textarea { accent-color: var(--brand-olive); }
:focus-visible { outline: 3px solid var(--brand-olive); outline-offset: 3px; }
.timeline-item::before { background: var(--brand-olive); box-shadow: 0 0 0 4px var(--brand-sage); }
body .timeline-year, body .store-card .price, body .contact-info a, body .review-source { color: var(--teal-dark); }
body .policy-links-row a { color: var(--brand-muted); }
.policy-links-index { border-top: 1px solid var(--brand-line); padding-block: 2rem; margin-top: 3rem; }
body footer, body.theme-dark footer { background: var(--brand-sage); color: var(--brand-muted); border-color: var(--brand-line); padding: 2rem 1.25rem; }
body #back-to-top, body.theme-dark #back-to-top { background: #172b23; color: #d5f578; border-color: #304b3b; box-shadow: none; }
body.theme-dark {
  --brand-ink: #e6eddf; --brand-surface: #172b23; --brand-sage: #23392c;
  --brand-muted: #b6c3b0; --brand-line: #405343; --brand-olive: #c5e981;
  --teal-dark: #c5e981;
  background: var(--brand-surface); color: var(--brand-ink);
}
body.theme-dark .btn-primary { background: #d5f578; color: #172b23; border-color: #d5f578; }
body.theme-dark .btn-primary:hover { background: #e4ffa0; color: #172b23; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-right { margin-left: auto; flex: 0 1 auto; }
  .nav { flex-wrap: nowrap; }
  .mobile-nav.open { max-height: 70vh; overflow-y: auto; }
}
@media (max-width: 1240px) { .hero.container { margin-inline: 1.25rem; } }
@media (max-width: 760px) {
  .hero.container { grid-template-columns: minmax(0, 1fr); }
  .hero-image { min-height: 320px; flex-direction: row; gap: 1.5rem; padding: 1.5rem; }
  .hero-image-inner { width: 170px; height: 170px; flex-shrink: 0; }
  .hero-tagline { align-self: center; padding: 0; }
  .hero-tagline strong { font-size: 1.7rem; }
  .brand-strip > span { display: none; }
  .nav { min-height: 80px; gap: .65rem; }
  .nav-right { gap: .5rem; }
  body .logo-text-main { font-size: 1.2rem; }
  .brand-mark { width: 32px; height: 34px; font-size: 25px; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); }
}
@media (max-width: 420px) {
  .logo-text-sub { display: none; }
  .nav { padding-inline: .75rem; }
  .hero.container { margin-inline: .75rem; }
  .hero-image { flex-direction: column; }
  .hero-tagline { text-align: center; }
  .brand-strip { gap: .4rem .75rem; font-size: .65rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .form-control { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
