/*
 * SeeAnyFile marketing site.
 *
 * No web fonts: a page that promises nothing leaves your computer should not
 * open a connection to a font CDN to say so. The system stack below covers all
 * twelve locales, including CJK, on the platforms this page is read from.
 */

:root {
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    'Noto Sans KR', 'Malgun Gothic', 'Hiragino Sans', 'Noto Sans JP', 'Noto Sans SC',
    'Noto Sans TC', 'Microsoft YaHei', Arial, sans-serif;
  --font-mono: 'Cascadia Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;

  --accent: #5b5bf6;
  --accent-strong: #4747e8;
  --accent-soft: #eeeeff;
  /* Accent as text on --accent-soft; the fill colour itself is 4.3:1 there. */
  --accent-text: #4545d6;
  --cyan: #22d3ee;

  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --bg-deep: #0f1116;
  --border: #e3e5ec;
  --text: #14161c;
  --text-dim: #565d6d;
  --text-faint: #666d7e; /* 4.8:1 on --bg-alt, WCAG AA for small text */
  --shadow-lg: 0 32px 80px rgb(18 20 30 / 16%);
  --shadow-sm: 0 2px 10px rgb(18 20 30 / 6%);
  --radius: 14px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1116;
    --bg-alt: #151821;
    --bg-deep: #090b0f;
    --border: #262b36;
    --text: #eceef4;
    --text-dim: #a4abbb;
    --text-faint: #878fa1;
    --accent-soft: #1b1d33;
    --accent-text: #9a9aff;
    --shadow-lg: 0 32px 80px rgb(0 0 0 / 55%);
    --shadow-sm: 0 2px 10px rgb(0 0 0 / 35%);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---- header ---- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* ---- language picker ---- */

.lang { position: relative; }
.lang__button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px;
  font: inherit; font-size: 14px;
  color: var(--text-dim); background: none;
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
}
.lang__button:hover { color: var(--text); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  display: none; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px;
  padding: 8px; margin: 0;
  list-style: none;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
}
.lang[open] .lang__menu { display: grid; }
.lang__menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; text-decoration: none; color: var(--text-dim); white-space: nowrap;
}
.lang__menu a:hover { background: var(--bg-alt); color: var(--text); }
.lang__menu a[aria-current='true'] { color: var(--accent); font-weight: 600; }

@media (max-width: 560px) {
  .lang__menu { grid-template-columns: 1fr; max-height: 60vh; overflow-y: auto; }
}

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; border-radius: 11px;
  cursor: pointer; transition: transform 120ms ease, background 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

/* ---- hero ---- */

.hero { padding: 76px 0 0; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 26px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--accent-text); background: var(--accent-soft);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 800;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__sub {
  max-width: 62ch; margin: 0 auto 30px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  text-wrap: pretty;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--text-faint); }

