/* tortoiga.com - one stylesheet for every page. Mobile first: one column, then grids from 640 / 960 px. */
:root {
  --green: #2f7d1f;
  --green-dark: #22601a;
  --green-soft: #e9f3e3;
  --sand: #f7f5ef;
  --ink: #1f2722;
  --muted: #5b665e;
  --card: #ffffff;
  --line: #e3e1d8;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(31, 39, 34, .08);
  --display: "Concert One", system-ui, sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--text); color: var(--ink); background: var(--sand); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.3em; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: 700 1rem var(--text); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand img { height: 40px; width: auto; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 1.3rem; }
.nav-button .fa-xmark, .nav-toggle:checked + .nav-button .fa-bars { display: none; }
.nav-toggle:checked + .nav-button .fa-xmark { display: inline; }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid #f0b429; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px; flex-direction: column; box-shadow: var(--shadow); }
.nav-toggle:checked ~ .site-nav { display: flex; }
.site-nav a { padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green); background: var(--green-soft); }
.nav-insta { display: inline-flex; gap: .5em; align-items: center; }
@media (min-width: 860px) {
  .nav-button { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; gap: 4px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav a { padding: 8px 12px; }
  .nav-insta span { display: none; }
  .nav-insta i { font-size: 1.3rem; }
}

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #fff; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--green-dark); }
.section-lead { color: var(--muted); margin: -.2em 0 1.6em; font-size: 1.05rem; }
.lead { font-size: 1.15rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; color: var(--green); margin: 0 0 .6em; }

/* Home hero */
.hero { padding: 40px 0 24px; background: radial-gradient(ellipse at 80% 20%, #dff0d6 0, transparent 60%), var(--sand); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.hero-art { width: min(520px, 100%); margin-inline: auto; }
@media (min-width: 900px) { .hero { padding: 72px 0 48px; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }

/* App cards */
.app-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.app-card:hover { transform: translateY(-2px); border-color: var(--accent, var(--green)); color: var(--ink); }
.app-card > i { margin-left: auto; color: var(--muted); }
.app-icon { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; flex: none; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.app-icon.big { width: 96px; height: 96px; border-radius: 24px; }
.app-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-name { font: 1.35rem var(--display); }
.app-tag { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.status { align-self: flex-start; margin-top: 6px; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.status.live { background: var(--green-soft); color: var(--green-dark); }
.status.soon { background: #fff1d6; color: #8a5a00; }

/* Web tiles */
.web-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .web-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .web-grid { grid-template-columns: repeat(3, 1fr); } }
.web-tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.web-tile:hover { transform: translateY(-3px); color: var(--ink); }
.web-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.web-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.web-tile:hover .web-shot img { transform: scale(1.04); }
.web-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.web-tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.web-name { font: 1.35rem var(--display); }
.web-name i { font-size: .75rem; color: var(--muted); vertical-align: middle; }
.web-text { color: var(--muted); font-size: .95rem; }

/* About */
.about-grid { display: grid; gap: 40px; }
.about-row { display: grid; gap: 20px; align-items: center; }
.about-row img { width: min(260px, 70%); margin-inline: auto; }
@media (min-width: 760px) {
  .about-row { grid-template-columns: 280px 1fr; }
  .about-row.flip { grid-template-columns: 1fr 280px; }
  .about-row.flip img { order: 2; }
}
.skills { list-style: none; padding: 0; margin: 1em 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.skills li { display: flex; align-items: center; gap: .6em; background: var(--green-soft); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .95rem; }
.skills i { color: var(--green); font-size: 1.2rem; width: 1.3em; text-align: center; }

/* Contact */
.contact { display: grid; gap: 14px; background: var(--sand); padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: opacity .4s; }
.contact label { display: grid; gap: 6px; font-weight: 700; }
.contact input, .contact textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfccc1; border-radius: 12px; background: #fff; width: 100%; }
.contact input:focus, .contact textarea:focus { outline: 3px solid #bfe0b0; border-color: var(--green); }
.contact .btn { justify-self: start; }
.honeypot { position: absolute; left: -9999px; }
.captcha-wrap { max-width: 303px; overflow: hidden; }
.captcha-wrap .h-captcha { transform-origin: 0 0; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.contact.hidden { opacity: 0; pointer-events: none; }
.thanks { display: none; text-align: center; font: 1.4rem var(--display); color: var(--green-dark); padding: 24px; }
.thanks.visible { display: block; }

/* App pages */
.app-page { position: relative; color: #fff; padding: 28px 0 56px; min-height: 80vh; }
.app-bg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.app-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.45)); }
.app-page.light { color: var(--ink); }
.app-page.light .app-bg::after { background: none; }
.panel { background: rgba(255, 255, 255, .88); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(6px); }
.app-hero { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .app-hero { grid-template-columns: 1.15fr .85fr; } }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.app-wordmark { max-height: 72px; width: auto; max-width: 70%; }
.app-title { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0; color: var(--accent); }
.app-intro .lead { color: var(--accent); font-family: var(--display); font-size: 1.4rem; margin-top: 0; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.2em 0 0; }
.play-badge img { height: 56px; width: auto; }
.play-badge.big img { height: 64px; }
.soon-badge { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.2em; border-radius: 12px; background: #1f2722; color: #fff; font-weight: 700; }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery img { flex: none; width: min(260px, 70vw); border-radius: 22px; box-shadow: 0 12px 40px rgba(0,0,0,.3); scroll-snap-align: start; }
.gallery img.wide { width: min(620px, 92vw); border-radius: 14px; }
@media (min-width: 960px) { .gallery { justify-content: center; } }
.features { display: grid; gap: 18px; margin: 28px auto; }
.feature { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.9); color: var(--ink); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.feature p { margin: 0; font-size: 1.05rem; }
.feature-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; font-size: 1.4rem; }
.feature.shot { flex-direction: column; text-align: center; padding: 20px; }
.feature.shot img { width: min(300px, 80%); border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
@media (min-width: 760px) {
  .feature.shot { flex-direction: row; text-align: left; }
  .feature.shot.flip { flex-direction: row-reverse; }
  .feature.shot img { width: 240px; }
  .feature.shot p { font-size: 1.2rem; }
}
@media (min-width: 960px) { .features:not(:has(.shot)) { grid-template-columns: repeat(2, 1fr); } }
.app-outro { text-align: center; }
.app-outro .store-row { justify-content: center; }
.small { font-size: .9rem; color: var(--muted); }

/* Privacy and text pages */
.prose { padding: 40px 0 56px; }
.prose h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--green-dark); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; color: var(--green-dark); }
.prose li { margin: .3em 0; }

/* Footer */
.site-footer { background: #1f2a22; color: #d9e2da; padding: 44px 0 20px; margin-top: auto; }
.site-footer a, .site-footer .linklike { color: #d9e2da; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }
.footer-grid h2 { font-size: 1.15rem; color: #fff; margin-bottom: .4em; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.social { display: flex; gap: 14px; font-size: 1.4rem; }
.social a { display: inline; }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #a9b5ab; }

/* Cookie consent */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 260px; font-size: .95rem; }
.cookie div { display: flex; gap: 8px; }
.cookie .btn { padding: .55em 1.1em; }
@media (min-width: 700px) { .cookie { left: auto; max-width: 520px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.prose .notice { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.15rem; margin: 1.2em 0 .3em; color: var(--green-dark); }
