/*
 * 흰 종이 + 검정(메인) + 보라(포인트) + 손으로 그린 마커 낙서.
 * 검정: 글자·테두리·선·채운 버튼.  보라: 낙서·번호·강조 링크·올렸을 때 채워지는 색.
 * 모노 글꼴은 영문 제목·번호에만 쓰고, 읽는 글은 프리텐다드로 또렷하게.
 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --paper: #FFFFFF;
  --ink: #111114;            /* 메인 검정: 제목·테두리·선·채운 버튼 */
  --accent: #6B36F0;         /* 포인트 보라: 낙서·번호·강조 */
  --text: #111114;           /* 읽는 글 */
  --text-soft: #4A4A55;      /* 덜 중요한 글 */
  --rule: rgba(17, 17, 20, .2);
  --on-ink: #FFFFFF;
  --on-accent: #FFFFFF;

  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  --mono: 'Space Mono', 'Pretendard Variable', Pretendard, ui-monospace, monospace;   /* 영문·숫자 전용 */
  --wrap: 1180px;

  /* 마커 낙서 (모양만 담은 그림. 색은 글자색을 따라가요) */
  --s-ellipse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 110' preserveAspectRatio='none'%3E%3Cpath d='M158 9C92 5 18 22 9 52c-8 30 52 50 138 50 88 0 146-22 144-52C289 20 214 4 128 10 76 14 30 28 22 50' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --s-underline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 13C52 5 118 17 176 9s96-4 120 3M46 20c58-6 132 1 208-4' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --s-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 70'%3E%3Cpath d='M6 52C52 10 132 2 204 30M186 12l20 19-27 9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --s-rays: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M100 2v10M70 5l3 10M130 5l-3 10M40 12l6 9M160 12l-6 9M14 28l10 5M186 28l-10 5M4 50h11M196 50h-11M14 72l10-5M186 72l-10-5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --s-marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 300' preserveAspectRatio='none'%3E%3Cpath d='M12 4c-5 40 6 70 0 110s7 80 1 120-3 44 0 62M17 30c3 60-4 120 1 190' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 색 뒤집기: 검은 바탕에 흰 글자 ('invert' 버튼, 그리고 연락 칸·써 보기 띠) */
:root[data-theme="dark"],
.invert {
  --paper: #111114;
  --ink: #FFFFFF;
  --accent: #B79DFF;
  --text: #FFFFFF;
  --text-soft: rgba(255, 255, 255, .86);
  --rule: rgba(255, 255, 255, .3);
  --on-ink: #111114;
  --on-accent: #111114;
}
:root[data-theme="dark"] .invert {
  --paper: #FFFFFF;
  --ink: #111114;
  --accent: #6B36F0;
  --text: #111114;
  --text-soft: #4A4A55;
  --rule: rgba(17, 17, 20, .2);
  --on-ink: #FFFFFF;
  --on-accent: #FFFFFF;
}
.invert { background: var(--paper); color: var(--text); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── 마커 낙서 ── */
.circled, .underlined, .rayed { position: relative; display: inline-block; }
.circled::after, .underlined::after, .rayed::after, .arrow-doodle {
  content: ''; position: absolute; background: var(--accent); pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  animation: draw .9s .3s both cubic-bezier(.6, 0, .3, 1);
}
.circled::after { inset: -.16em -.3em -.2em -.32em; -webkit-mask-image: var(--s-ellipse); mask-image: var(--s-ellipse); }
.underlined::after { left: -.04em; right: -.1em; bottom: -.3em; height: .3em; -webkit-mask-image: var(--s-underline); mask-image: var(--s-underline); }
.rayed::after { inset: -.55em -.75em -.5em; -webkit-mask-image: var(--s-rays); mask-image: var(--s-rays); }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }

/* ── 맨 위 줄 ── */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: -.04em; text-decoration: none; color: var(--ink); }
.top-nav { display: flex; align-items: center; gap: 24px; font-family: var(--mono); font-size: 14.5px; color: var(--ink); }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.theme-btn { font-size: 14px; padding: 4px 12px; border: 1.5px solid var(--ink); background: none; cursor: pointer; }
.theme-btn:hover { background: var(--ink); color: var(--on-ink); }

