/*
Theme Name: Tuvo Pay
Theme URI: https://tuvopay.com/
Author: Tuvo Pay
Description: A simple, local-first product theme for Tuvo Pay.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tuvo-pay
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --navy: #0c2b52;
  --aqua: #00b9d4;
  --blue: #008ac4;
  --ink: #173553;
  --muted: #62788a;
  --paper: #ffffff;
  --soft: #f3f8fa;
  --line: #dbe6eb;
  --content: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.05em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 10px; left: 10px; z-index: 10; width: auto; height: auto; margin: 0; padding: 10px 14px; overflow: visible; clip: auto; color: #fff; background: var(--navy); }

.section-inner, .nav-wrap { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.site-header { padding: 25px 0; border-bottom: 1px solid #eef3f5; background: #fff; }
.nav-wrap { display: flex; align-items: center; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; }
.brand img, .custom-logo-link img { display: block; width: 112px; height: auto; max-height: 34px; object-fit: contain; }

.hero { background: #fff; }
.hero-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(38px, 7vw, 84px); padding: 82px 0 90px; }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 490px; margin-bottom: 20px; font-size: clamp(3.05rem, 5.4vw, 5.25rem); line-height: .98; }
.hero-copy > p:not(.eyebrow) { max-width: 440px; margin-bottom: 28px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 12px 19px; border-radius: 7px; color: #fff; background: var(--navy); font-size: .9rem; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--blue); transform: translateY(-1px); }
.hero-image { margin: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 18px 42px rgba(12, 43, 82, .12); }
.hero-image img { width: 100%; height: auto; }

.essentials { padding: 86px 0 94px; border-top: 1px solid var(--line); background: var(--soft); }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-intro .eyebrow { margin: 0; }
.section-intro h2 { max-width: 580px; margin: 0; font-size: clamp(2.15rem, 3.8vw, 3.75rem); line-height: 1.04; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.feature-list article { padding-top: 19px; border-top: 2px solid var(--aqua); }
.feature-list span { display: block; margin-bottom: 28px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.feature-list h3 { margin-bottom: 11px; font-size: 1.35rem; line-height: 1.14; }
.feature-list p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.58; }

.local-note { padding: 89px 0; background: #fff; }
.local-note-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.local-note h2 { max-width: 410px; margin: 0; font-size: clamp(2.15rem, 3.8vw, 3.75rem); line-height: 1.04; }
.local-note-inner > p { max-width: 445px; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.62; }

.closing { padding: 69px 0; border-top: 1px solid var(--line); background: #f7fbfc; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing h2 { margin: 0; font-size: clamp(2rem, 3.25vw, 3.2rem); line-height: 1.05; }

.site-footer { padding: 20px 0; color: #718596; border-top: 1px solid var(--line); background: #fff; font-size: .72rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; margin: 0; padding: 0; list-style: none; font-size: .72rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }

.intro { padding: 100px 0; }
.intro h1 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); }
.intro-copy { max-width: 680px; color: var(--muted); font-size: 1rem; line-height: 1.65; }

@media (max-width: 760px) {
  .section-inner, .nav-wrap { width: min(calc(100% - 34px), var(--content)); }
  .site-header { padding: 19px 0; }
  .brand img, .custom-logo-link img { width: 100px; max-height: 30px; }
  .hero-inner, .section-intro, .local-note-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-inner { padding: 57px 0 60px; }
  h1 { font-size: clamp(2.9rem, 13vw, 4.35rem); }
  .hero-image { order: 2; }
  .essentials, .local-note { padding: 64px 0; }
  .section-intro { margin-bottom: 36px; }
  .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .feature-list span { margin-bottom: 12px; }
  .closing { padding: 52px 0; }
  .closing-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
