/* The Wataka section of rogueparrot.nz (specs/Plan_Company_And_Apps.md 3.3). Wataka keeps its own look: navy and
   orange, the device's own typeface. These rules are Wataka's landing stylesheet (/opt/wataka, 16 November 2026) with
   its own top bar taken out, because here Rogue Parrot's bar and Wataka's bar under it come from css/site.css.

   How the two stylesheets live on one page. A Wataka page takes css/site.css in as the layer "rp" and this file
   unlayered, so wherever both speak this file wins, whatever the selectors. The layer "clear" then wipes every rp
   style from the page below the header, so nothing of the company website's look (its fonts, colours, spacing)
   reaches Wataka's content. The header keeps the rp styles; this file only recolours Wataka's bar. */
@layer rp, clear;
@layer clear {
  body.app-wataka > main, body.app-wataka > main *, body.app-wataka > main *::before, body.app-wataka > main *::after,
  body.app-wataka > footer, body.app-wataka > footer *, body.app-wataka > footer::before, body.app-wataka > footer *::before, body.app-wataka > footer *::after { all: revert; }
}

/* Wataka's colours and sizes are set on its own parts of the page only, never on the root, so Rogue Parrot's bar
   keeps its own (the two stylesheets share names such as orange and gutter). */
body.app-wataka .app-nav, body.app-wataka > main, body.app-wataka > footer {
  --navy: #10243A;
  --navy-light: #1E3A5C;
  --navy-pale: #F1F4F8;
  --navy-mid: #C9D3DF;
  --orange: #E8772E;
  --orange-dark: #C85F1B;
  --off-white: #FAFBFC;
  --text-primary: #10243A;
  --text-secondary: #33475C;
  --text-muted: #5F7186;
  --border: #D9E0E8;
  --surface: #ffffff;
  --gutter: 2.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--font);
}
body.app-wataka { background: #FAFBFC; }
body.app-wataka > main, body.app-wataka > footer { color: var(--text-primary); }
/* Wataka's base rules. :where() keeps each as weak as it is in Wataka's own stylesheet (a bare *, img, a), so every
   rule further down still wins over them exactly as it does there. */
:where(body.app-wataka > main, body.app-wataka > main *, body.app-wataka > footer, body.app-wataka > footer *),
:where(body.app-wataka > main *, body.app-wataka > footer, body.app-wataka > footer *)::before,
:where(body.app-wataka > main *, body.app-wataka > footer, body.app-wataka > footer *)::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(body.app-wataka > main, body.app-wataka > footer) img { max-width: 100%; display: block; }
:where(body.app-wataka > main, body.app-wataka > footer) a { color: var(--orange-dark); }
:where(body.app-wataka > main, body.app-wataka > footer) :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ── WATAKA'S BAR, under Rogue Parrot's: the light bar from css/site.css in Wataka's colours ── */
body.app-wataka .site-head::after { bottom: -4px; height: 4px; background: #E8772E; }
body.app-wataka .app-brand img { height: 30px; margin-right: 0; }
body.app-wataka .app-nav .nav-links > li > a { font-family: var(--font); font-size: 0.92rem; letter-spacing: 0; padding: 0 0.7rem; color: var(--text-primary); }
body.app-wataka .app-nav .nav-links > li > a:hover { color: var(--navy); background: var(--navy-pale); }
body.app-wataka .app-nav .nav-links > li > a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
body.app-wataka .app-nav .nav-right .btn-login { color: var(--navy); border-color: var(--navy); background: none; min-height: 36px; padding: 0.35rem 1.1rem; font-size: 0.88rem; }
body.app-wataka .app-nav .nav-right .btn-login:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
body.app-wataka .app-nav .nav-toggle { color: var(--navy); border-color: var(--navy-mid); }
body.app-wataka .app-nav .nav-links li.co-head { font-family: var(--font); }
/* Wataka's bar has eight links, so it becomes a menu button below 1300px (its own rule of 16 November). Below 900px
   css/site.css does the same for every app's bar and adds Rogue Parrot's links at the foot of the list. */
@media (max-width: 1299px) {
  body.app-wataka .app-nav .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.app-wataka .app-nav .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 14px 30px -12px rgba(16, 36, 58, 0.35);
    padding: 0.5rem var(--gutter) 1rem; max-height: calc(100vh - 122px); overflow: auto;
  }
  body.app-wataka .app-nav .nav-links.open { display: flex; }
  body.app-wataka .app-nav .nav-links > li { position: static; }
  body.app-wataka .app-nav .nav-links > li > a { display: flex; width: 100%; height: auto; min-height: 48px; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  body.app-wataka .app-nav .nav-right { display: none; }
  body.app-wataka .app-nav .nav-links li.login-row { display: block; }
}

/* ── PAGE FRAME ── */
:where(body.app-wataka) > main { display: block; padding-top: 52px; }
@media (max-width: 899px) { :where(body.app-wataka) > main { padding-top: 58px; } }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── INTRO ── */
.intro { position: relative; overflow: hidden; padding: 4rem 0 2.5rem; }
.intro-bg { position: absolute; inset: 0; background: var(--off-white); z-index: 0; }
.intro-bg::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, #E8772E24 0%, transparent 60%);
}
.intro-bg::after {
  content: ''; position: absolute; bottom: -30%; left: -6%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--navy-mid) 0%, transparent 70%); opacity: 0.45;
}
.intro-grid {
  position: absolute; inset: 0; opacity: 0.22;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.intro .wrap { position: relative; z-index: 1; }

h1 { font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 1.25rem; max-width: 32ch; text-wrap: balance; }
h1 .accent { color: var(--orange); }
.lead { font-size: 1.1rem; line-height: 1.7; color: var(--text-secondary); max-width: 640px; text-wrap: pretty; }
.intro-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.hero-shot { position: relative; z-index: 1; margin-top: 3rem; }

/* ── BUTTONS ── */
.btn {
  font-family: var(--font); font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px;
  padding: 0.8rem 1.9rem; border-radius: 4px; border: 1.5px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { background: none; color: var(--text-primary); border-color: var(--text-primary); }
.btn-outline:hover { border-color: var(--navy); color: #fff; background: var(--navy); }

/* ── BLOCKS ── */
.blocks { padding-top: 1.5rem; padding-bottom: 1rem; }
.block { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 2.75rem 0; border-top: 1px solid var(--border); }
.block:first-child { border-top: 0; }
.block:nth-child(even) .block-media { order: 2; }
.block.no-shot { grid-template-columns: 1fr; }
.block.no-shot .block-text { max-width: 70ch; }
.block h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--navy); margin-bottom: 0.9rem; }
.block p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); text-wrap: pretty; }
.block p + p { margin-top: 0.8rem; }