/* ── 작은 글씨들 ── */
.caption { font-size: 13.5px; line-height: 1.5; color: var(--accent); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; color: var(--accent); }
.status-live .status-dot { background: currentColor; }
.status-soon .status-dot { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* ── 첫 화면 ── */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-top: 52px; padding-bottom: 84px; }
.hero-year { font-family: var(--mono); font-size: clamp(44px, 6.2vw, 78px); line-height: 1; letter-spacing: .02em; margin-top: 40px; color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.hero h1 { margin-top: 4px; color: var(--ink); }
.hero-en { display: block; font-family: var(--mono); font-size: clamp(42px, 6.6vw, 86px); line-height: 1.08; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.hero-ko { display: block; margin-top: 32px; font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.35; color: var(--text); }
.lead { margin-top: 12px; max-width: 480px; font-size: 17px; color: var(--text-soft); }
.hero-contact { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 16px; }
.hero-contact span { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); }
.hero-contact a { font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.hero-contact a:hover { color: var(--accent); }

/* 번호 달린 목차 */
.index { position: relative; border: 1.5px solid var(--ink); background: var(--paper); }
.arrow-doodle { width: 120px; height: 40px; right: 18px; top: -58px; -webkit-mask-image: var(--s-arrow); mask-image: var(--s-arrow); transform: rotate(24deg); }
.index-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 16px; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--on-ink); }
.index-head span:first-child { font-family: var(--mono); font-weight: 700; }
.index li + li { border-top: 1px solid var(--rule); }
.ix { display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-decoration: none; transition: background .12s, color .12s; }
.ix:hover { background: var(--accent); color: var(--on-accent); }
.ix:hover .ix-no, .ix:hover .ix-plat, .ix:hover .status, .ix:hover .status-dot { color: inherit; }
.ix-no { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); width: 24px; flex: none; }
.ix-icon { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; }
.ix-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ix-name { font-size: 17.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.ix-plat { font-size: 13.5px; line-height: 1.45; color: var(--text-soft); }

/* ── 구역: 좁은 화면에서는 가로 제목, 넓은 화면에서는 왼쪽에 세로로 선 제목 ── */
.block { padding-top: 52px; padding-bottom: 88px; border-top: 1.5px solid var(--ink); scroll-margin-top: 58px; }
.block-head h2 { position: relative; display: inline-block; font-family: var(--mono); font-size: clamp(32px, 4.6vw, 46px); line-height: 1; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; color: var(--ink); }
.block-head h2::after { content: ''; position: absolute; left: -.04em; right: -.1em; bottom: -.3em; height: .28em; background: var(--accent); -webkit-mask: var(--s-underline) center / 100% 100% no-repeat; mask: var(--s-underline) center / 100% 100% no-repeat; }
.block-main { margin-top: 34px; min-width: 0; }
.block-ko { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 26px; }
.block-sub { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-soft); }

@media (min-width: 1100px) {
  .block { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 30px; }
  .block-head h2 { writing-mode: vertical-rl; transform: rotate(180deg); position: sticky; top: 88px; padding-right: 14px; }
  .block-head h2::after { left: auto; right: 0; top: 0; bottom: 0; width: 9px; height: auto; -webkit-mask-image: var(--s-marker); mask-image: var(--s-marker); }
  .block-main { margin-top: 0; }
}