.shot {
  position: relative;
  margin: 54px auto 0;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.shot img { display: block; width: 100%; height: auto; }

/* ---- trust strip ---- */

.trust { margin-top: 64px; padding: 34px 0; background: var(--bg-alt); border-block: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust__item h2 { font-size: 16px; margin-bottom: 4px; }
.trust__item p { font-size: 14.5px; color: var(--text-dim); }
.trust__check { display: inline-block; margin-right: 7px; color: var(--accent); font-weight: 700; }

@media (max-width: 760px) {
  .trust__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- sections ---- */

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 62ch; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 750; margin-bottom: 12px; }
.section__head p { color: var(--text-dim); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 26px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 17.5px; margin-bottom: 9px; }
.feature p { font-size: 15px; color: var(--text-dim); }

@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* ---- formats ---- */

.formats { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.formats h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 13px; font-size: 14px; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
}
.chip--soon { color: var(--text-faint); font-weight: 500; border-style: dashed; }

@media (max-width: 640px) { .formats { grid-template-columns: 1fr; } }

/* ---- privacy ---- */

.privacy-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px;
  padding: 44px; border-radius: 20px;
  background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.privacy-card h2 { font-size: clamp(25px, 3.2vw, 34px); margin-bottom: 14px; }
.privacy-card p { color: var(--text-dim); }
.privacy-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; }
.privacy-list li { position: relative; padding-left: 27px; font-size: 15px; color: var(--text-dim); }
.privacy-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 15px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

@media (max-width: 860px) { .privacy-card { grid-template-columns: 1fr; gap: 26px; padding: 30px; } }

/* ---- roadmap ---- */

.roadmap { display: grid; gap: 10px; }
.road {
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 18px;
  padding: 17px 22px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px;
}
.road__phase { font-size: 13.5px; font-weight: 700; color: var(--text-faint); }
.road__title { font-size: 16px; }
.road__state { font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.road__state--done { color: #047857; background: #d1fae5; }
.road__state--next { color: #4338ca; background: #e0e7ff; }
.road__state--planned { color: var(--text-faint); background: var(--bg-alt); }

@media (prefers-color-scheme: dark) {
  .road__state--done { color: #6ee7b7; background: #06281f; }
  .road__state--next { color: #a5b4fc; background: #1b1d3a; }
}

@media (max-width: 640px) {
  .road { grid-template-columns: 1fr auto; }
  .road__phase { grid-column: 1 / -1; }
}

/* ---- faq ---- */

.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details {
  padding: 18px 22px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px;
}
.faq summary { font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: inline-end; color: var(--text-faint); font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 11px; font-size: 15.5px; color: var(--text-dim); }

/* ---- download ---- */

.download { text-align: center; }
.download__more { margin: 16px 0 0; font-size: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.download__more a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; color: var(--text-dim); }
.download__note { max-width: 56ch; margin: 14px auto 0; font-size: 14px; color: var(--text-faint); }

/* ---- share ---- */

.share { padding: 60px 0; text-align: center; border-top: 1px solid var(--border); }
.share h2 { font-size: 20px; margin-bottom: 20px; font-weight: 650; }
.share__row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.share__btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
}
.share__btn:hover { background: var(--bg-alt); }
.share__dot { width: 9px; height: 9px; border-radius: 50%; }
.share__status { margin-top: 14px; font-size: 14px; color: var(--accent); min-height: 21px; }

/* ---- ad slots ---- */
/* Empty and hidden until the operator switches a slot on; then a quiet,
   clearly labelled box that never looks like part of the product. */

.ad-slot { margin-top: 28px; margin-bottom: 28px; text-align: center; }
.ad-slot[hidden] { display: none; }
.ad-slot__label {
  display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint);
}
.ad-slot iframe {
  display: block; width: 100%; max-width: 970px; height: 120px; margin: 0 auto;
  border: 0; border-radius: 12px; background: transparent;
}
.ad-slot a { display: inline-block; max-width: 100%; border-radius: 12px; overflow: hidden; }
.ad-slot img { display: block; max-width: 100%; height: auto; max-height: 280px; }

/* ---- footer ---- */

.site-footer { padding: 58px 0 34px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer__tagline { max-width: 34ch; font-size: 15px; color: var(--text-dim); margin-top: 12px; }
.footer__col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 12px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
/* 25px tall rows: a finger-sized target (WCAG 2.2 target size) at the same rhythm. */
.footer__col a { display: inline-block; padding: 3px 0; font-size: 15px; color: var(--text-dim); text-decoration: none; }
.footer__col a:hover { color: var(--text); text-decoration: underline; }

.footer__business {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint); line-height: 1.85;
}
.footer__business dl { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 8px 0 0; }
.footer__business dl > div { display: flex; align-items: baseline; gap: 6px; }
.footer__business dt { font-weight: 600; white-space: nowrap; }
.footer__business dd { margin: 0; }
.footer__business a { display: inline-block; padding: 5px 0; }
.footer__rights { margin-top: 18px; }

@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 26px; } }

/* ---- language suggestion banner ---- */

.lang-banner {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 14px;
  max-width: 520px; margin-inline: auto;
  padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 13px; box-shadow: var(--shadow-lg);
  font-size: 15px;
}
.lang-banner[data-show='1'] { display: flex; }
.lang-banner span { flex: 1; }

/* On a PC-width screen these sentences read as one line each; the width caps
   that keep long paragraphs readable would otherwise break them in two. A
   language whose sentence is longer than the column still wraps, balanced. */
@media (min-width: 1024px) {
  .hero__sub,
  .section__head--line,
  .download__note { max-width: none; text-wrap: balance; }
}

/* Korean breaks between words, never inside one: every element, not only
   paragraphs (an h3 once broke "실패합|니다"). overflow-wrap keeps a long
   address or URL from pushing the page sideways. */
:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
