/* dapuways.com. Design source: docs/design/home-approved-2026-10-07.dc.html
   Colors and other repeated values are tokens on :root only (tests/DesignTest.php). */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy: #14284B;
  --navy-deep: #0B1830;
  --orange: #E8734A;          /* lines, the W, icons: 3:1 on white, never small text */
  --coral: #F08A62;           /* accent and buttons on navy: 5.9:1 */
  --orange-display: #E6683C;  /* large accent words: 3:1 on sand, the closest to --orange that passes */
  --orange-text: #A9461F;     /* small text on light backgrounds: 5:1 on peach, 5.5:1 on sand */
  --orange-text-hover: #8F3B1D;

  /* Surfaces */
  --white: #FFFFFF;
  --sand: #FBF6F1;
  --sand-line: #EBDDCB;
  --sand-hover: #F3E7DA;
  --peach: #FDE9DF;

  /* Text */
  --ink: #3B4660;
  --slate: #5A6478;
  --on-navy: #C9D2E3;
  --on-navy-muted: #9FAAC0;
  --on-navy-line: rgba(255, 255, 255, 0.12);
  --on-navy-strong: #D3DAE8;
  --on-navy-panel: rgba(255, 255, 255, 0.06);
  --coral-soft: rgba(240, 138, 98, 0.16);
  --peach-line: #F3C4AE;
  --card-line: #F0E4D6;

  /* Depth */
  --shadow-btn: 0 8px 20px rgba(20, 40, 75, 0.18);
  --shadow-lift: 0 18px 40px rgba(20, 40, 75, 0.14);
  --shadow-warm: 0 10px 30px rgba(184, 78, 40, 0.12);

  /* Shape and space */
  --radius-pill: 999px;
  --radius-icon: 14px;
  --radius-feature: 20px;
  --radius-contact: 22px;
  --radius-card: 28px;
  --radius-product: 36px;
  --radius-hello: 40px;
  --radius-hero: 56px;
  --wrap: 1160px;
  --gutter: 20px;
  --header-gap: 12px 16px;

  /* Type */
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-body: 400;
  --weight-bold: 700;
  --weight-strong: 800;
  --weight-display: 900;
  --size-body: 17px;
  --size-small: 15px;
  --size-xs: 14px;
  --size-h1: clamp(40px, 5.4vw, 68px);
  --size-h2: clamp(30px, 3.6vw, 46px);
  --size-hello: clamp(44px, 6vw, 76px);
  --size-lead: clamp(18px, 1.6vw, 21px);
  --weight-black: 900;

  /* Focus and motion */
  --focus-ring: 3px solid var(--navy);
  --focus-offset: 3px;
  --ease: 0.2s ease;
  --ease-lift: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Short pages keep the footer at the bottom of the screen. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }

a { color: var(--orange-text); }
a:hover { color: var(--orange-text-hover); }
a:focus-visible, button:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

h1 {
  margin: 0;
  font-size: var(--size-h1);
  line-height: 1.04;
  font-weight: var(--weight-display);
  letter-spacing: -0.02em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-weight: var(--weight-strong);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Header */
.site-header { background: var(--sand); }
.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--header-gap);
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header__logo { display: block; line-height: 0; border-radius: 6px; }
.site-header__logo img { height: 32px; width: auto; }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px; order: 3; width: 100%; }
.site-nav__link {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: background var(--ease);
}
.site-nav__link:hover { background: var(--sand-hover); color: var(--navy); }

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-pill);
  font-size: var(--size-xs);
  font-weight: var(--weight-strong);
}
.lang-switch__link {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  text-decoration: none;
}
.lang-switch__link:hover { background: var(--sand-hover); color: var(--navy); }
.lang-switch__link[aria-current="true"] { background: var(--navy); color: var(--white); }

@media (min-width: 900px) {
  .site-nav { order: 0; width: auto; margin-left: auto; }
}

/* Simple pages (privacy, 404) */
.page { padding-top: 56px; padding-bottom: 80px; }
.page p { color: var(--ink); max-width: 640px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: var(--size-small); line-height: 1.7; }
.site-footer__wave { display: block; width: 100%; height: 48px; color: var(--navy); background: var(--white); }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 40px;
}
.site-footer__company { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.site-footer__company img { height: 30px; width: auto; align-self: flex-start; }
.site-footer__company p { margin: 0; }
.site-footer__company strong { color: var(--white); font-weight: var(--weight-strong); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 40px; }
.site-footer__links div { display: flex; flex-direction: column; gap: 4px; }
.site-footer__heading { margin: 0; font-size: var(--size-small); color: var(--white); font-weight: var(--weight-strong); }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--coral); }
.site-footer__legal {
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid var(--on-navy-line);
  font-size: var(--size-xs);
  color: var(--on-navy-muted);
}

/* Shared pieces */
.accent { color: var(--orange-display); }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { margin: 0; font-size: var(--size-xs); font-weight: var(--weight-black); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); }
.lift { transition: transform var(--ease-lift), box-shadow var(--ease-lift); }
.lift:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--size-body);
  font-weight: var(--weight-black);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn); }