/* ── 프로젝트 카드: 테두리로 감싼 한 장씩 ── */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; border: 1.5px solid var(--ink); background: var(--paper); scroll-margin-top: 82px; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.card-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--rule); border-bottom: 1.5px solid var(--ink); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.card-no { font-family: var(--mono); font-size: 15px; font-weight: 700; line-height: 1; color: var(--accent); margin-right: 2px; }
.card-top .status { margin-right: 2px; }
.tag { font-size: 13px; font-weight: 600; line-height: 1.5; border: 1px solid var(--ink); padding: 0 8px; white-space: nowrap; }
/* 정보 줄: '언어  한국어 · English', '제작  React · TypeScript' — 라벨 칸을 맞춰서 */
.card-info { margin-top: 12px; }
.langs { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: baseline; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.langs + .langs { margin-top: 1px; }
.langs-label { font-weight: 700; color: var(--accent); }
.card-head { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.card-icon { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; flex: none; }
.card h3 { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.025em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card-meta { font-size: 14px; line-height: 1.45; color: var(--text-soft); }
.card-desc { margin-top: 12px; font-size: 15.5px; line-height: 1.65; }
.card-stack { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }
.more { align-self: flex-start; margin-top: 12px; margin-bottom: 20px; font-size: 15px; font-weight: 700; color: var(--accent); text-underline-offset: 5px; }
.more:hover { text-decoration-thickness: 2px; }
.card:target { box-shadow: 6px 6px 0 var(--accent); }

/* 링크 버튼: 윗줄 플랫폼, 아랫줄 이름. 첫 버튼만 채워서 강조 */
.card-links { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }   /* 글 길이가 달라도 버튼은 카드 바닥에 맞춰요 */
.link-table { display: flex; flex-wrap: wrap; gap: 10px; }
.link-table .badge { flex: 0 1 auto; min-width: 216px; max-width: 100%; }
.badge { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "plat arrow" "name arrow"; align-items: center; column-gap: 12px; padding: 8px 14px 9px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--text); line-height: 1.35; text-decoration: none; transition: background .12s, color .12s; }
.badge-plat { grid-area: plat; font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--accent); }
.badge-name { grid-area: name; font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-arrow { grid-area: arrow; font-size: 16px; color: var(--accent); }
.badge:first-child { background: var(--ink); color: var(--on-ink); }                 /* 첫 버튼: 검정으로 채움 */
.badge:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }   /* 올리면 보라 */
.badge:first-child .badge-plat, .badge:first-child .badge-arrow,
.badge:hover .badge-plat, .badge:hover .badge-arrow { color: inherit; }
/* 출시 전: 눌리지 않는 점선 표시 */
.badge-soon, .badge-soon:hover, .badge-soon:first-child { background: none; border: 1.5px dashed var(--rule); color: var(--text-soft); cursor: default; }
.badge-soon .badge-plat, .badge-soon:hover .badge-plat { color: var(--text-soft); }
.badge-soon .badge-arrow, .badge-soon:hover .badge-arrow { font-size: 13px; font-weight: 700; color: var(--text-soft); }

/* 연락 칸 */
.card-contact { border-color: var(--paper); }
.card-contact:hover { transform: none; box-shadow: none; }
.card-contact .card-body { padding: 24px 22px 22px; }
.contact-eyebrow { font-size: 14.5px; font-weight: 600; }
.contact-title { margin-top: 44px; font-family: var(--mono); font-size: 44px !important; line-height: 1; letter-spacing: -.055em !important; }
.card-contact .card-desc { margin-top: 34px; margin-bottom: 24px; }
.card-contact .badge-name { font-size: 14.5px; }

.noscript { padding: 24px 0; }

/* ── 프로젝트 소개 페이지 ── */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 60px; align-items: start; padding-top: 30px; padding-bottom: 84px; }
.crumbs { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 13.5px; padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
.crumbs a { text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.p-title { display: flex; align-items: center; gap: 13px; margin-top: 32px; }
.p-icon { width: 56px; height: 56px; border-radius: 13px; object-fit: cover; flex: none; }
.p-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.p-hero h1 { margin-top: 26px; font-size: clamp(32px, 4vw, 48px); line-height: 1.28; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.p-hero .lead { margin-top: 30px; max-width: 540px; }
/* 상태·플랫폼 줄과 언어 줄: 같은 크기, 같은 칸 맞춤 */
.p-meta, .p-hero .langs { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }
.p-meta { margin-top: 26px; }
.p-hero .langs { margin-top: 3px; }
.p-meta .status, .p-hero .langs-label { font-size: 14.5px; font-weight: 700; }
.p-hero .langs-label { color: var(--text); }
.p-hero .link-table { margin-top: 16px; }
.p-cover { margin-top: 33px; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--rule); }
.p-cover img { width: 100%; height: 100%; object-fit: cover; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { border: 1.5px solid var(--ink); padding: 16px 18px 20px; }
.feature-no { display: block; font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--accent); }
.feature h3 { margin-top: 12px; font-size: 19px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; }
.feature p { margin-top: 6px; font-size: 15.5px; color: var(--text-soft); }

.steps { border: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 16px 18px; }
.steps li + li { border-top: 1px solid var(--rule); }
.step-no { font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1; color: var(--accent); }
.steps p { font-size: 16.5px; }

.shots-phone { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--ink) transparent; }
.shots-phone .shot { flex: none; width: 216px; scroll-snap-align: start; }
.shots-wide .shot { max-width: 900px; }
.shot img { width: 100%; height: auto; }

.p-notes { padding-top: 0; padding-bottom: 72px; margin-top: -40px; font-size: 14.5px; }
.note { color: var(--text-soft); }
.extra { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.extra a { font-weight: 600; color: var(--accent); text-underline-offset: 5px; }
.extra a:hover { text-decoration-thickness: 2px; }

.cta-in { padding-top: 72px; padding-bottom: 80px; }
.cta h2 { font-family: var(--mono); font-size: clamp(44px, 7vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -.055em; }
.cta-ko { margin-top: 36px; font-size: 17px; font-weight: 600; }
.cta .link-table { margin-top: 20px; }
.cta + .block { border-top: 0; }

/* ── 개인정보처리방침 같은 안내 문서 ── */
.legal { max-width: 780px; padding-top: 44px; padding-bottom: 88px; }
.legal-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.legal-langs a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 3px 12px; border: 1.5px solid var(--ink); }
.legal-langs a[aria-current="true"] { background: var(--ink); color: var(--on-ink); }
.legal h1 { margin-top: 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: -.035em; }
.legal .date { margin-top: 10px; margin-bottom: 30px; font-size: 14.5px; color: var(--text-soft); }
.legal section { border-top: 1.5px solid var(--ink); padding: 18px 0 22px; }
.legal h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.legal ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.legal li { margin: 4px 0; }
.legal section a { color: var(--accent); text-underline-offset: 4px; }
.legal [lang="ja"] { word-break: normal; line-break: strict; }
html:not(.js) .legal article + article { margin-top: 48px; }
.js .legal article[hidden] { display: none; }

/* 404 등 단순 버튼 */
.btn { display: inline-block; text-decoration: none; font-size: 15px; font-weight: 700; padding: 10px 18px; border: 1.5px solid var(--ink); color: var(--ink); }
.btn:hover, .btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--paper); color: var(--ink); }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); }

