/* servisyou.ph, the 31 October 2026 design ("Website Assets/README.md").
   Colors and type from the Servisyou design system. Figtree is served from
   this site: no requests to other companies, no cookies, no analytics.
   The values are the mockups' own; pages are built by tools/build_website.py. */

@font-face { font-family: Figtree; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: Figtree; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/figtree-500.woff2") format("woff2"); }
@font-face { font-family: Figtree; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: Figtree; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: Figtree; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/figtree-800.woff2") format("woff2"); }

:root {
  --blue: #1D2F6F;        /* Tiwala Blue: headings, buttons, links, footer */
  --blue-dark: #15224F;   /* links on hover */
  --page: #FBF6EF;        /* Warm White, the page */
  --white: #FFFFFF;       /* cards, raised sections */
  --sunken: #F3EDE4;      /* sunken sections */
  --line: #E2DACE;        /* lines and card borders */
  --outline: #8A8478;     /* outlined button borders */
  --text: #1B1E2C;
  --text-2: #5E5B66;      /* secondary text */
  --panel: #E4E8F4;       /* light blue panels and chips */
  --soon: #8A3D10;        /* "Coming soon" chip, on --soon-bg */
  --soon-bg: #FCE9DC;
  --footer-label: #B9C4EA;
  --footer-line: #3A4C8C;
  --gutter: clamp(16px, 4vw, 40px);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Figtree, "Noto Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
h1 { font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; color: var(--blue); }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; font-weight: 700; }

/* ---- Header (the same on every page) ---- */
.site-header { background: var(--page); border-bottom: 1px solid var(--line); }
.site-header .bar {
  max-width: 1120px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.site-header .logo { display: block; }
.site-header .logo img { height: 36px; width: auto; display: block; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.main-nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 0; }
.main-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.main-nav .get-app {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border: 1px solid var(--outline); border-radius: 999px; background: var(--white);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.main-nav .get-app[aria-current="page"],
.main-nav .get-app[aria-current="page"]:hover { border: 0; background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none; }

/* On phones the links sit behind a Menu button (Rafael, 31 October 2026);
   the computer header stays as it is (from 900 px, where it fits on one
   row with "Help and contact"). Without JavaScript the links stay
   visible, as on a computer. The button is driven by /assets/site.js. */
.menu-button { display: none; }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-menu { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 899px) {
  .js .site-header .main-nav { display: none; }
  .js .menu-button {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px;
    border: 1px solid var(--outline); border-radius: 999px; background: var(--white); color: var(--blue);
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  }
  .js .menu-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .js .site-header.menu-open .main-nav { display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-header.menu-open .main-nav a:not(.get-app) { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .js .site-header.menu-open .main-nav .get-app { align-self: flex-start; margin: 12px 0 4px; font-size: 16px; }
}

/* ---- Sections ---- */
.sec { padding: clamp(40px, 6vw, 72px) var(--gutter); }
.sec-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-sunken { background: var(--sunken); }
.inner { max-width: 1120px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.heading-group { display: flex; flex-direction: column; gap: 8px; }
.muted { margin: 0; color: var(--text-2); }

/* ---- Heroes ---- */
.hero-home { padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(40px, 6vw, 72px); }
.hero { padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(32px, 5vw, 56px); }
.hero-center { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.hero-split .copy { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-split .hero-art { flex: 1 1 320px; max-width: 480px; }
.h1-home { max-width: 820px; font-size: clamp(36px, 5.2vw, 60px); }
.h1-customers { max-width: 760px; font-size: clamp(34px, 4.8vw, 56px); }
.h1-split { font-size: clamp(34px, 4.6vw, 54px); }
.h1-app { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; }
.lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--text-2); }
.lead-640 { max-width: 640px; }
.lead-560 { max-width: 560px; }

.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--panel); color: var(--blue); font-size: 14px; font-weight: 600;
}
.chip-soon { background: var(--soon-bg); color: var(--soon); }
.chip-spaced { letter-spacing: 0.01em; }

/* Buttons: 48 px tall full pills. A long label wraps instead of spilling
   out on a narrow phone; on one line the button is exactly 48 px. */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; text-align: center;
}
.btn-primary, .btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-outline, .btn-outline:hover { border: 1px solid var(--outline); background: var(--white); color: var(--blue); padding: 11px 23px; }

/* ---- Pictures: moving by default, still with reduced motion ---- */
.art { display: block; }
.art img { display: block; width: 100%; height: auto; }
.art-row { width: 100%; margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
/* All five the same size: five across on a computer (up to 216 px each),
   three per row on a tablet, two per row on every phone (Rafael, 31 Oct). */
.art-row > .art { flex: 0 0 calc((100% - 64px) / 5); max-width: 216px; }
@media (max-width: 799px) { .art-row > .art { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 539px) { .art-row > .art { flex-basis: calc((100% - 16px) / 2); } }

/* ---- Cards ---- */
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.cards > * { flex: 1 1 300px; }
.cards.b190 > * { flex-basis: 190px; }
.cards.b230 > * { flex-basis: 230px; }
.cards.b280 > * { flex-basis: 280px; }
/* Four cards in a row on a computer, two on a tablet, one on a phone: never
   three and one (Rafael, 31 Oct: Safety tools, "Paano sumali", "Paano
   magsimula"). */
.cards.four, .step-cards.four { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 540px) { .cards.four, .step-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cards.four, .step-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.sec-white .card { background: var(--page); }
.card h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.icon { color: var(--blue); }
.icon svg { display: block; }

.card.who { padding: 24px; gap: 12px; }
.card.who h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.card.who p { font-size: 16px; line-height: 24px; }
.card.who .more { margin-top: auto; font-weight: 600; padding: 12px 0; }
.icon-circle {
  width: 48px; height: 48px; border-radius: 999px; background: var(--panel); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.note a, .panel p a { font-weight: 600; }

/* What you can book (customers): the twelve tiles in full rows, four across
   on a computer, three on a tablet, two on a phone (launch step 3,
   23 November 2026). */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 540px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: 18px; line-height: 26px; font-weight: 700; }
.tile p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---- Numbered steps ---- */
.num {
  flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps-row { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.steps-row > li { flex: 1 1 260px; display: flex; gap: 16px; align-items: flex-start; }
.steps-row .step-text { display: flex; flex-direction: column; gap: 4px; }
.steps-row h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.steps-row p { margin: 0; color: var(--text-2); }
.step-cards { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.step-cards > li { flex: 1 1 230px; }
.steps5 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.steps5 > li { grid-column: span 2; }
.steps5 > li:nth-child(4) { grid-column: 2 / span 2; }
.steps5 > li:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 760px) {
  .steps5 { grid-template-columns: minmax(0, 1fr); }
  .steps5 > li, .steps5 > li:nth-child(4), .steps5 > li:nth-child(5) { grid-column: auto; }
}

/* ---- Two columns: a heading on one side, a list on the other ---- */
.split2 { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.split2 .intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.ticks { flex: 1 1 460px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.split2.pay .intro { flex-basis: 300px; }
.split2.pay .ticks { flex-basis: 420px; gap: 16px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { flex: none; }
.plain-line { margin: 0; color: var(--text); }

/* ---- Light blue panel (follow us, questions) ---- */
.panel {
  max-width: 760px; margin: 0 auto; background: var(--panel); border-radius: 24px; padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.panel h2 { color: var(--blue); }
.panel p { margin: 0; }
.panel p.muted { color: var(--text-2); }
/* Each platform's name links to its @servisyouph account (31 October 2026). */
.social { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.social li { font-weight: 600; }
.social a { display: inline-block; padding: 12px 0; }

/* ---- Get the app ---- */
.app-main { padding: clamp(40px, 7vw, 88px) var(--gutter); }
.app-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.door-row { width: 100%; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 16px; text-align: left; }
.door {
  flex: 1 1 200px; min-height: 120px; box-sizing: border-box; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text);
}
.door:hover { color: var(--text); }
.door .door-title { font-size: 16px; line-height: 24px; font-weight: 700; }
.door .door-text { font-size: 14px; line-height: 20px; color: var(--text-2); }
.door .door-go { margin-top: auto; font-weight: 600; color: var(--blue); }
/* Google's own badge file, unchanged, with a quarter of its height clear
   around it on the plain page, and Google's attribution line under it
   (Google's badge rules; the print guide). */
.store-badge { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 15px; }
.badge-link { display: block; border-radius: 9px; }
.badge-link img { display: block; height: 60px; width: auto; }
.trademark { margin: 0; font-size: 12px; line-height: 16px; color: var(--text-2); }

/* ---- Footer (the same on every page) ---- */
.site-footer { background: var(--blue); color: var(--white); }
.site-footer .bar { max-width: 1120px; margin: 0 auto; padding: 48px var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.footer-brand { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 56px; width: auto; align-self: flex-start; display: block; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 20px; color: var(--panel); }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.footer-col.contact { flex-basis: 200px; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-label); padding-bottom: 4px; }
.footer-col a, .footer-col a:hover { color: var(--white); text-decoration: none; padding: 6px 0; }
.footer-col a[aria-current="page"], .footer-col a.mail { text-decoration: underline; }
.footer-social { color: var(--panel); padding: 6px 0; }
.footer-col .footer-social a { padding: 0; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--white); }
.footer-copy { margin: 0; padding-top: 16px; border-top: 1px solid var(--footer-line); font-size: 12px; line-height: 16px; color: var(--footer-label); }

/* ---- Text pages: Help, Terms, Privacy, Delete your account ---- */
.doc { padding: clamp(40px, 6vw, 72px) var(--gutter); }
.doc-inner { max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 4.6vw, 44px); line-height: 1.15; margin: 0 0 16px; }
.doc h2 { font-size: clamp(22px, 2.6vw, 26px); line-height: 1.3; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; line-height: 26px; font-weight: 700; margin: 28px 0 8px; }
.doc h4 { font-size: 16px; line-height: 24px; font-weight: 700; margin: 20px 0 6px; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 24px; }
.doc li { margin: 0 0 8px; }
.doc li > ul, .doc li > ol { margin: 8px 0 0; }
.doc p, .doc li, .doc td { overflow-wrap: anywhere; }
.doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; line-height: 20px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--sunken); font-weight: 700; }
.doc blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--line); background: var(--white); }
.doc blockquote > :last-child { margin-bottom: 0; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.doc code { font-size: 0.95em; background: var(--sunken); padding: 1px 4px; border-radius: 4px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 24px; }
.form-card label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form-card label:first-child { margin-top: 0; }
.form-card input, .form-card textarea {
  box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--outline); border-radius: 12px; background: var(--white); color: var(--text); font: inherit;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card input:focus-visible, .form-card textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-card button {
  margin-top: 20px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  background: var(--blue); color: var(--white); font: inherit; font-weight: 600; cursor: pointer;
}
.form-card button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* only bots fill it in */
.notice { padding: 12px 14px; border-radius: 12px; margin-top: 16px; }
.notice.ok { background: #E7F3EA; }
.notice.err { background: #FBE9E7; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Help, policies and contact (/support; Rafael, 31 October 2026) ---- */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) {
  .support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "help contact" "policies contact"; }
  .support-grid .help-card { grid-area: help; }
  .support-grid .contact-card { grid-area: contact; }
  .support-grid .policies-card { grid-area: policies; }
}
.card .card-title { font-size: 20px; line-height: 28px; font-weight: 700; }
.help-card .btn { align-self: flex-start; margin-top: 4px; }
.contact-list, .link-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.contact-list { gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { flex: none; }
.contact-list a { font-weight: 600; }
.link-list a { display: inline-block; font-weight: 600; padding: 12px 0; }

/* ---- The Help's list of questions, built by the legalPage function from
   the Help's own headings (Rafael, 31 October 2026) ---- */
.faq { margin: 8px 0 40px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px 12px; }
.doc .faq h2 { font-size: 20px; line-height: 28px; margin: 12px 0 8px; }
.faq-group { border-top: 1px solid var(--line); }
.faq-group summary {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0;
  cursor: pointer; list-style: none; font-weight: 600; color: var(--blue);
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::before {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 0 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s;
}
.faq-group[open] summary::before { transform: rotate(45deg); }
.faq-group summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.faq-title { flex: 1; }
.faq-count {
  flex: none; box-sizing: border-box; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px;
  background: var(--panel); color: var(--blue); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.doc .faq ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 18px; }
.doc .faq li { margin: 0; }
.faq li a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid var(--line); line-height: 22px; text-decoration: none; }
.faq li a:hover { text-decoration: underline; }
.doc .faq-section { margin: 0; border-top: 1px solid var(--line); }
.faq-section a { display: flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: none; }
.doc .lang-switch { margin: 0 0 16px; }
.doc .back-to-questions { margin: 4px 0 8px; font-size: 14px; line-height: 20px; }
.back-to-questions a { font-weight: 600; }
.doc h2[id], .doc h3[id] { scroll-margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .faq-group summary::before { transition: none; } }

/* News (release 3, 12 November 2026): servisyou.ph/news and each post, served by the newsPage function. */
.news-list { list-style: none; padding: 0; margin: 24px 0 0; }
.doc .news-list li { margin: 0 0 32px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.doc .news-list h2 { margin: 4px 0 8px; }
.doc .news-list h2 a { text-decoration: none; }
.doc .news-date { color: var(--text-2); font-size: 14px; line-height: 20px; margin: 0 0 4px; }
.news-picture { display: block; width: 100%; height: auto; border-radius: 12px; margin: 0 0 24px; }
.doc .news-back { margin: 32px 0 0; font-weight: 600; }
