/* Red Rosella Labs — studio site
   Palette from the rosella logo + the Australian bush it lives in. */
:root {
  --red: #E41D20;        /* rosella crimson (logo) */
  --blue: #0875D1;       /* rosella cheek blue (logo) */
  --ink: #20252B;        /* logo charcoal */
  --mist: #EEF5F1;       /* eucalyptus mist page background */
  --gum: #2F6B4F;        /* gum-leaf green */
  --leaf: #8DB8A2;       /* young gum leaf */
  --wattle: #FFC72C;     /* wattle yellow */
  --wattle-soft: #FFE9A6;
  --body: 17px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font: var(--body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--round); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 82px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(238,245,241,.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(32,37,43,.06); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 46px; height: 46px; object-fit: contain; }
.brand .word { width: 132px; height: auto; }
.nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--red); color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero h1 { color: var(--ink); max-width: 13ch; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin: 22px 0 30px; color: #3A4350; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; font: 700 17px/1 var(--round); text-decoration: none; padding: 16px 26px; border-radius: 999px; transition: transform .12s; }
.btn:active { transform: translateY(2px); }
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 5px 0 #A9121A; }
.btn.primary:hover { color: #fff; background: #CF1620; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }

.perch { position: relative; aspect-ratio: 1 / 1; max-width: 460px; justify-self: end; width: 100%; }
.perch .bird { position: absolute; inset: 2% 2% 0 0; width: 98%; height: auto; animation: land 1.2s cubic-bezier(.3,1.25,.5,1) .2s both; transform-origin: 40% 80%; filter: drop-shadow(0 18px 24px rgba(32,37,43,.14)); }
.perch .sun { position: absolute; right: 0; top: 2%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--wattle); box-shadow: 0 0 0 14px rgba(255,199,44,.25), 0 0 0 30px rgba(255,199,44,.12); }
@keyframes land { 0% { transform: translate(-18%, -16%) rotate(-10deg) scale(.86); opacity: 0; } 60% { transform: translate(0, 2%) rotate(2deg) scale(1.01); opacity: 1; } 80% { transform: translate(0, -1%) rotate(-1deg); } 100% { transform: none; } }

/* feather band: crimson + cobalt like a rosella's back */
.feather { height: 26px; background: repeating-linear-gradient(115deg, var(--red) 0 34px, #C81519 34px 40px, var(--blue) 40px 74px, #0664B5 74px 80px); }

/* featured app */
.app { background: var(--wattle-soft); padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.app .intro { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 26px; }
.app .icon { width: clamp(96px, 11vw, 132px); aspect-ratio: 1; border-radius: 24%; box-shadow: 0 10px 24px rgba(120,80,0,.25); }
.app h2 { color: var(--ink); }
.app .tag { font-size: clamp(18px, 1.6vw, 21px); margin: 8px 0 0; color: #4A3B10; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px 10px 14px; font: 700 15px/1 var(--round); }
.status svg { width: 18px; height: 18px; }
.app .cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; margin-top: 30px; }
.app .features { grid-template-columns: 1fr 1fr; gap: 24px 30px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.features li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.features .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: 0 3px 0 rgba(120,80,0,.15); font-size: 21px; }
.features b { font-family: var(--round); font-size: 19px; display: block; }
.features span { color: #4B4430; }
.facts { margin: 26px 0 0; padding: 18px 20px; border-radius: 18px; background: #fff; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 16px; }
.facts dt { font-weight: 700; } .facts dd { margin: 0; }

.phones { display: flex; gap: clamp(10px, 1.8vw, 26px); align-items: flex-end; justify-content: center; padding-top: 70px; margin-top: 10px; }
.phone { flex: 0 1 auto; width: clamp(118px, 15vw, 200px); margin: 0; border-radius: 30px; padding: 7px; background: var(--ink); box-shadow: 0 18px 30px rgba(80,55,0,.28); }
.phone img { border-radius: 24px; width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; }
.phone:nth-child(2) { transform: translateY(-34px); }
.phone:nth-child(3) { transform: translateY(-58px); }
.phone:nth-child(4) { transform: translateY(-34px); }
.phone figcaption { color: #fff; font: 700 13px/1.2 var(--round); text-align: center; padding: 8px 4px 4px; }

/* values */
.values { padding: clamp(60px, 8vw, 110px) 0; }
.values .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.values h2 { max-width: 10ch; }
.vlist { display: grid; gap: 30px; }
.vlist h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.vlist h3::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c, var(--red)); flex: 0 0 auto; }
.vlist p { margin: 0; max-width: 40em; color: #3A4350; }

/* about */
.about { background: #fff; padding: clamp(56px, 8vw, 100px) 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about h2 { margin-bottom: 18px; }
.about p { font-size: 18px; color: #3A4350; max-width: 34em; }
.leaves { border-radius: 32px; background: var(--mist); padding: clamp(24px, 4vw, 48px); display: grid; place-items: center; }
.leaves img { width: min(100%, 380px); height: auto; }

/* contact */
.contact { padding: clamp(56px, 7vw, 90px) 0; }
.contact .box { background: var(--blue); color: #fff; border-radius: 34px; padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { margin: 10px 0 0; font-size: 18px; color: #DCEBFA; }
.contact .btn { background: #fff; color: var(--blue); box-shadow: 0 5px 0 #054F8F; }
.contact .btn:hover { color: var(--red); }

/* footer */
.site-foot { padding: 34px 0 46px; color: #56606C; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-foot .brand .mark { width: 38px; height: 38px; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a { color: #56606C; }

/* document pages (privacy, support) */
.doc { padding: clamp(40px, 6vw, 80px) 0 70px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 10px; }
.doc .updated { color: #56606C; margin-bottom: 30px; }
.doc h2 { font-size: 26px; margin: 38px 0 8px; color: var(--ink); }
.doc .summary { background: #fff; border-left: 6px solid var(--red); border-radius: 0 18px 18px 0; padding: 18px 22px; margin: 0 0 10px; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; } .doc .summary li { margin: 4px 0; }
.faq { display: grid; gap: 14px; margin-top: 10px; }
.faq details { background: #fff; border-radius: 16px; padding: 16px 20px; }
.faq summary { font: 700 19px/1.3 var(--round); cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.mailcard { background: var(--blue); color: #fff; border-radius: 22px; padding: 22px 26px; font-size: 18px; }
.mailcard a { color: #fff; font-weight: 700; }

@media (max-width: 860px) {
  .hero .wrap, .app .cols, .values .wrap, .about .wrap, .contact .box { grid-template-columns: 1fr; }
  .perch { justify-self: center; max-width: 340px; order: -1; }
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 70px 20px 20px; margin: 0 -20px; }
  .app .features { grid-template-columns: 1fr; }
  .phone { scroll-snap-align: center; width: 168px; flex: 0 0 auto; }
  .brand .word { width: 120px; }
  .nav { gap: 14px; } .nav a { font-size: 15px; }
}
@media (max-width: 520px) {
  .nav a.opt { display: none; }
  .app .intro { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .perch .bird { animation: none; } }
