@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f6f7ef;
  --ink: #12372d;
  --muted: #65736d;
  --green: #1f805f;
  --line: #d9e2d6;
  --lime: #dceca8;
  --surface: #fbfcf7;
  --shadow-soft: 0 22px 70px rgba(18, 55, 45, 0.08);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading: 'Manrope', var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; scrollbar-gutter: stable; }
body { background: radial-gradient(circle at 78% 8%, rgba(220, 236, 168, 0.14), transparent 25%), var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
::selection { background: #d0e9bc; color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a { transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
:focus-visible { outline: 3px solid #39815b; outline-offset: 5px; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 112px, 1248px); margin-inline: auto; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 300; padding: 12px 22px; background: var(--ink); color: white; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(217, 226, 214, 0.78); background: rgba(246, 247, 239, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 35px rgba(18, 55, 45, 0.025); }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-family: var(--heading); font-size: 19px; font-weight: 800; letter-spacing: -0.8px; }
.brand img { flex-shrink: 0; filter: drop-shadow(0 5px 12px rgba(31, 128, 95, 0.12)); }
.brand-country { color: var(--green); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--green); }
.nav-links a span { margin-left: 5px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: white; font-size: 14px; font-weight: 650; line-height: 1.4; box-shadow: 0 12px 28px rgba(18, 55, 45, 0.12); }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button:hover { background: var(--green); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 128, 95, 0.2); }
.button:active { transform: translateY(0); }
.button-small { min-height: 43px; padding: 10px 19px; gap: 20px; font-size: 12px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(220, 236, 168, 0.2), transparent 29%),
    linear-gradient(180deg, #fafaf5 0%, var(--paper) 100%);
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(18, 55, 45, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 55, 45, 0.035) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.28) 46%, transparent 88%); -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.28) 46%, transparent 88%); }
.hero .wrap { width: min(1420px, calc(100% - 48px)); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 54px; align-items: center; min-height: calc(100vh - 96px); padding-block: 48px 34px; }
.hero-copy { position: relative; z-index: 6; min-width: 0; padding-block: 0 18px; container-type: inline-size; }
h1 { max-width: 760px; font-family: var(--heading); font-size: clamp(70px, 7vw, 118px); font-weight: 500; line-height: 0.88; letter-spacing: -0.065em; }
h1 em { display: block; max-width: 100%; margin-top: 22px; color: var(--green); font-family: var(--serif); font-size: clamp(35px, 10.5cqi, 88px); font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; white-space: nowrap; }
.hero-lead { max-width: 680px; margin-top: 34px; font-size: 20px; color: var(--muted); line-height: 1.55; }
.hero-eyebrow { letter-spacing: 0.34em; color: #557269; margin-bottom: 34px; }
.hero-eyebrow span { color: var(--green); }
.hero-cta { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-chips { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 680px; margin-top: 44px; padding: 0; }
.hero-chips li { display: flex; gap: 11px; align-items: flex-start; }
.chip-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; background: #eaf0d8; color: var(--green); flex-shrink: 0; }
.chip-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.chip-text span { display: block; max-width: 170px; font-size: 12px; line-height: 1.4; color: var(--muted); }

.hero-studio { position: relative; min-height: 690px; display: flex; align-items: center; justify-content: center; }
.hero-studio-orb { position: absolute; width: 620px; height: 580px; border-radius: 44% 56% 46% 54%; background: linear-gradient(145deg, rgba(207, 232, 196, 0.74), rgba(220, 236, 168, 0.76)); transform: rotate(4deg); box-shadow: 0 40px 80px rgba(31, 128, 97, 0.08); }
.hero-studio-orbit { position: absolute; width: 675px; height: 430px; border: 1px solid rgba(20, 53, 45, 0.34); border-radius: 50%; transform: rotate(22deg); }
.hero-studio-orbit.two { width: 470px; height: 670px; transform: rotate(52deg); opacity: 0.48; }
.hero-studio-orbit-dot { position: absolute; width: 14px; height: 14px; right: 54px; top: 167px; border-radius: 50%; background: #bbd878; box-shadow: 0 0 0 5px rgba(187, 216, 120, 0.17); }
.hero-badge { position: absolute; top: 80px; right: -15px; z-index: 4; display: flex; align-items: center; gap: 14px; background: rgba(250, 252, 247, 0.95); border: 1px solid rgba(20, 53, 45, 0.1); border-radius: 20px; padding: 18px 22px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); box-shadow: 0 20px 45px rgba(20, 53, 45, 0.1); }
.hero-badge-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eaf0d8; flex-shrink: 0; }

.code-window { position: relative; z-index: 2; width: min(640px, 88%); height: 414px; background: linear-gradient(145deg, #103d33, #0d332b); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; overflow: hidden; box-shadow: 0 34px 90px rgba(18, 55, 45, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06); color: #d8efe6; }
.code-titlebar { display: flex; align-items: center; gap: 9px; height: 58px; padding-inline: 18px; background: #0b3129; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dot { width: 13px; height: 13px; border-radius: 50%; }
.dot-r { background: #ff6e63; }
.dot-y { background: #f9c84e; }
.dot-g { background: #38c86e; }
.code-tab { display: none; }
.code-main { display: grid; grid-template-columns: 205px 1fr; height: 356px; }
.code-tree { list-style: none; margin: 0; padding: 24px 18px; border-right: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--sans); font-size: 15px; line-height: 2.05; color: #bbccc6; }
.code-tree li::before { content: '▱'; margin-right: 8px; color: #9ab9ae; }
.code-tree .tree-root { color: #ffffff; font-weight: 600; }
.code-tree .tree-open { color: #cfe4d3; }
.code-tree .tree-open::before { content: '▱'; }
.code-editor { margin: 0; padding: 25px 30px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.75; white-space: pre-wrap; }
.code-editor .ln { display: inline-block; width: 28px; color: #6a8e83; user-select: none; }
.code-editor .kw { color: #f0b8c7; }
.code-editor .fn { color: #d7e59a; }
.code-editor .str { color: #94d087; }
.code-editor .bl { color: #7ed5d3; }

.hero-cards { position: absolute; z-index: 3; left: 18px; right: -20px; bottom: 2px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-card { position: relative; display: flex; flex-direction: column; min-height: 226px; overflow: hidden; background: rgba(252, 253, 249, 0.92); border: 1px solid rgba(20, 53, 45, 0.12); border-radius: 24px; padding: 20px; text-decoration: none; color: inherit; box-shadow: 0 24px 55px rgba(20, 53, 45, 0.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease; }
.hero-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #1f805f, #a8cb70); opacity: 0; transform: scaleX(0.35); transform-origin: left; transition: opacity 220ms ease, transform 220ms ease; }
.hero-card:nth-child(2)::before { background: linear-gradient(90deg, #6e9b53, #d0dc82); }
.hero-card:nth-child(3)::before { background: linear-gradient(90deg, #277b67, #80c4aa); }
.hero-card:hover { transform: translateY(-8px); background: rgba(255, 255, 253, 0.98); border-color: rgba(31, 128, 95, 0.34); box-shadow: 0 34px 70px rgba(20, 53, 45, 0.17); }
.hero-card:hover::before { opacity: 1; transform: scaleX(1); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #dbe7cf; border-radius: 13px; background: linear-gradient(145deg, #f0f5e7, #e4edd5); color: var(--green); transition: transform 220ms ease, background-color 220ms ease; }
.hero-card:hover .card-icon { transform: rotate(-4deg) scale(1.06); }
.card-index { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #8ba093; }
.hero-card strong { display: block; font-size: 19px; line-height: 1.15; color: var(--ink); margin-bottom: 9px; letter-spacing: -0.35px; }
.hero-card p { min-height: 42px; font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(20, 53, 45, 0.1); color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card-arrow { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #e9f1df; font-size: 18px; line-height: 1; transition: transform 220ms ease, background-color 220ms ease, color 220ms ease; }
.hero-card:hover .card-arrow { transform: translateX(3px); background: var(--green); color: #fff; }
.footnote-line { flex: 1; max-width: 240px; height: 1px; background: var(--line); }
.hero-footnote { justify-content: center; gap: 22px; text-transform: uppercase; }

.partners { border-block: 1px solid var(--line); background: linear-gradient(135deg, #eef3e8, #f5f7f0); }
.partners-inner { display: grid; grid-template-columns: 280px 1fr; align-items: center; padding-block: 52px; gap: 54px; }
.eyebrow { font-family: var(--sans); font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: 1.8px; }
.partners-intro p { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.partners-grid { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.partner-card { display: flex; align-items: center; gap: 22px; min-height: 96px; background: rgba(255, 255, 255, 0.8); border: 1px solid #d7e0d2; border-radius: 18px; padding: 18px 24px; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.partner-card:hover { background: #ffffff; border-color: #c5d4be; transform: translateY(-4px); box-shadow: 0 18px 38px rgba(24, 46, 39, 0.08); }
.partner-visual { display: flex; align-items: center; justify-content: center; min-width: 90px; }
.partner-logo-img { height: 38px; width: auto; object-fit: contain; }
.insper-logo { height: 64px; }
.partner-name { font-family: var(--heading); font-size: 24px; font-weight: 700; letter-spacing: -1px; white-space: nowrap; }
.partner-name > span { color: var(--green); font-weight: 400; }
.partner-details { display: flex; flex-direction: column; gap: 3px; border-left: 1px solid #cbd5c3; padding-left: 18px; max-width: 255px; }
.partner-badge { font-family: var(--sans); font-size: 11px; font-weight: 650; color: var(--green); letter-spacing: 0.3px; }
.partner-description { font-size: 11px; line-height: 1.45; color: var(--muted); }
.partner-card-slot { border-style: dashed; border-color: #c5d2be; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.partner-card-slot:hover { background: #ffffff; border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40, 117, 84, 0.08); }
.partner-slot-visual { display: flex; align-items: center; justify-content: center; }
.partner-slot-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #eef4e8; color: var(--green); font-size: 22px; font-weight: 400; line-height: 1; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.partner-card-slot:hover .partner-slot-icon { transform: rotate(90deg) scale(1.08); background: var(--green); color: #ffffff; }
.partner-badge-slot { color: #526f5d; }

.about { position: relative; padding-block: 124px 132px; background: linear-gradient(180deg, rgba(251, 252, 247, 0.72), rgba(246, 247, 239, 0.35)); }
.about-hero { display: grid; grid-template-columns: 1.1fr 1.25fr; gap: 72px; align-items: flex-start; margin-bottom: 52px; }
.about .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 24px; }
.label-line { display: inline-block; width: 22px; height: 1px; background: var(--green); }
h2 { font-family: var(--heading); font-size: clamp(32px, 3.2vw, 44px); font-weight: 500; line-height: 1.22; letter-spacing: -1.8px; }
h2 em { font-family: var(--serif); font-weight: 400; }
.about h2 em { color: var(--green); }
.about-intro-block { padding: 36px 38px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, 0.74); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.about-intro-block p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.about-intro-block p + p { margin-top: 16px; }
.about-intro-block .about-intro { color: var(--ink); font-size: 20px; line-height: 1.55; letter-spacing: -0.35px; }
.about-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; }
.about-tags li { font-size: 12px; font-weight: 600; color: var(--green); background: #f0f4ea; border: 1px solid #dce6d2; border-radius: 999px; padding: 7px 15px; }
@media (min-width: 1101px) {
  .about-heading { position: sticky; top: 126px; }
}

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.js [data-reveal].revealed { opacity: 1; transform: none; }

.about-action-bar { margin-top: 54px; background: linear-gradient(135deg, #eaf2e2, #f3f7eb); border: 1px solid #cfddc7; border-radius: 22px; padding: 30px 36px; display: flex; justify-content: space-between; align-items: center; gap: 32px; box-shadow: 0 16px 42px rgba(18, 55, 45, 0.06); }
.action-text strong { display: block; font-family: var(--heading); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.3px; }
.action-text p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.action-buttons { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.button-outline:hover { background: var(--ink); color: #ffffff; }

.team { padding-block: 116px 124px; background: radial-gradient(circle at 84% 22%, rgba(220, 236, 168, 0.28), transparent 24%), #edf3e9; border-top: 1px solid var(--line); }
.team-header { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: flex-start; margin-bottom: 52px; }
.team .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 24px; }
.team-lead { color: var(--muted); font-size: 15px; line-height: 1.8; padding-top: 12px; }

.team-list { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.4fr); align-items: stretch; gap: 24px; max-width: 920px; margin-top: 40px; }
.team-person { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; box-shadow: 0 14px 36px rgba(18, 55, 45, 0.05); }
.team-person:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(24, 46, 39, 0.05); border-color: #c7d4c0; }
.team-person-photo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid #eef4ea; box-shadow: 0 8px 20px rgba(24, 46, 39, 0.12); }
.team-person-details { display: flex; flex-direction: column; gap: 2px; }
.team-person-name { font-family: var(--heading); font-size: 18px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.team-person-role { font-size: 13px; color: var(--green); font-weight: 600; letter-spacing: 0.2px; }

.team-join-slot { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, 0.54); border: 1.5px dashed #b9ccb2; border-radius: 20px; padding: 20px 24px; cursor: pointer; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.team-join-slot:hover { background: #ffffff; border-color: var(--green); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(40, 117, 84, 0.08); }
.team-join-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #eef4e8; color: var(--green); font-size: 26px; font-weight: 300; line-height: 1; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.team-join-slot:hover .team-join-icon { transform: rotate(90deg) scale(1.08); background: var(--green); color: #ffffff; }
.team-join-details { display: flex; flex-direction: column; gap: 2px; }
.team-join-name { font-family: var(--heading); font-size: 18px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.team-join-role { font-size: 13px; color: var(--muted); }

.participate { padding-block: 70px 62px; }
.participate-panel { position: relative; overflow: hidden; isolation: isolate; padding: 64px 64px 0; background: linear-gradient(135deg, #123b2e, #1f503d); color: var(--paper); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px; box-shadow: 0 32px 80px rgba(18, 55, 45, 0.2); }
.participate-content { position: relative; z-index: 1; max-width: 720px; }
.participate .eyebrow { color: #b9cfb2; margin-bottom: 25px; }
.participate h2 { font-size: clamp(36px, 4.4vw, 59px); line-height: 1.14; letter-spacing: -2px; }
.participate h2 em { color: #d9ebbb; }
.participate-content > p:not(.eyebrow) { max-width: 445px; font-size: 14px; line-height: 1.8; color: #c3d1c5; margin-top: 24px; }
.button-light { background: #dfedc2; color: #193e30; margin-top: 28px; }
.button-light:hover { background: #f1f7df; color: #193e30; }
.participate-panel :focus-visible { outline-color: #dfedc2; }
.participate-orbits { position: absolute; width: 580px; height: 580px; top: -22px; right: -190px; transform: rotate(-30deg); z-index: -1; }
.participate-orbits span { position: absolute; inset: 0; border: 1px solid #93b68430; border-radius: 50%; }
.participate-orbits span:nth-child(2) { inset: 60px; }
.participate-orbits span:nth-child(3) { inset: 120px; background: radial-gradient(ellipse at 80% 50%, #79a55a22, transparent 75%); }
.participate-orbits::after { content: ''; position: absolute; top: 45px; left: 115px; width: 11px; height: 11px; background: #d5e895; border-radius: 50%; box-shadow: 0 0 30px #d5e89545; }
.participate-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-block: 23px; border-top: 1px solid #ffffff26; font-size: 11px; color: #c3d1c5; }
.open-call { display: flex; align-items: center; gap: 9px; }
.open-call > span { width: 5px; height: 5px; border-radius: 50%; background: #d9ebbb; }
.deadline-divider { padding-inline: 12px; opacity: 0.6; }

.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 22px 38px; }
.footer-main > p { font-size: 12px; color: var(--muted); }
.footer-main .brand { font-size: 17px; }
.footer .text-link { font-size: 12px; border: none; gap: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px 28px; font-size: 10px; color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }

.modal { position: fixed; inset: 0; margin: auto; width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); overscroll-behavior: contain; box-shadow: 0 24px 100px #142e2740; }
.modal::backdrop { background: #122a23a8; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-card { padding: 36px; }
.modal-close { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: var(--ink); }
.modal-close:hover { background: #e8eddf; }
.modal .eyebrow { padding-right: 24px; font-size: 9px; color: var(--green); }
.modal h2 { margin-top: 12px; font-size: 40px; }
.modal-description { font-size: 13px; color: var(--muted); margin-block: 12px 24px; max-width: 380px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { font-size: 12px; font-weight: 500; }
.field label span { color: var(--green); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #cbd3c5; border-radius: 8px; padding: 11px 12px; font-size: 14px; background: #ffffffb3; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #737b71; opacity: 1; }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note { color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.form-submit { width: 100%; }
.form-submit:disabled { cursor: wait; opacity: 0.65; transform: none; }
.form-error { background: #fff0ed; color: #9b3028; border: 1px solid #ecc2b7; border-radius: 8px; padding: 12px; font-size: 13px; margin-bottom: 16px; }
.form-error a { color: inherit; font-weight: 600; }
.form-success { text-align: center; padding-block: 24px; }
.form-success:focus { outline: none; }
.success-mark { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #e0edcf; color: var(--green); font-size: 24px; }
.form-success h3 { font-family: var(--heading); font-size: 28px; letter-spacing: -1px; margin-top: 20px; }
.form-success p { color: var(--muted); font-size: 14px; margin-block: 14px 24px; }

@media (min-width: 1500px) {
  .hero-inner { padding-block: 80px 54px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { grid-template-columns: 1fr; gap: 16px; min-height: auto; padding-top: 56px; }
  h1 { font-size: clamp(64px, 9vw, 92px); letter-spacing: -0.06em; }
  h1 em { letter-spacing: -3px; }
  .hero-studio { width: min(100%, 820px); margin: 24px auto 0; }
  .code-main { grid-template-columns: 170px 1fr; }
  .hero-card { padding: 18px 15px 13px; }
  .partners-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .team-header { grid-template-columns: 1fr; gap: 24px; }
  .participate-panel { padding-inline: 40px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  body { background: var(--paper); }
  .js [data-reveal] { opacity: 1; transform: none; }
  .wrap { width: calc(100% - 40px); }
  .hero .wrap { width: calc(100% - 28px); }
  .hero::before { display: none; }
  .nav-inner { height: 78px; gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav-actions { gap: 8px; }
  .button-small { min-height: 44px; padding: 10px 15px; gap: 14px; font-size: 11px; }
  .nav-toggle { display: flex; width: 44px; height: 44px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 30px #193e3010; }
  .nav-links.mobile-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 12px; font-size: 15px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; padding-top: 34px; padding-bottom: 42px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(51px, 9.6vw, 72px); letter-spacing: -3px; }
  h1 em { letter-spacing: -2.7px; }
  .hero-lead { margin-top: 23px; max-width: 350px; font-size: 15px; line-height: 1.75; }
  .hero-cta { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .hero-cta .button { width: 100%; }
  .hero-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  .hero-chips li { flex-direction: column; align-items: flex-start; gap: 7px; }
  .chip-icon { width: 38px; height: 38px; }
  .chip-text strong { font-size: 11px; line-height: 1.25; }
  .chip-text span { display: none; }
  .hero-studio { display: none; }
  .hero-studio-orb { top: 20px; left: 50%; width: 520px; height: 500px; transform: translateX(-50%) rotate(4deg); }
  .hero-studio-orbit { top: 40px; left: 50%; width: 540px; height: 360px; transform: translateX(-50%) rotate(22deg); }
  .hero-studio-orbit.two { top: 0; left: 50%; width: 390px; height: 540px; transform: translateX(-50%) rotate(52deg); }
  .hero-studio-orbit-dot { top: 84px; right: 24px; }
  .hero-badge { top: -16px; right: 0; padding: 10px 12px; font-size: 12px; }
  .hero-badge-mark { width: 32px; height: 32px; border-radius: 10px; }
  .code-window { width: 100%; height: 390px; }
  .code-main { grid-template-columns: 1fr; }
  .code-editor { padding: 16px; font-size: 12px; }
  .code-titlebar { height: 46px; }
  .code-tree { display: none; }
  .hero-cards { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr; margin-top: 14px; padding-inline: 0; }
  .hero-card { min-height: 0; }
  .hero-footnote { display: none; }
  .footnote-line { max-width: 80px; }
  .partners-inner { padding-block: 34px; gap: 20px; }
  .partners .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .partners-intro p { font-size: 12px; }
  .partners-grid { flex-direction: column; align-items: stretch; gap: 14px; }
  .partner-card { padding: 16px 18px; }
  .partner-name { font-size: 22px; }
  .partner-details { max-width: none; }
  .about { padding-block: 72px; }
  .about-hero { gap: 24px; margin-bottom: 36px; }
  .about .eyebrow { margin-bottom: 18px; font-size: 9px; }
  h2 { font-size: clamp(30px, 5.5vw, 40px); letter-spacing: -1.3px; }
  .about-intro-block { padding: 22px 20px; border-radius: 20px; }
  .about-intro-block .about-intro { font-size: 18px; }
  .about-intro-block p { font-size: 14px; }
  .about-action-bar { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 20px; margin-top: 36px; }
  .action-buttons { width: 100%; flex-direction: column; align-items: stretch; }
  .action-buttons .button { width: 100%; }
  .team { padding-block: 72px; }
  .team-header { gap: 18px; margin-bottom: 24px; }
  .team-lead { padding-top: 0; font-size: 14px; }
  .team-list { grid-template-columns: 1fr; align-items: stretch; gap: 14px; margin-top: 24px; }
  .team-person, .team-join-slot { width: 100%; }
  .participate { padding-bottom: 44px; }
  .participate-panel { padding: 38px 26px 0; border-radius: 22px; box-shadow: 0 20px 50px rgba(18, 55, 45, 0.16); }
  .participate .eyebrow { font-size: 8px; letter-spacing: 1.3px; margin-bottom: 22px; }
  .participate h2 { font-size: clamp(32px, 6.3vw, 45px); letter-spacing: -1.3px; }
  .participate-content > p:not(.eyebrow) { font-size: 13px; }
  .participate-orbits { display: none; }
  .participate-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 36px; padding-block: 20px; font-size: 10px; }
  .deadline-divider { padding-inline: 6px; }
  .footer-main { flex-wrap: wrap; row-gap: 20px; padding-bottom: 26px; }
  .footer-main > p { order: 3; flex-basis: 100%; font-size: 11px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px 20px; font-size: 9px; }
  .footer-bottom > span:nth-child(2) { order: 3; flex-basis: 100%; }
  .footer-bottom a { margin-left: auto; }
  .modal-card { padding: 30px 22px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .nav-actions .button-small { padding-inline: 12px; gap: 8px; }
  .nav-actions .button-small span { display: none; }
  h1 { font-size: 46px; }
  h1 em { font-size: min(0.93em, 9.6vw); }
  .participate-panel { padding-inline: 22px; }
  .participate-bottom p > span:last-child { display: block; margin-top: 4px; }
  .deadline-divider { display: none; }
  .partner-name { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