/* ── 바닥 ── */
.foot { border-top: 1.5px solid var(--ink); padding: 44px 0 30px; scroll-margin-top: 58px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.foot-logo { font-family: var(--mono); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.055em; text-decoration: none; color: var(--ink); }
.foot-tag { margin-top: 14px; max-width: 300px; font-size: 15px; color: var(--text-soft); }
.foot-h { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--rule); }
.foot-col li + li { margin-top: 7px; }
.foot-col a { font-size: 15.5px; font-weight: 600; text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.foot-copy { margin-top: 48px; font-size: 13.5px; color: var(--text-soft); }

/* ── 좁은 화면 ── */
@media (max-width: 1000px) {
  .grid, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .p-hero { gap: 44px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 30px; padding-bottom: 60px; }
  .hero-year { margin-top: 28px; }
  .arrow-doodle { display: none; }
  .p-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 60px; }
  .p-cover { order: -1; margin-top: 0; margin-bottom: 26px; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .features, .features-2 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .link-table .badge { flex: 1 1 100%; }
  .top-nav { gap: 16px; }
  .block { padding-top: 44px; padding-bottom: 64px; }
  .shots-phone .shot { width: 184px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circled::after, .underlined::after, .rayed::after, .arrow-doodle { animation: none; }
  .card-cover img, .ix, .badge { transition: none; }
}