.btn--primary, .btn--primary:hover { background: var(--orange); color: var(--navy); }
.btn--outline, .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--navy); font-weight: var(--weight-strong); }
.btn--coral, .btn--coral:hover { background: var(--coral); color: var(--navy); }
.btn--navy, .btn--navy:hover { background: var(--navy); color: var(--white); font-weight: var(--weight-strong); }
.btn--small { padding: 12px 18px; font-size: var(--size-small); }
.btn--coral:focus-visible { outline-color: var(--coral); }

/* Hero */
.hero { background: var(--sand); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 24px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.chip {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px 8px 10px;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-pill);
  font-size: var(--size-small);
  font-weight: var(--weight-strong);
}
.wave-hand { display: inline-flex; color: var(--orange); font-size: 22px; transform-origin: 70% 70%; animation: wave-hand 2.4s ease-in-out infinite; }
@keyframes wave-hand { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.hero__title { font-weight: var(--weight-black); }
.hero__lead { margin: 0; max-width: 540px; font-size: var(--size-lead); color: var(--ink); }
.hero__art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero__panel { width: 100%; max-width: 480px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: var(--peach); border-radius: var(--radius-hero); }
.hero__panel img { width: 62%; height: auto; }

.divider { display: block; width: 100%; height: 64px; color: var(--sand); background: var(--white); }
.divider path { fill: currentColor; }

/* Sections */
.section { display: flex; flex-direction: column; gap: 28px; padding-top: 64px; padding-bottom: 40px; scroll-margin-top: 16px; }
.section--last { padding-bottom: 80px; }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.section__title { margin: 0; font-size: var(--size-h2); line-height: 1.1; font-weight: var(--weight-black); }

/* What we do: the product card */
.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-product);
}
.product__w { position: absolute; right: -30px; bottom: -40px; width: 260px; height: 182px; opacity: 0.16; }
.product__w path, .hello__w path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.product__w { color: var(--coral); }
@media (max-width: 599px) { .product__w { display: none; } }
.product__w path { stroke-width: 22; }
.product__main { position: relative; flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pill { margin: 0; padding: 6px 14px; background: var(--coral-soft); color: var(--coral); border-radius: var(--radius-pill); font-size: 13px; font-weight: var(--weight-black); letter-spacing: 0.08em; text-transform: uppercase; }
.product__logo { margin: 0; line-height: 0; }
.product__logo img { width: clamp(180px, 22vw, 240px); height: auto; }
.product__text { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.65; color: var(--on-navy-strong); }
.product__features { position: relative; flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--on-navy-panel); border-radius: var(--radius-feature); }
.feature__icon { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--coral); color: var(--navy); border-radius: var(--radius-icon); font-size: 22px; }
.feature__title { display: block; font-weight: var(--weight-black); }
.feature__text { display: block; font-size: var(--size-small); line-height: 1.5; color: var(--on-navy); }

/* How we work: value cards on a dashed path */
.values { position: relative; }
.values__path { position: absolute; top: 18px; left: 0; width: 100%; height: 40px; }
.values__path path { fill: none; stroke: var(--peach-line); stroke-width: 5; stroke-linecap: round; }
.dash { stroke-dasharray: 2 16; animation: dash-flow 1.4s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -18; } }
.values__list { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.value { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--white); border: 1.5px solid var(--card-line); border-radius: var(--radius-card); }
.value__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.value__icon--ring { border: 7px solid var(--orange); background: var(--white); }
.value__icon--dot { background: var(--peach); }
.value__icon--dot::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); }
.value__icon--solid { background: var(--orange); }
.value__icon--code { border-radius: 16px; background: var(--navy); color: var(--coral); font-size: 24px; }
.value__title { margin: 0; font-size: 22px; font-weight: var(--weight-black); }
.value__text { margin: 0; color: var(--ink); }

/* Say hello */
.hello {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--peach);
  border-radius: var(--radius-hello);
}
.hello__w { position: absolute; right: -40px; top: -30px; width: 340px; height: 238px; color: var(--white); opacity: 0.35; }
.hello__w path { stroke-width: 24; }
.hello__text { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hello__text p { margin: 0; max-width: 440px; font-size: 18px; color: var(--ink); }
.hello__title { margin: 0; font-size: var(--size-hello); line-height: 1; font-weight: var(--weight-black); letter-spacing: -0.02em; }
.hello__text .hello__sub { font-size: var(--size-small); font-weight: var(--weight-strong); color: var(--orange-text); }
.hello__cards { position: relative; flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-card { padding: 18px 22px; background: var(--white); border-radius: var(--radius-contact); box-shadow: var(--shadow-warm); }
.contact-card--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-right: 18px; }
.contact-card__label { margin: 0; font-size: 13px; font-weight: var(--weight-strong); color: var(--slate); }
.contact-card__value { margin: 0; font-size: 20px; font-weight: var(--weight-black); overflow-wrap: anywhere; }
.contact-card__value--small { font-size: var(--size-body); font-weight: var(--weight-strong); line-height: 1.45; }

/* Long-form pages (privacy) */
.prose h2 { margin: 32px 0 8px; font-size: 22px; font-weight: var(--weight-black); }
.prose__meta { font-size: var(--size-small); color: var(--slate); }
.prose__intro { font-size: var(--size-lead); }

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