/* Franchify Global — site styles (Brand Style Guide, 9 Nov 2026) */
:root {
  --navy-950: #08152B; --navy-900: #0A1D39; --navy-800: #0E2342; --navy-700: #16315A; --navy-600: #234A78;
  --gold-500: #F6CD3C; --gold-600: #E0AD2C; --gold-100: #FEF7E4;
  --white: #FFFFFF; --gray-50: #F7F9FB; --gray-200: #DDE2E9; --gray-500: #74808F; --gray-600: #566173; --gray-800: #2A323E;
  --green-700: #1F7A4D; --danger-600: #C63838;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(14,35,66,.06), 0 8px 24px rgba(14,35,66,.08);
  --shadow-lift: 0 2px 4px rgba(14,35,66,.08), 0 16px 32px rgba(14,35,66,.12);
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--gray-800); background: var(--gray-50); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
h2 { font-size: 36px; }
h3, h4 { line-height: 1.25; font-weight: 700; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid rgba(246,205,60,.7); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.overline { font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-600); margin-bottom: 12px; display: block; }
.lead { font-size: 18px; line-height: 1.65; color: var(--gray-600); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--gray-200); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; color: var(--navy-800); text-decoration: none; font-size: 16px; }
.nav a:hover { color: var(--navy-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy-800); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 12px 22px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 200ms var(--ease), background 200ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 0 rgba(246,205,60,0), 0 8px 24px rgba(246,205,60,.28); }
.btn-gold:hover { background: var(--gold-600); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); }
.nav .btn { padding: 9px 18px; color: var(--white); }

/* Hero */
.hero { background: var(--navy-800); color: var(--white); position: relative; overflow: hidden; padding: 112px 0 120px; }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(246,205,60,.10), rgba(246,205,60,0)); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero .overline { color: var(--gold-500); }
.hero h1 { color: var(--white); font-size: 56px; max-width: 14ch; margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: 36px; }
.bg-white { background: var(--white); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }

.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card.featured { border-top: 3px solid var(--gold-500); }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--gray-600); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gray-50); display: grid; place-items: center; color: var(--navy-800); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; stroke-width: 1.75; }

/* Story callout */
.story { background: var(--navy-800); color: rgba(255,255,255,.85); border-radius: 14px; padding: 40px; }
.story h3 { color: var(--white); font-size: 22px; }
.story .overline { color: var(--gold-500); }
.story p:last-child { margin: 0; }

/* Values */
.values { margin-top: 64px; }
.values h3 { font-size: 22px; margin-bottom: 24px; }
.value { border-left: 3px solid var(--gold-500); padding: 4px 0 4px 20px; }
.value h4 { font-size: 18px; margin-bottom: 4px; }
.value p { color: var(--gray-600); margin: 0; }

/* Journey */
.journey { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 28px 24px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 14px; color: var(--navy-600); display: block; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--gray-600); margin: 0; font-size: 15px; }
.grows { margin-top: 40px; background: var(--gold-100); border-left: 3px solid var(--gold-500); border-radius: 0 14px 14px 0; padding: 28px 32px; max-width: 820px; }
.grows p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--gray-800); }
.grows .grows-line { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy-900); letter-spacing: -0.02em; margin-top: 6px; }

/* Platform (dark) */
.dark { background: var(--navy-800); color: rgba(255,255,255,.82); }
.dark h2, .dark h3 { color: var(--white); }
.dark .overline { color: var(--gold-500); }
.dark .lead { color: rgba(255,255,255,.82); }
.dark .card { background: var(--navy-900); border-color: rgba(255,255,255,.08); box-shadow: none; }
.dark .card p { color: rgba(255,255,255,.72); }
.dark .icon { background: rgba(255,255,255,.06); color: var(--white); }
.functions { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.functions li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--white); }

/* Contact */
.contact-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.field .opt { color: var(--gray-600); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--gray-800); padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(246,205,60,.35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-800); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 24px; font-weight: 600; }
.notice.ok { background: #E8F6EF; color: var(--green-700); }
.notice.err { background: #FBEAEA; color: var(--danger-600); }
.contact-points { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-points li { display: flex; gap: 12px; margin-bottom: 16px; color: var(--gray-600); }
.contact-points svg { flex: none; width: 22px; height: 22px; color: var(--navy-800); stroke-width: 1.75; margin-top: 1px; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.footer-top img { height: 32px; width: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--gray-800); line-height: 1.65; }
.legal .updated { color: var(--gray-600); }

/* Tables (legal pages) */
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--gray-200); line-height: 1.5; }
.legal th { background: var(--gray-50); color: var(--navy-900); font-weight: 600; }
.legal tr:last-child td, .legal tr:last-child th { border-bottom: 0; }
.legal .meta-table th { width: 34%; }
@media (max-width: 560px) { .legal table { display: block; overflow-x: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .journey { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 80px 0 88px; }
  .hero h1 { font-size: 40px; }
  section { padding: 72px 0; }
  h2, .section-head h2 { font-size: 28px; }
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .journey { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav .btn { width: auto; margin-top: 8px; padding: 10px 18px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .journey, .grid-4 { grid-template-columns: 1fr; }
  .contact-card, .story { padding: 28px 22px; }
  .brand img { height: 30px; }
}
