/* Deedy — deedy.co.kr
   System type and system colors, the way the app itself is built: no web
   fonts, no scripts, no pictures other than the app's own screens. */

:root {
  --bg: #ffffff;
  --tile: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --link: #0066cc;
  --accent: #0071e3;
  --pill: #ffffff;
  --pill-text: #1d1d1f;
  --ink: #1d1d1f;
  --ink-text: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shot-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 24px 60px rgba(0, 0, 0, 0.14);
  /* The four boxes, in the system's own colors. */
  --do-first: #ff3b30;
  --schedule: #007aff;
  --delegate: #ff9500;
  --later: #8e8e93;
  --radius: 28px;
  --page: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue",
    "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --tile: #161617;
    --card: #1d1d1f;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: #424245;
    --link: #2997ff;
    --accent: #0a84ff;
    --pill: #2c2c2e;
    --pill-text: #f5f5f7;
    --ink: #f5f5f7;
    --ink-text: #1d1d1f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.5);
    --shot-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- The bar at the top ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 45%, transparent);
}

.nav-in {
  max-width: var(--page);
  height: 48px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.nav nav {
  display: flex;
  gap: 26px;
}

.nav nav a {
  color: var(--text);
  font-size: 13px;
  letter-spacing: -0.01em;
  opacity: 0.82;
}

.nav nav a:hover,
.nav nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
}

/* ---------- The opening: an icon, a name, and two buttons ---------- */

.hero {
  background: var(--tile);
  text-align: center;
  padding: 84px 22px 0;
  overflow: hidden;
}

.hero-icon {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14));
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 88px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.tagline {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.38;
  letter-spacing: -0.012em;
}

.pills {
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 980px;
  background: var(--pill);
  color: var(--pill-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow: var(--shadow);
}

a.pill:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

.pill-ink {
  background: var(--ink);
  color: var(--ink-text);
  box-shadow: none;
}

.pill-quiet {
  cursor: default;
  opacity: 0.92;
}

.fine {
  margin: 16px 0 0;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: -0.005em;
}

.hero-shot {
  max-width: 1060px;
  margin: 56px auto 0;
}

.hero-shot img {
  width: 100%;
  border-radius: 14px 14px 0 0;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-bottom: 0;
  box-shadow: var(--shot-shadow);
}

/* ---------- The four boxes, as four dots ---------- */

.dots {
  display: inline-flex;
  gap: 6px;
  vertical-align: middle;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--later);
}

.dots i:nth-child(1) { background: var(--do-first); }
.dots i:nth-child(2) { background: var(--schedule); }
.dots i:nth-child(3) { background: var(--delegate); }

/* ---------- Tiles ---------- */

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px auto;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 36px 0;
  border-radius: var(--radius);
  background: var(--tile);
  text-align: center;
  overflow: hidden;
}

.tile.wide {
  grid-column: 1 / -1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.tile h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.028em;
}

.tile p.say {
  max-width: 430px;
  margin: 12px auto 0;
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.4;
  letter-spacing: -0.012em;
}

.more {
  margin: 14px 0 0;
  font-size: 17px;
}

.more a::after {
  content: " ›";
}

/* A screen rises from the bottom edge of its tile and is cut off there, so
   every tile is the same height whatever the screen's own length. */
.shot {
  width: min(74%, 330px);
  height: 470px;
  margin: auto auto 0;
  padding-top: 40px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  border-radius: 38px 38px 0 0;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-bottom: 0;
  box-shadow: var(--shot-shadow);
}

/* A wide tile: words on one side, the Mac on the other. */

.tile.wide {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  text-align: left;
}

.tile.wide .words {
  padding: 64px 0 64px 64px;
}

.tile.wide p.say {
  margin-left: 0;
}

.keys {
  display: inline-block;
  padding: 1px 8px 2px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
}

.mac-shots {
  padding: 48px 48px 48px 24px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.mac-shots img {
  border-radius: 14px;
  box-shadow: var(--shot-shadow);
}

.mac-shots .menubar {
  width: min(100%, 350px);
}

.mac-shots .quickadd {
  width: min(100%, 520px);
}

/* Words only. */

.tile.plain {
  min-height: 0;
  padding: 56px 36px;
  justify-content: center;
}

/* ---------- Three plain promises ---------- */

.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px auto;
}

.promise {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--tile);
}

.promise .mark {
  font-size: 30px;
  line-height: 1;
}

.promise h3 {
  margin: 14px 0 6px;
  font-size: 21px;
  line-height: 1.19;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promise p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ---------- The closing line ---------- */

.closing {
  padding: 96px 22px 104px;
  text-align: center;
}

.closing h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.closing p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 19px;
}

/* ---------- The foot of every page ---------- */

.foot {
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  background: var(--tile);
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.003em;
}

.foot-in {
  max-width: var(--page);
  margin: 0 auto;
  padding: 22px 22px 30px;
}

.foot p {
  margin: 0 0 10px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.foot a {
  color: var(--text-2);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* ---------- Pages of words: support and privacy ---------- */

.page-head {
  background: var(--tile);
  padding: 72px 22px 56px;
  text-align: center;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-head p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--text-2);
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: -0.012em;
}

.page-head .pills {
  margin-top: 26px;
}

.page-head p.fine {
  max-width: 460px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* A page that is only its heading fills the screen under the bar. */
.page-head.alone {
  min-height: calc(100vh - 49px);
  min-height: calc(100svh - 49px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 88px;
}

.prose h2 {
  margin: 44px 0 10px;
  font-size: 28px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.024em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text);
  font-size: 17px;
  line-height: 1.53;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.prose li {
  margin: 0 0 6px;
}

.prose .note {
  color: var(--text-2);
  font-size: 14px;
}

.summary {
  margin: 0 0 40px;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--tile);
}

.summary p:last-child {
  margin-bottom: 0;
}

/* Questions that open. */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  color: var(--text-3);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 0 20px;
}

.faq .answer p,
.faq .answer li {
  color: var(--text-2);
}

/* ---------- Narrower screens ---------- */

@media (max-width: 900px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    min-height: 0;
    padding: 48px 26px 0;
  }

  .tile.wide {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .tile.wide .words {
    padding: 48px 26px 0;
  }

  .tile.wide p.say {
    margin-left: auto;
  }

  .mac-shots {
    padding: 36px 26px 44px;
  }

  .tile.plain {
    padding: 48px 26px;
  }

  .promises {
    grid-template-columns: minmax(0, 1fr);
  }

  .shot {
    width: min(78%, 310px);
    height: 440px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 60px;
  }

  .hero-icon {
    width: 96px;
    height: 96px;
  }

  .hero-shot {
    margin-top: 44px;
  }

  .hero-shot img {
    border-radius: 9px 9px 0 0;
  }

  .nav nav {
    gap: 20px;
  }

  .closing {
    padding: 72px 22px 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
