/* temabee LP (その92). Colors as the app (その91): white, teal for what can be pressed, the icon's honey yellow for the
   one button pressed most (black words). The device's own fonts; nothing from outside. */
:root {
  --teal: #0B6268;
  --teal-ground: #F2F6F6;
  --line: #C9D4D4;
  --honey: #FBC204;
  --honey-trail: #B07800;
  --ink: #1A1A1A;
  --sub: #4A5556;
  --width: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
  font-feature-settings: "palt";
}

a { color: var(--teal); }

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

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

/* The logo: the yellow bee flying off to the upper right of 「temabee」, a dotted trail behind it */
.logo { display: inline-flex; align-items: flex-end; text-decoration: none; color: var(--ink); position: relative; padding-right: 46px; }
.logo-word { font-weight: 800; font-size: 24px; letter-spacing: .01em; line-height: 1; }
.logo-trail { position: absolute; right: 18px; bottom: 12px; width: 34px; height: 26px; }
.logo-trail path { fill: none; stroke: var(--honey-trail); stroke-width: 2; stroke-dasharray: 2 4; stroke-linecap: round; }
.logo-bee { position: absolute; right: 0; top: -20px; width: 36px; transform: rotate(-12deg); }
.footer .logo { color: #fff; }
.footer .logo-trail path { stroke: var(--honey); }

/* The bar at the top */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; padding-top: 10px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a.text { color: var(--ink); text-decoration: none; }
.top nav a.text:hover { color: var(--teal); }

/* Pill buttons (smallish: 本人 10/19) */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap;
}
.pill.small { font-size: 14px; height: 36px; padding: 0 16px; }
.pill.mid { font-size: 15px; height: 44px; padding: 0 22px; }
.pill.honey { background: var(--honey); color: var(--ink); }
.pill.honey:hover { background: #E8B300; }
.pill.outline { background: #fff; color: var(--teal); border: 1.5px solid var(--teal); }
.pill.outline:hover { background: var(--teal-ground); }

/* The head of the page */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.tag {
  display: inline-block; font-size: 18px; font-weight: 700; color: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px; padding: 2px 16px; margin: 0 0 20px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.35; margin: 0 0 20px; letter-spacing: .01em; }
.hero .lead { font-size: 17px; color: var(--sub); margin: 0 0 28px; }
.hero .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero .when { font-size: 14px; color: var(--sub); margin: 0; }
.hero .when span + span { margin-left: 1em; }

/* A phone's frame around a screenshot, with the bee by it */
.phone { position: relative; justify-self: center; width: min(300px, 80vw); }
.phone .frame {
  border-radius: 44px; padding: 10px; background: #111;
  box-shadow: 0 24px 60px rgba(11, 98, 104, .18);
}
.phone .frame img { display: block; border-radius: 34px; width: 100%; }
.phone .bee { position: absolute; width: 84px; right: -34px; top: -28px; transform: rotate(-12deg); }

/* Thin lines between parts */
.rule { max-width: var(--width); margin: 0 auto; border: 0; border-top: 1px solid var(--line); }

/* Headings with a highlighter line under (the lower 45%) */
.marker {
  display: inline; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.5; margin: 0;
  background: linear-gradient(transparent 55%, var(--honey) 55%);
  padding: 0 .1em;
}
.part-head { text-align: center; margin: 0 0 40px; }

/* What it does */
.can { padding: 72px 0 32px; }
.item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; }
.item + .rule { margin: 0; }
.item.flip .text { order: 2; }
.item.flip .shot { order: 1; }
.item .num {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--teal);
  background: var(--teal-ground); border-radius: 999px; padding: 2px 14px; margin-bottom: 12px;
}
.item h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.45; margin: 0 0 14px; }
.item p { font-size: 16px; color: var(--sub); margin: 0; }
.item .shot { justify-self: center; width: min(280px, 72vw); }
.item .shot .frame { border-radius: 40px; padding: 9px; background: #111; box-shadow: 0 18px 44px rgba(11, 98, 104, .14); }
.item .shot img { display: block; border-radius: 31px; width: 100%; }

/* When it comes out */
.plan { background: var(--teal-ground); padding: 72px 0 80px; }
.plan .box {
  max-width: 640px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 36px 32px; text-align: center;
  border: 1px solid var(--line);
}
.plan .date { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; color: var(--teal); margin: 0 0 12px; }
.plan p { margin: 4px 0; }
.plan .ask { margin-top: 20px; color: var(--sub); }

/* The foot of the page */
.footer { background: #111; color: #fff; padding: 48px 0 40px; text-align: center; }
.footer .run { margin: 22px 0 18px; font-size: 14px; color: #D8DEDE; }
.footer .run a { color: #fff; }
.footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; }
.footer .links a { color: #D8DEDE; text-decoration: none; }
.footer .links a:hover { color: #fff; text-decoration: underline; }
.footer small { display: block; margin-top: 22px; color: #9AA5A5; }

/* Pages of text (privacy policy, support) */
.doc .wrap { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc p, .doc li { font-size: 16px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc .note { background: var(--teal-ground); border-radius: 12px; padding: 14px 18px; color: var(--sub); font-size: 14px; }
/* 「［ ］」: still to be decided — seen at a glance */
.todo { background: #FFF1B8; outline: 1px dashed var(--honey-trail); border-radius: 4px; padding: 0 4px; }
.doc .mail { font-size: 20px; font-weight: 700; }

/* その138: 日本語 / English — on the phone's width too */
.top nav .lang { font-size: 14px; color: var(--sub); white-space: nowrap; }
.top nav .lang a { color: var(--ink); text-decoration: none; }
.top nav .lang a:hover { color: var(--teal); }
.top nav .lang b { color: var(--ink); font-weight: 700; }

/* A phone's width */
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .top .wrap { gap: 12px; height: 60px; }
  .top nav { gap: 12px; }
  .top nav a.text { display: none; }
  .logo-word { font-size: 21px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 48px; }
  .tag { font-size: 16px; }
  .hero .lead { font-size: 16px; }
  .item, .item.flip { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .item.flip .text { order: 1; }
  .item.flip .shot { order: 2; }
  .can { padding-top: 48px; }
  .plan { padding: 48px 0 56px; }
  .plan .box { padding: 28px 18px; }
}