/* Screenshot frame: keeps its shape while the picture is loading. */
.shot {
  position: relative; width: 100%; aspect-ratio: 1440 / 900; background: var(--navy-pale);
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--navy-mid);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; color: transparent; }
.shot.wide { box-shadow: 0 18px 40px -18px rgba(16, 36, 58, 0.4); }
.shot.phone { aspect-ratio: 390 / 700; max-width: 300px; margin: 0 auto; border-radius: 18px; border-width: 6px; border-color: var(--navy); box-shadow: 6px 6px 0 var(--navy-mid); }

/* ── CARDS ── */
.points-wrap { padding-top: 2rem; padding-bottom: 3rem; }
.points-wrap h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--navy); margin-bottom: 1.2rem; }
.points { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.point { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--navy); border-radius: 0 0 4px 4px; padding: 1.1rem 1.2rem; }
.point:nth-child(2n) { border-top-color: var(--orange); }
.point h3 { font-weight: 700; font-size: 1.05rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.point p { font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); }

/* ── CLOSING BAND ── */
.cta-band { background: var(--navy); color: #fff; padding: 3.5rem 0; margin-top: 2rem; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.cta-band p { font-size: 1rem; color: var(--navy-mid); margin-top: 0.4rem; max-width: 46ch; line-height: 1.6; }
.cta-band .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--orange); }
.cta-band .btn-primary:hover { background: var(--orange-dark); }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ── PRICING ── */
.pricing { padding-top: 1rem; padding-bottom: 3rem; }
.pricing > h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--navy); margin: 2.5rem 0 1rem; }
.price-card { display: grid; grid-template-columns: 3fr 2fr; background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--orange); border-radius: 0 0 4px 4px; }
.price-main { padding: 2rem; }
.price-side { padding: 2rem; background: var(--navy-pale); border-left: 1px solid var(--border); }
.price-side h2 { font-weight: 700; font-size: 1.05rem; color: var(--text-primary); margin-bottom: 0.8rem; }
.price-line { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.price-big { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.price-plus { color: var(--text-muted); margin: 0 0.2rem; }
.price-gst { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.3rem; }
.price-note { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); margin-top: 0.8rem; }
.price-calc { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.price-calc label { display: block; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.4rem; }
.price-calc input[type=range] { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.price-scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.price-result { margin-top: 1.25rem; }
.price-month { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.price-month small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.price-cta span { font-size: 0.95rem; color: var(--text-secondary); }
.price-included { list-style: none; display: grid; gap: 0.55rem; }
.price-included li { position: relative; padding-left: 1.6rem; font-size: 0.98rem; line-height: 1.5; color: var(--text-secondary); }
.price-included li::before { content: ''; position: absolute; left: 0.15rem; top: 0.3rem; width: 0.45rem; height: 0.8rem; border: solid var(--orange-dark); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.price-examples { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.price-example { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--navy); border-radius: 0 0 4px 4px; padding: 1rem 1.1rem; }
.price-example .who { font-size: 0.9rem; color: var(--text-muted); }
.price-example .amount { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-top: 0.3rem; }
.price-example .amount small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.price-foot { font-size: 0.9rem; color: var(--text-muted); margin-top: 1.25rem; }

/* ── FORM ── */
.form-wrap { max-width: calc(720px + 2 * var(--gutter)); padding-top: 1rem; padding-bottom: 3rem; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--orange); border-radius: 0 0 4px 4px; padding: 2rem; }
.field { margin-bottom: 1.25rem; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field .legend { padding: 0; }
.field label, .field .legend { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.4rem; }
.field .optional { font-weight: 400; color: var(--text-muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; font-size: max(1rem, 16px); padding: 0.7rem 0.9rem; min-height: 48px;
  border: 1.5px solid var(--text-muted); border-radius: 4px; background: var(--off-white); color: var(--text-primary);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; font-weight: 400; min-height: 44px; margin-bottom: 0; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--orange); }
.field-error { color: #b3261e; font-size: 0.85rem; margin-top: 0.35rem; display: none; }
.field.has-error .field-error { display: block; }
.field.has-error input[type=text], .field.has-error input[type=email] { border-color: #b3261e; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }
.form-result { display: none; background: var(--navy-pale); border: 1px solid var(--navy-mid); border-radius: 4px; padding: 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--text-primary); }
.form-result.shown { display: block; }
.form-result.error { background: #fdf1ef; border-color: #f2c4bd; }
.btn:disabled { opacity: 0.6; cursor: default; }
/* The two fields a person never sees or fills in */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── TERMS AND PRIVACY ── */
.legal { max-width: 760px; padding-top: 1.5rem; padding-bottom: 3rem; }
.legal h2 { font-weight: 800; font-size: 1.35rem; line-height: 1.2; color: var(--navy); margin: 2.2rem 0 0.8rem; }
.legal p { font-size: 0.98rem; line-height: 1.75; color: var(--text-secondary); margin: 0 0 0.9rem; }
.legal .draft { background: #FDF3EA; border: 1px solid var(--orange); border-radius: 4px; padding: 0.7rem 1rem; color: var(--text-primary); font-weight: 600; }

/* ── FOOTER ── */
footer { position: relative; background: var(--navy-pale); padding: 2.5rem var(--gutter) 1rem; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--orange); }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 1.25rem; flex-wrap: wrap; }
.footer-logo { display: block; height: 40px; width: auto; max-width: 100%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--navy-mid); padding-top: 1.25rem; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* Wataka's sales and support addresses under its logo */
.footer-contact { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; list-style: none; margin-top: 0.6rem; }
.footer-contact a { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-contact a:hover { color: var(--orange-dark); }
/* The clearing layer also drops the shape a browser takes from an image's width and height, so the logo is given it */
.app-wataka .footer-logo { aspect-ratio: 640 / 149; }
/* The company's line at the foot of the one footer (Scott, 17 November 2026: it stays in every section) */
.app-wataka .footer-bottom p { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.app-wataka .footer-parrot { height: 22px; width: auto; display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  body.app-wataka .app-nav, body.app-wataka > main, body.app-wataka > footer { --gutter: 1.5rem; }
  .price-examples { grid-template-columns: repeat(3, 1fr); }
  .block { gap: 2rem; padding: 2.25rem 0; }
}
@media (max-width: 599px) {
  body.app-wataka .app-nav, body.app-wataka > main, body.app-wataka > footer { --gutter: 16px; }
  .intro { padding: 2.5rem 0 1.75rem; }
  h1 { max-width: none; }
  .lead { font-size: 1rem; }
  .intro-cta .btn { flex: 1 1 100%; }
  .hero-shot { margin-top: 2rem; }
  .block, .block:nth-child(even) { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 0; }
  .block .block-media, .block:nth-child(even) .block-media { order: 0; }
  .shot { box-shadow: 4px 4px 0 var(--navy-mid); }
  .cta-band { padding: 2.5rem 0; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 1.25rem; }
  .price-card { grid-template-columns: 1fr; }
  .price-main, .price-side { padding: 1.25rem; }
  .price-side { border-left: 0; border-top: 1px solid var(--border); }
  .price-big { font-size: 2.1rem; }
  .price-month { font-size: 2.7rem; }
  .price-examples { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .price-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
